Trouble with nss|pam|openldap

Jason Lixfeld jason+lists.freebsd-questions at lixfeld.ca
Wed May 24 08:24:41 PDT 2006


> I don't seem to have this problem:
>
> apowers at DIT793:~$finger apowers
> finger: apowers: no such user
> apowers at DIT793:~$id apowers
> uid=1133(apowers) gid=1133(apowers) groups=1133(apowers), 0(wheel)
> apowers at DIT793:~$ssh localhost
> Password:
>
> FreeBSD 6.1-RELEASE (SMP) #0: Sun May  7 04:42:56 UTC 2006
> apowers at DIT793:~$id apowers
> uid=1133(apowers) gid=1133(apowers) groups=1133(apowers), 0(wheel)
> apowers at DIT793:~$pwd
> /home/apowers
> apowers at DIT793:~$ls -al
> total 53216
> <snip>

What version of OpenLDAP/pam_ldap/nss_ldap are you running?  I  
believe it's either a bug in OpenLDAP or NSS, can't remember which,  
but I do remember reading about something extremely similar to my  
issue out there.  Need to refresh.

> What does your nsswitch.conf look like?
> I have:
> #nsswitch.conf
> group: files ldap
> hosts: files dns
> networks: files
> passwd: files ldap
> shells: files

Mine is the same.

On another note, I just tested pam_mkhomedir...  sweeeeeeet!

>
> -- 
> --
> Perfection is just a word I use occasionally with mustard.
> --Atom Powers--
>



More information about the freebsd-questions mailing list