##// END OF EJS Templates
auth: don't break hashing in case of user with empty password....
auth: don't break hashing in case of user with empty password. In some cases such as LDAP user created via external scripts users might set the passwords to empty. The hashing uses the md5(password_hash) to store reference to detect password changes and forbid using the same password. In case of pure LDAP users this is not valid, and we shouldn't raise Errors in such case. This change makes it work for empty passwords now.

File last commit:

r1:854a839a default
r2203:8a18c3c3 default
Show More
ldap-configuration-example.rst
13 lines | 480 B | text/x-rst | RstLexer
/ docs / auth / ldap-configuration-example.rst
LDAP Host hostname1,hostname2 # testing here Port port Account: uid=admin,cn=users,cn=accounts,dc=localdomain,dc=tld Password: userpassword #Testing this here Connection Security LDAPS Certificate Checks NEVER Base DN cn=users,cn=accounts,dc=localdomain,dc=tld LDAP Search Filter (objectClass=person) LDAP Search Scope SUBTREE Login Attribute uid First Name Attribute givenname Last Name Attribute sn Email Attribute mail