+libnss-afs (2.04) unstable; urgency=medium
+
+ * Update for changes in libopenafs, 1.6.18 is minimum required version now
+ * Update packaging for Debian Stretch
+
+ -- Clinton Ebadi <clinton@unknownlamer.org> Sat, 07 Apr 2018 16:35:12 -0400
+
libnss-afs (2.03+2) unstable; urgency=medium
* Copy to stable
Section: libs
Priority: extra
Maintainer: Adam Megacz <megacz@hcoop.net>
-Build-Depends: debhelper (>= 4.0.0), libopenafs-dev (>= 1.6.1),
+Build-Depends: debhelper (>= 10.0.0), libopenafs-dev (>= 1.6.18),
libc6-dev (>= 2.3.6), libkrb5-dev (>= 1.8)
Standards-Version: 3.7.2
#include <afs/param.h>
#include <afs/ptclient.h>
#include <afs/pterror.h>
+#include <afs/ptuser.h>
#include <afs/stds.h>
#define HOMEDIR_AUTO 0
char homedirs_method=0;
char shells_method=0;
+int init_afs ();
+
/**
* The cpstr() function copies a null-terminated string from str*
* (the first argument) into buf and updates both buf and buflen. If
lnames.namelist_val = 0;
lnames.namelist_len = 0;
- if (ubik_Call(PR_IDToName,pruclient,0,&lid,&lnames) != PRSUCCESS) {
+ if (ubik_PR_IDToName(pruclient,0,&lid,&lnames) != PRSUCCESS) {
perror("ubik_Call() in ptsid2name() failed\n");
pthread_mutex_unlock(&mutex);
return NSS_STATUS_UNAVAIL;
strncpy(uname, name, MAXUSERNAMELEN);
lnames.namelist_len = 1;
- if (ubik_Call(PR_NameToID,pruclient,0,&lnames,&lid) != PRSUCCESS) {
+ if (ubik_PR_NameToID(pruclient,0,&lnames,&lid) != PRSUCCESS) {
perror("ubik_Call() in ptsname2id() failed\n");
pthread_mutex_unlock(&mutex);
return NSS_STATUS_UNAVAIL;