mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
Fix modrdn handling
This commit is contained in:
parent
b4c6774bf6
commit
5cfb3f24a5
@ -432,7 +432,7 @@ op_ldap_modrdn(
|
|||||||
/*
|
/*
|
||||||
* Punt if we don't have all the args.
|
* Punt if we don't have all the args.
|
||||||
*/
|
*/
|
||||||
if ( GOT_ALL_MODDN(state) ) {
|
if ( !GOT_ALL_MODDN(state) ) {
|
||||||
Debug( LDAP_DEBUG_ANY, "Error: op_ldap_modrdn: missing arguments\n",
|
Debug( LDAP_DEBUG_ANY, "Error: op_ldap_modrdn: missing arguments\n",
|
||||||
0, 0, 0 );
|
0, 0, 0 );
|
||||||
*errmsg = "Missing argument: requires \"newrdn\" and \"deleteoldrdn\"";
|
*errmsg = "Missing argument: requires \"newrdn\" and \"deleteoldrdn\"";
|
||||||
|
Loading…
Reference in New Issue
Block a user