]> git.sur5r.net Git - openldap/commitdiff
ITS#7368 SLAP_AUTH_DN stuff is not for RE24 yet
authorHoward Chu <hyc@openldap.org>
Thu, 23 Aug 2012 21:25:52 +0000 (14:25 -0700)
committerHoward Chu <hyc@openldap.org>
Thu, 23 Aug 2012 21:25:52 +0000 (14:25 -0700)
servers/slapd/back-meta/config.c

index ed1d1591bdbfd46fd8058e06a8a9bf9be4f5fb7a..924ed88754fdb12282ecc511ff4b01b872c6bfd4 100644 (file)
 #include "../back-ldap/back-ldap.h"
 #include "back-meta.h"
 
+#ifdef LDAP_DEVEL
+#define SLAP_AUTH_DN   1
+#endif
+
 static ConfigDriver meta_back_cf_gen;
 static ConfigLDAPadd meta_ldadd;
 static ConfigCfAdd meta_cfadd;
@@ -1500,6 +1504,7 @@ meta_back_cf_gen( ConfigArgs *c )
                                        ptr = lutil_strcopy( ptr, ",proxy-authz-non-critical" );
                                }
 
+#ifdef SLAP_AUTH_DN
                                switch ( mt->mt_idassert_flags & LDAP_BACK_AUTH_DN_MASK ) {
                                case LDAP_BACK_AUTH_DN_AUTHZID:
                                        ptr = lutil_strcopy( ptr, ",dn-authzid" );
@@ -1515,6 +1520,7 @@ meta_back_cf_gen( ConfigArgs *c )
 #endif
                                        break;
                                }
+#endif
 
                                bv.bv_len = ( ptr - bv.bv_val );
                                /* end-of-flags */