My first time trying to marry LDAP as a backend to Samba. I'm following the instructions at: this site and I'm stumbling when I get to the part 5 with the following error: "ldap_bind: Invalid credentials (49)" Googling has pointed me towards the slapd.conf file but I don't have one in the /etc/ldap directory or anywhere on disk despite having installed ldap twice and running a dpkg-reconfigure twice.
Has the configuration file for slapd been changed recently?
Ubuntu – getting a Ldap_bind: Invalid credentials (49) when adding a schema to ldap
configurationopenldapUbuntu
Related Topic
- Openldap 2.4.11 – bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30989)
- Linux – ldap_bind: Invalid credentials (49) using openLDAP
- Ldap – Slaptest for slapd.conf fails due to an invalid path
invalid DN 21 (Invalid syntax) on Converting slapd.conf OpenLdap - Linux – LDAP+SAMBA login issues
Best Answer
LDAP 49 is basically failed to connect for credential reasons. Could be a bad DN. Could be a bad password. Could be a locked account, and so on.