mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-17 17:48:20 -05:00
Fix modrdn
This commit is contained in:
parent
ae0a17fa4e
commit
c3323c31d5
3 changed files with 5 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ passwd_back_search(
|
|||
vals[0] = &val;
|
||||
vals[1] = NULL;
|
||||
|
||||
matched = base;
|
||||
matched = (char *) base;
|
||||
|
||||
if( scope != LDAP_SCOPE_ONELEVEL ) {
|
||||
char *type;
|
||||
|
|
|
|||
|
|
@ -363,6 +363,9 @@ do_modrdn(
|
|||
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/* deref suffix alias if appropriate */
|
||||
suffix_alias( be, nnewSuperior );
|
||||
}
|
||||
|
||||
/* deref suffix alias if appropriate */
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ replog(
|
|||
case LDAP_REQ_MODRDN:
|
||||
moddn = change;
|
||||
fprintf( fp, "changetype: modrdn\n" );
|
||||
fprintf( fp, "newrdn: %s\n", moddn->newrdn );
|
||||
fprintf( fp, "newrdn: %s\n", moddn->newrdn->bv_val );
|
||||
fprintf( fp, "deleteoldrdn: %d\n", moddn->deloldrdn ? 1 : 0 );
|
||||
if( moddn->newsup != NULL ) {
|
||||
fprintf( fp, "newsuperior: %s\n", moddn->newsup->bv_val );
|
||||
|
|
|
|||
Loading…
Reference in a new issue