[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: id: cannot find name for user ID 12345

On Tue, Jan 28, 2003 at 06:59:23PM +0100, Stephane Bortzmeyer wrote:
> > id: cannot find name for user ID 12345
> ...
> > My question is how do I trouble shoot this? Is it a problem with PAM on the client?
> No, it looks like a NSS problem. What is in NSS configuration files
> (somewhere near /etc/nss_ldap.conf and /etc/nsswitch.conf) ?  Does NSS
> know it is supposed to use LDAP?

Thanks for the reply. I believe that NSS is using LDAP. Here are my (3) config files:

passwd:     files ldap
shadow:     files ldap
group:      files ldap
hosts:      files dns
bootparams: nisplus [NOTFOUND=return] files
ethers:     files
netmasks:   files
networks:   files
protocols:  files ldap
rpc:        files
services:   files ldap
netgroup:   files ldap
publickey:  nisplus
automount:  files ldap
aliases:    files nisplus

host myldapserver
base dc=my,dc=ldap,dc=dir,dc=gov
pam_password md5
ssl start_tls
tls_cert /usr/share/ssl/certs/slapd_cert.pem
tls_key /usr/share/ssl/certs/slapd_key.pem


HOST myldapserver
BASE dc=my,dc=ldap,dc=dir,dc=gov



Alex Clark           Scientific & Statistical Computing Core
Division of Intramural Research Programs NIMH/NIH
Building 10 Room 2D42 10 Center Drive Bethesda MD 20892-1148
Phone: 301-451-6233   Fax: 301-402-1370   Cell: 410-340-6010
Email: aclark@codon.nih.gov    Web: http://afni.nimh.nih.gov