I have a working LDAP installation, and I am trying to get Samba to use it as the back end. However, it is giving me the error:

failed to bind to server with dn= cn=Master,dc=domain,dc=com Error: Invalid credentials

Generally I would think this would be a password issue, however, I am using plaintext passwords at the moment, and have set the password for samba using 'smbpasswd -w'. I have pam_ldap installed and configured (I think - not sure how to test). Is there some set of file permissions required between the two daemons?

Any help is appreciated.