]> git.sur5r.net Git - openldap/commitdiff
Use non-critical ManageDsaIT control.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 9 Oct 2001 18:53:22 +0000 (18:53 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 9 Oct 2001 18:53:22 +0000 (18:53 +0000)
servers/slurpd/ldap_op.c

index d3a5a8ee54cd0ae04ec23691f98adad586f75e9a..419a5247f9dd943c8b6175d03c5ad2a90c382b82 100644 (file)
@@ -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;