Browse Source

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.

Noriko Hosoi 17 years ago
parent
commit
90b5a17a3e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ldap/servers/plugins/cos/cos_cache.c

+ 1 - 0
ldap/servers/plugins/cos/cos_cache.c

@@ -3088,6 +3088,7 @@ static int cos_cache_cmp_attr(cosAttributes *pAttr, Slapi_Value *test_this, int
 
 	while( pAttrVal )
 	{
+		ret = 1; /* CoS attribute exists; return 1 */
 		if(!slapi_utf8casecmp((unsigned char*)the_cmp, (unsigned char*)pAttrVal->val))
 		{
 			/* compare match */