Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3612
Modified Files: DSCreate.pm.in Log Message: Resolves: 436397 Summary: LDAPI: move default LDAPI UNIX socket from /var/run/dirsrv/slapd-ID.socket to /var/run/slapd-ID.socket
Index: DSCreate.pm.in =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DSCreate.pm.in,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- DSCreate.pm.in 17 Dec 2007 20:08:46 -0000 1.9 +++ DSCreate.pm.in 13 Mar 2008 21:52:37 -0000 1.10 @@ -330,8 +330,9 @@ $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@") {
389-commits@lists.fedoraproject.org