From: Howard Chu Date: Thu, 23 Aug 2012 21:25:52 +0000 (-0700) Subject: ITS#7368 SLAP_AUTH_DN stuff is not for RE24 yet X-Git-Tag: OPENLDAP_REL_ENG_2_4_33~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0d5f88d61f715a94ff5fba269a6df2e054b93f6;p=openldap ITS#7368 SLAP_AUTH_DN stuff is not for RE24 yet --- diff --git a/servers/slapd/back-meta/config.c b/servers/slapd/back-meta/config.c index ed1d1591bd..924ed88754 100644 --- a/servers/slapd/back-meta/config.c +++ b/servers/slapd/back-meta/config.c @@ -33,6 +33,10 @@ #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 */