summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/daemon.c
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2008-10-23 22:42:55 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2008-10-23 22:42:55 +0000
commit7572dfdc019f3e4b676d5a883d9fc0453dcde0e6 (patch)
treec33069f9583d1cb113efcaed5db1b722d5f7df3e /ldap/servers/slapd/daemon.c
parentdc4d226a1a2f14d0f55e5e263ee5c1f989c7edab (diff)
downloadds-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.c2
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: