simple LDAP problem :)
I am trying to set up slapd so that it provides the same functions as NIS(same uids across machines, same passwords but that isn't important as they use publickey anyway, network is trusted) and I can sucessfully get the user list with ldapsearch, using:
ldapsearch -x -b "dc=testserver"
This dumps the passwd, as intended.
However I can't use ssh to get into the machine. There is the following error message:
pam_ldap: error trying to bind as user "uid=user01,dc=testserver" (Server is unwilling to perform)
The following slapd.conf is being used:
...(default things) ...
access to * by * read
passwd: ldap compat
group: ldap compat
shadow: ldap compat
Why is the server not willing to perform? I should only get that error if I would try to write. libnss_ldap is installed.
Server is firewalled, but not on that interface.
SSH is chrooted using libpam_chroot, however that isn't the problem as it doesn't get to the session part, where the chroot is done.
LDAP version is 3.
Although I have created and used successfully publickey auth in localhost I can't login to the NFS mounted home directory of user, as it asks for a password and fails with the above message.