Hi everyone, After the recent discussions about LDAP, I thought I would give setting up openldap a go over the weekend. I managed to install it and get it set up, and I can now log in from a debian client using the account/password stored in the ldap server. I installed the libnss-ldap deb package on the client and setup ldap for the passwd, group and shadow settings in /etc/nsswitch.conf. For the moment I'm not using nscd.
However, its now when I've run into trouble. I have an ldap user, rob2, uid 1502 in the ldap server, and a directory owned by them in the file system. As root I can do the following: phobos:/mnt# ls -ld /home/rob2 drwxr-xr-x 11 rob2 1502 512 Jul 4 2001 /home/rob2 phobos:/mnt# (don't worry about the gid, I haven't set up an ldap group yet). This information is coming from the ldap server, and I can see the connection in the ldap server log. But when I try it as a local, non-privileged user (local = exists in /etc/passwd), it doesn't resolve: rob@phobos:~$ ls -ld /home/rob2 drwxr-xr-x 11 1502 1502 512 Jul 4 2001 /home/rob2 rob@phobos:~$ And, I can log in as my rob2 user, using the password stored in the ldap server, but names dont' resolve either: I have no name!@phobos:~$ ls -ld /home/rob2 drwxr-xr-x 11 1502 1502 512 Jul 4 2001 /home/rob2 I have no name!@phobos:~$ In the last two cases, the ls -l does not even try and connect to the ldap server (according to the server logs). I'm not using SSL/TLS yet, and the ACLs are wide open at the moment. Has anyone seen this sort of behaviour before, or can give me any ideas as to what's wrong? Regards, Robert. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
