From e1cd98b3e4c90c30c47e3cb9f680c49a656d4287 Mon Sep 17 00:00:00 2001 From: Noriko Hosoi Date: Thu, 13 Mar 2008 21:52:37 +0000 Subject: Resolves: 436397 Summary: LDAPI: move default LDAPI UNIX socket from /var/run/dirsrv/slapd-ID.socket to /var/run/slapd-ID.socket --- ldap/admin/src/scripts/DSCreate.pm.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ldap/admin') 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@") { -- cgit