]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldap/bind.c
add "searchFilterAttrDN" rewrite context, and allow filterstring rewrite
[openldap] / servers / slapd / back-ldap / bind.c
index 73e6e820575f4e46b279ed46e7b5d8fe83c53234..29bc8b24ab2c511f017d13642ad122b37c846efc 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1999-2003 The OpenLDAP Foundation.
+ * Copyright 1999-2004 The OpenLDAP Foundation.
  * Portions Copyright 2000-2003 Pierangelo Masarati.
  * Portions Copyright 1999-2003 Howard Chu.
  * All rights reserved.
@@ -62,7 +62,7 @@ ldap_back_bind(
 #ifdef ENABLE_REWRITE
        dc.conn = op->o_conn;
        dc.rs = rs;
-       dc.ctx = "bindDn";
+       dc.ctx = "bindDN";
 #else
        dc.tofrom = 1;
        dc.normalized = 0;
@@ -303,7 +303,7 @@ ldap_back_getconn(Operation *op, SlapReply *rs)
 #ifdef ENABLE_REWRITE
                                dc.conn = op->o_conn;
                                dc.rs = rs;
-                               dc.ctx = "bindDn";
+                               dc.ctx = "bindDN";
 #else
                                dc.tofrom = 1;
                                dc.normalized = 0;
@@ -532,7 +532,7 @@ ldap_back_op_result(struct ldapconn *lc, Operation *op, SlapReply *rs,
 #ifdef ENABLE_REWRITE
                        dc.conn = op->o_conn;
                        dc.rs = rs;
-                       dc.ctx = "matchedDn";
+                       dc.ctx = "matchedDN";
 #else
                        dc.tofrom = 0;
                        dc.normalized = 0;