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

Re: How to test authentication for central login


"cody wang" <codywang@clunet.edu> writes:

> LDAP experts,
> Assuming you have all the LDAP authentication setup already
> (pam_ldap/nss_ldap without  Kerberso), what is the best way to test
> authentication for central login? How do you know it's working? Does
> anyone has a web site or reference site? 

Assuming your are running a Linux flavour
change your /etc/nsswitch.conf to

#passwd: files ldap
passwd: ldap
#group: files ldap
group: ldap

/usr/bin/getent passwd
/usr/bin/getent group

will show you if it works.

Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de