diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2008-10-23 22:42:55 +0000 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2008-10-23 22:42:55 +0000 |
commit | 7572dfdc019f3e4b676d5a883d9fc0453dcde0e6 (patch) | |
tree | c33069f9583d1cb113efcaed5db1b722d5f7df3e /ldap/servers/slapd/daemon.c | |
parent | dc4d226a1a2f14d0f55e5e263ee5c1f989c7edab (diff) | |
download | ds-7572dfdc019f3e4b676d5a883d9fc0453dcde0e6.tar.gz ds-7572dfdc019f3e4b676d5a883d9fc0453dcde0e6.tar.xz ds-7572dfdc019f3e4b676d5a883d9fc0453dcde0e6.zip |
Resolves: #468248
Summary: LDAPI: when nsslapd-ldapiautodnsuffix doesn't exist - Bind is incorrect
Description:
- introducing --enable-auto-dn-suffix option to configure (disabled by default)
- building the auto-dn-suffix code only when the option is set
Diffstat (limited to 'ldap/servers/slapd/daemon.c')
-rw-r--r-- | ldap/servers/slapd/daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ldap/servers/slapd/daemon.c b/ldap/servers/slapd/daemon.c index cd1f6ecb..32c7688c 100644 --- a/ldap/servers/slapd/daemon.c +++ b/ldap/servers/slapd/daemon.c @@ -2172,6 +2172,7 @@ root_map_free: } } +#if defined(ENABLE_AUTO_DN_SUFFIX) if(ret) { /* create phony auth dn? */ @@ -2209,6 +2210,7 @@ root_map_free: ret = 0; } } +#endif } bail: |