Help, smbldap-tools error
I've been trying to setup Samba to work as a primary domain controller with ldap as its password backend. So far its been ok, got smbldap-tools setup and samba with ldap works. I can go into windows and tell it to join my domain and then it asks for a username and password. Then it dies with an error. checking the samba log, I can see that something is going on with smbldap_tools.pm I get this error:
failed to perform search; Broken pipe at /usr/sbin//smbldap_tools.pm line 362, <DATA> line 283.
Error looking for next uid at /usr/sbin//smbldap_tools.pm line 993, <DATA> line 283.
I don't know how to fix this, any ideas?
PS: Windows error says "The user name could not be found" Which isn't true, samba logs says I've logged in correctly and then dies on the above error.