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/admin/src | |
| 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/admin/src')
| -rw-r--r-- | ldap/admin/src/scripts/DSCreate.pm.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ldap/admin/src/scripts/DSCreate.pm.in b/ldap/admin/src/scripts/DSCreate.pm.in index 45d5329c..9430cf2d 100644 --- a/ldap/admin/src/scripts/DSCreate.pm.in +++ b/ldap/admin/src/scripts/DSCreate.pm.in @@ -342,7 +342,9 @@ sub createConfigFile { $ent->setValues("nsslapd-ldapiuidnumbertype", "uidNumber"); $ent->setValues("nsslapd-ldapigidnumbertype", "gidNumber"); $ent->setValues("nsslapd-ldapientrysearchbase", $inf->{slapd}->{Suffix}); - $ent->setValues("nsslapd-ldapiautodnsuffix", "cn=peercred,cn=external,cn=auth"); + if ("@enable_auto_dn_suffix@") { + $ent->setValues("nsslapd-ldapiautodnsuffix", "cn=peercred,cn=external,cn=auth"); + } } if (!$conn->update($ent)) { $conn->close(); |
