[Fedora-directory-commits] ldapserver/ldap/servers/slapd add.c, 1.8, 1.9

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Tue Nov 7 19:59:04 UTC 2006


Author: nkinder

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31377

Modified Files:
	add.c 
Log Message:
Resolves: 214463
Summary: Corrected ACI checking for userPassword during an add operation.



Index: add.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/add.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- add.c	31 Aug 2006 22:52:07 -0000	1.8
+++ add.c	7 Nov 2006 19:59:02 -0000	1.9
@@ -484,9 +484,9 @@
 
 			/* Check ACI before checking password syntax */
 			if ( (err = slapi_access_allowed(pb, e, SLAPI_USERPWD_ATTR, NULL,
-                                     SLAPI_ACL_WRITE)) != LDAP_SUCCESS) {
+                                     SLAPI_ACL_ADD)) != LDAP_SUCCESS) {
                                 send_ldap_result(pb, err, NULL,
-                                              "Insufficient 'write' privilege to the "
+                                              "Insufficient 'add' privilege to the "
                                               "'userPassword' attribute", 0, NULL);
                                 goto done;
 			}




More information about the Fedora-directory-commits mailing list