From: Quanah Gibson-Mount Date: Tue, 26 Sep 2017 18:27:15 +0000 (-0700) Subject: ITS#6817 - back-meta work for SLAP_AUTH_DN was never finished according X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a9ff0e97fcb0b43839f622f367c7380404528c90;p=openldap ITS#6817 - back-meta work for SLAP_AUTH_DN was never finished according to the ITS notes. In addition, this would need man page updates for the feature --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index f2b3fe26bf..f4bdf46db0 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -37,7 +37,9 @@ #define LDAP_CONTROL_OBSOLETE_PROXY_AUTHZ "2.16.840.1.113730.3.4.12" +#ifdef LDAP_DEVEL #define SLAP_AUTH_DN 1 +#endif #if LDAP_BACK_PRINT_CONNTREE > 0 diff --git a/servers/slapd/back-meta/config.c b/servers/slapd/back-meta/config.c index dbb6c9f227..e060e0e18c 100644 --- a/servers/slapd/back-meta/config.c +++ b/servers/slapd/back-meta/config.c @@ -35,7 +35,9 @@ #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;