]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Use non-critical manage dsa it control
authorKurt Zeilenga <kurt@openldap.org>
Tue, 9 Oct 2001 19:17:22 +0000 (19:17 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 9 Oct 2001 19:17:22 +0000 (19:17 +0000)
servers/slurpd/ldap_op.c

index dccd2e92b75b10350b7202af8da868719a3f3125..ee561ce147eed5045beee0685eda2553d14e2713 100644 (file)
@@ -780,13 +780,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;