mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fix client-side ManageDIT control
This commit is contained in:
parent
002f7ca062
commit
edac9abcfe
@ -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;
|
||||
|
@ -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 );
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user