Browse Source

Resolves: #484311
Summary: When password policy is on, replacing userpassword starting with
{clear} fails
Description: #484311 is not a bug; this change is just to improve the error
message.

Noriko Hosoi 17 years ago
parent
commit
fb8254ac98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldap/servers/slapd/pw.c

+ 1 - 1
ldap/servers/slapd/pw.c

@@ -779,7 +779,7 @@ check_pw_syntax_ext ( Slapi_PBlock *pb, const Slapi_DN *sdn, Slapi_Value **vals,
 				if ((!is_replication && ((internal_op && pb->pb_conn && !slapi_dn_isroot(pb->pb_conn->c_dn)) ||
 					(!internal_op && !pb->pb_requestor_isroot)))) {
 					PR_snprintf( errormsg, BUFSIZ,
-						"invalid password syntax - pre-hashed passwords are not allowed");
+						"invalid password syntax - passwords with storage scheme are not allowed");
 					if ( pwresponse_req == 1 ) {
 						slapi_pwpolicy_make_response_control ( pb, -1, -1,
 								LDAP_PWPOLICY_INVALIDPWDSYNTAX );