Commit d631a3fd authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix comments and entry lock leak.

parent effaddf2
......@@ -167,8 +167,7 @@ ldbm_back_bind(
}
if ( is_entry_referral( e ) ) {
/* parent is a referral, don't allow add */
/* parent is an alias, don't allow add */
/* entry is a referral, don't allow bind */
struct berval **refs = get_entry_referrals( be,
conn, op, e );
......
......@@ -169,7 +169,7 @@ dn2entry_rw(
rw ? "w" : "r", dn, 0);
if( matched != NULL ) {
/* caller care about match */
/* caller cares about match */
*matched = NULL;
}
......@@ -191,7 +191,7 @@ dn2entry_rw(
if( matched == NULL ) return NULL;
/* entry does not exist - see how much of the dn does exist */
/* dn_parent checks runs NULL if dn is suffix */
/* dn_parent checks returns NULL if dn is suffix */
if ( (pdn = dn_parent( be, dn )) != NULL ) {
/* get entry with reader lock */
if ( (e = dn2entry_r( be, pdn, matched )) != NULL ) {
......
......@@ -118,8 +118,8 @@ ldbm_back_group(
}
Debug( LDAP_DEBUG_ACL,
"<= ldbm_back_group: found objectClass and %s\n",
groupattrName, 0, 0 );
"<= ldbm_back_group: found objectClass %s and %s\n",
objectclassValue, groupattrName, 0 );
bv.bv_val = op_ndn;
bv.bv_len = strlen( op_ndn );
......
......@@ -144,6 +144,7 @@ ldbm_back_search(
NULL, NULL, NULL, NULL, 0 );
rc = 1;
goto done;
}
for ( id = idl_firstid( candidates ); id != NOID;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment