[Fedora-directory-commits] ldapserver/ldap/servers/plugins/cos cos_cache.c, 1.10, 1.11

Noriko Hosoi nhosoi at fedoraproject.org
Mon Feb 16 17:27:00 UTC 2009


Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/cos
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1895

Modified Files:
	cos_cache.c 
Log Message:
Resolves: #476261
Summary: Compare operation in nsaccountlock returns error
Description: Compare function for the CoS attribute cos_cache_cmp_attr failed
to set the result.



Index: cos_cache.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/cos/cos_cache.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- cos_cache.c	8 Jan 2009 23:11:43 -0000	1.10
+++ cos_cache.c	16 Feb 2009 17:26:57 -0000	1.11
@@ -3088,6 +3088,7 @@
 
 	while( pAttrVal )
 	{
+		ret = 1; /* CoS attribute exists; return 1 */
 		if(!slapi_utf8casecmp((unsigned char*)the_cmp, (unsigned char*)pAttrVal->val))
 		{
 			/* compare match */




More information about the Fedora-directory-commits mailing list