[Fedora-directory-commits] ldapserver/ldap/servers/slapd pw.c, 1.22, 1.23

Noriko Hosoi nhosoi at fedoraproject.org
Fri Feb 6 22:39:53 UTC 2009


Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8744

Modified Files:
	pw.c 
Log Message:
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.



Index: pw.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/pw.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- pw.c	21 Jan 2009 00:00:32 -0000	1.22
+++ pw.c	6 Feb 2009 22:39:50 -0000	1.23
@@ -779,7 +779,7 @@
 				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 );




More information about the Fedora-directory-commits mailing list