]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/bind.c
Merge branch 'mdb.master'
[openldap] / servers / slapd / back-monitor / bind.c
index bc7dbc5298874172f67dd9176199c03671dee393..037d2455dcbf5d69b1c37931e49b32b4b96bc14b 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2001-2007 The OpenLDAP Foundation.
+ * Copyright 2001-2011 The OpenLDAP Foundation.
  * Portions Copyright 2001-2003 Pierangelo Masarati.
  * All rights reserved.
  *
@@ -35,11 +35,8 @@ monitor_back_bind( Operation *op, SlapReply *rs )
 {
        Debug(LDAP_DEBUG_ARGS, "==> monitor_back_bind: dn: %s\n", 
                        op->o_req_dn.bv_val, 0, 0 );
-       
-       if ( op->oq_bind.rb_method == LDAP_AUTH_SIMPLE 
-                       && be_isroot_pw( op ) )
-       {
-               ber_dupbv( &op->oq_bind.rb_edn, be_root_dn( op->o_bd ) );
+
+       if ( be_isroot_pw( op ) ) {
                return LDAP_SUCCESS;
        }