Fix client-side ManageDIT control

This commit is contained in:
Kurt Zeilenga 2005-05-13 18:35:55 +00:00
parent 002f7ca062
commit edac9abcfe
3 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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 );
}

View File

@ -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;