summaryrefslogtreecommitdiffstats
path: root/ldap/admin
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2008-03-13 21:52:37 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2008-03-13 21:52:37 +0000
commite1cd98b3e4c90c30c47e3cb9f680c49a656d4287 (patch)
tree82a5d2d85f6d10a93dfe030cf1b6b8f911f41a3a /ldap/admin
parent78c4e7a740fe1d947b4ed05528a742184071a15d (diff)
downloadds-e1cd98b3e4c90c30c47e3cb9f680c49a656d4287.tar.gz
ds-e1cd98b3e4c90c30c47e3cb9f680c49a656d4287.tar.xz
ds-e1cd98b3e4c90c30c47e3cb9f680c49a656d4287.zip
Resolves: 436397
Summary: LDAPI: move default LDAPI UNIX socket from /var/run/dirsrv/slapd-ID.socket to /var/run/slapd-ID.socket
Diffstat (limited to 'ldap/admin')
-rw-r--r--ldap/admin/src/scripts/DSCreate.pm.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldap/admin/src/scripts/DSCreate.pm.in b/ldap/admin/src/scripts/DSCreate.pm.in
index c32864ee..ef0d3dc7 100644
--- a/ldap/admin/src/scripts/DSCreate.pm.in
+++ b/ldap/admin/src/scripts/DSCreate.pm.in
@@ -330,8 +330,9 @@ sub createConfigFile {
$ent->setValues("nsslapd-ldapifilepath", $inf->{slapd}->{ldapifilepath});
$ent->setValues("nsslapd-ldapilisten", "on");
} else {
+ my $parent = dirname($inf->{slapd}->{run_dir});
$ent->setValues("nsslapd-ldapifilepath",
- "$inf->{slapd}->{run_dir}/slapd-$inf->{slapd}->{ServerIdentifier}.socket");
+ "$parent/slapd-$inf->{slapd}->{ServerIdentifier}.socket");
$ent->setValues("nsslapd-ldapilisten", "off");
}
if ("@enable_autobind@") {