diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2009-02-16 17:26:57 +0000 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2009-02-16 17:26:57 +0000 |
commit | 90b5a17a3e1c8d26717671086b863779c86a880a (patch) | |
tree | a7c3b526badaf89dc0d87b6cb5be10c023eddfdc | |
parent | 922b3d85f45362fb1de3bd35bd329cfd4c260500 (diff) | |
download | ds-90b5a17a3e1c8d26717671086b863779c86a880a.tar.gz ds-90b5a17a3e1c8d26717671086b863779c86a880a.tar.xz ds-90b5a17a3e1c8d26717671086b863779c86a880a.zip |
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.
-rw-r--r-- | ldap/servers/plugins/cos/cos_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/servers/plugins/cos/cos_cache.c b/ldap/servers/plugins/cos/cos_cache.c index 29a0d0d7..b62e63b1 100644 --- a/ldap/servers/plugins/cos/cos_cache.c +++ b/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 */ |