Category Archives: LDAP

ldappasswd and “ldap_sasl_interactive_bind_s: Invalid credentials (49)” error message

Some context might be useful. We have an openldap instance to manage users. We also have phpLDAPadmin, but that’s not the point. The point is that I want to add/edit an user from command line. Adding a user it not a problem. [codesyntax lang=”bash”] ldapadduser john.doe users Warning : using command-line passwords, ldapscripts may not be … Continue reading ldappasswd and “ldap_sasl_interactive_bind_s: Invalid credentials (49)” error message

Enable LDAP authentication in Apache

Assuming you have a LDAP server somewhere and you don’t want to authenticate users via htpasswd file anymore… I mean, having all your users in one place is a good thing – it’s debatable, but in general is a good thing, right? Now, the technical part… My LDAP structure is like this: – groups: cn=group,ou=groups,dc=example,dc=com … Continue reading Enable LDAP authentication in Apache