[Date Prev][Date Next]
(ITS#8293) ldappasswd error text
Full_Name: Sam Darwin
OS: Ubuntu 14.04
Submission from: (NULL) (22.214.171.124)
Showing informative error messages is very important, especially with complex
software. In this case, the error was misleading, so maybe it can be
$ ldappasswd -D "uid=exampleuser,ou=users,dc=example,dc=net"h h ldap01 -W -e
Enter LDAP Password:
Result: Constraint violation (19)
Additional info: Password fails quality checking policy
control: 126.96.36.199.188.8.131.52.184.108.40.206 false MAOBAQY=
ppolicy: error=6 (Password is too short for policy)
It looks like the password is too short, right?
Actually, the problem is completely different, which I discovered after some
-S "uid=exampleuser,ou=users,dc=example,dc=net" should also be added to that
So, the real error was either that no password at all had been provided, or no
user had been provided, or both. It had not even requested a new password.
The new password was not too short, it was non-existent, which is something else
So, my request is to make the error reporting more sophisticated here, and any
place else that is analogous to this case. make the answer a bit more obvious.