On Wed, 5 Sep 2001 at 23:16, Orlando Andico wrote:
> you can get nss_ldap to work fairly easily (assuming you can connect
> and query), see the /etc/ldap.conf file for nss_ldap

I got libnss-ldap. The packaged version of Debian uses
/etc/libnss-ldap.conf so I modified that. Aside from stuff like the host
and base which debconf already set up for me (asking me for the data), I
set up the following:

 o rootbinddn (with the password in /etc/ldap.secret perms 0600)
 o nss_base_passwd ou=People,dc=leathercollection,dc=ph?one
 o nss_base_shadow ou=People,dc=leathercollection,dc=ph?one

Then I modified /etc/nsswitch.conf so that passwd and shadow use ldap. I
didn't meddle with the /etc/pam.d/login first (which is back to using
pam_unix.so). I can't log in, though. Because everything gets uid=0, as
per the logs. Also when doing an ls on an NFS-mounted /home, the uids
don't get mapped to usernames that are already in LDAP (not in the local
/etc/passwd, though).

Hmm ... :(

Looks like I've got LDAP set up okay but somehow am missing something with
both nss_ldap and pam_ldap. :(

 --> Jijo

--
Federico Sevilla III  :: [EMAIL PROTECTED]
Network Administrator :: The Leather Collection, Inc.
GnuPG Key: <http://jijo.leathercollection.ph/jijo.gpg>

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to