From: Kurt Zeilenga Date: Fri, 13 May 2005 18:35:55 +0000 (+0000) Subject: Fix client-side ManageDIT control X-Git-Tag: OPENLDAP_AC_BP~641 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=edac9abcfe3db9f47545f453d6f51e465351d236;p=openldap Fix client-side ManageDIT control --- diff --git a/clients/tools/common.h b/clients/tools/common.h index dad3108c02..e81d2c14e9 100644 --- a/clients/tools/common.h +++ b/clients/tools/common.h @@ -45,6 +45,7 @@ extern int use_tls; extern char *assertion; extern char *authzid; +extern int manageDIT; extern int manageDSAit; extern int noop; extern int ppolicy; diff --git a/clients/tools/ldapdelete.c b/clients/tools/ldapdelete.c index 526cd25cd7..a9ca659292 100644 --- a/clients/tools/ldapdelete.c +++ b/clients/tools/ldapdelete.c @@ -170,7 +170,7 @@ main( int argc, char **argv ) tool_bind( ld ); - if ( assertion || authzid || manageDSAit || noop ) { + if ( assertion || authzid || manageDIT || manageDSAit || noop ) { tool_server_controls( ld, NULL, 0 ); } diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 60fffe3cd3..3d80b593ab 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -310,11 +310,11 @@ main( int argc, char **argv ) } #endif - if ( assertion || authzid || manageDSAit || noop || preread || postread + if ( assertion || authzid || manageDIT || manageDSAit || noop #ifdef LDAP_GROUP_TRANSACTION || txn #endif - ) + || preread || postread ) { int err; int i = 0;