Commit 252a7dbb authored by Anton Bobrov's avatar Anton Bobrov Committed by Quanah Gibson-Mount
Browse files

ITS#9737 ldapdelete unable to prune LDAP subentries

parent e29ba72c
Pipeline #4215 passed with stage
in 47 minutes and 9 seconds
......@@ -279,8 +279,13 @@ retry:;
}
rc = ldap_parse_result( ld, res, &code, &matcheddn, &text, &refs, &ctrls, 1 );
if( rc != LDAP_SUCCESS ) {
fprintf( stderr, "%s: ldap_parse_result: %s (%d)\n",
prog, ldap_err2string( rc ), rc );
return rc;
}
switch ( rc ) {
switch ( code ) {
case LDAP_SUCCESS:
break;
......@@ -292,9 +297,7 @@ retry:;
/* fallthru */
default:
fprintf( stderr, "%s: ldap_parse_result: %s (%d)\n",
prog, ldap_err2string( rc ), rc );
return rc;
break;
}
if( code != LDAP_SUCCESS ) {
......
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