keith@imagen.UUCP (Keith Rich) (08/09/88)
I'm trying to get Sun's PC-NFS to work with Apollo's NFS and I have a small problem. PCNFSD is the service which authenticates a user - it is effectively a login from the PC to the Apollo file server. PCNFSD contains the code: p = getpwnam(username); if (strcmp(p->pw_passwd, crypt(password, p->pw_passwd))) ... This code is trying to check the password given on the PC against the password known to the Apollo server (in encrypted form). My problem is that the Apollo version of getpwnam always returns the null string as the encrypted password. My question is: what can I call instead of getpwnam to get the encrypted password. It's pretty clear to me that this must be possible, but my search through the Apollo documentation has been fruitless since I don't really know where to look.