summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/config.c
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2009-09-23 09:52:29 -0600
committerRich Megginson <rmeggins@redhat.com>2009-09-23 10:02:27 -0600
commit7f9f26112388c6915fafb1b60b41a2d3e1e4e51e (patch)
treebf0b187e4c3a458b70c1e5a091e6eb6929ee85de /ldap/servers/slapd/config.c
parent56b9868c2fca5a56b11a4d0a9387980b6f338835 (diff)
downloadds-7f9f26112388c6915fafb1b60b41a2d3e1e4e51e.tar.gz
ds-7f9f26112388c6915fafb1b60b41a2d3e1e4e51e.tar.xz
ds-7f9f26112388c6915fafb1b60b41a2d3e1e4e51e.zip
Should not attempt to pop SASL IO layer if not using SASL IO
https://bugzilla.redhat.com/show_bug.cgi?id=519455 Resolves: bug 519455 Bug Description: Should not attempt to pop SASL IO layer if not using SASL IO Reviewed by: nkinder (Thanks!) Fix Description: Before attempting to pop the SASL IO layer from the prfd, first make sure we are using sasl IO, the prfd is not NULL, and the prfd has a SASL IO layer on it. This also fixes a bug with setting nsslapd-localhost in the bootstrap code - if you are using a system that does not have DNS configured correctly, you may want to force the SASL code to use the nsslapd-localhost for the FQDN. Platforms tested: RHEL5 x86_64 Flag Day: no Doc impact: no
Diffstat (limited to 'ldap/servers/slapd/config.c')
-rw-r--r--ldap/servers/slapd/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/servers/slapd/config.c b/ldap/servers/slapd/config.c
index da87a0a1..c25438d1 100644
--- a/ldap/servers/slapd/config.c
+++ b/ldap/servers/slapd/config.c
@@ -592,6 +592,7 @@ slapd_bootstrap_config(const char *configdir)
CONFIG_REWRITE_RFC1274_ATTRIBUTE,
errorbuf);
}
+ val[0] = 0;
}
/* what is our localhost name */