Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10406/ldap/admin/src/scripts
Modified Files:
DSCreate.pm.in
Log Message:
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
Index: DSCreate.pm.in
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DSCreate.pm.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- DSCreate.pm.in 14 Jul 2008 23:16:47 -0000 1.13
+++ DSCreate.pm.in 23 Oct 2008 22:42:54 -0000 1.14
@@ -342,7 +342,9 @@
$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();
Show replies by thread