Tag 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. However, changing the password was a little bit more problematic. I also tried with: … 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