From: Kurt Zeilenga Date: Tue, 9 Oct 2001 18:53:22 +0000 (+0000) Subject: Use non-critical ManageDsaIT control. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~980 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cdc7c44d80ed2c803502ad99a072719d1f63a2e4;p=openldap Use non-critical ManageDsaIT control. --- diff --git a/servers/slurpd/ldap_op.c b/servers/slurpd/ldap_op.c index d3a5a8ee54..419a5247f9 100644 --- a/servers/slurpd/ldap_op.c +++ b/servers/slurpd/ldap_op.c @@ -784,13 +784,13 @@ do_bind( c.ldctl_oid = LDAP_CONTROL_MANAGEDSAIT; c.ldctl_value.bv_val = NULL; c.ldctl_value.bv_len = 0; - c.ldctl_iscritical = 1; + c.ldctl_iscritical = 0; err = ldap_set_option(ri->ri_ldp, LDAP_OPT_SERVER_CONTROLS, &ctrls); if( err != LDAP_OPT_SUCCESS ) { - Debug( LDAP_DEBUG_ANY, - "Error: ldap_set_option(%s, SERVER_CONTROLS, ManageDSAit) failed!\n", + Debug( LDAP_DEBUG_ANY, "Error: " + "ldap_set_option(%s, SERVER_CONTROLS, ManageDSAit) failed!\n", ri->ri_hostname, NULL, NULL ); ldap_unbind( ri->ri_ldp ); ri->ri_ldp = NULL;