1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r22556: Make the slapd command valid.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2007-04-28 15:17:03 +00:00 committed by Gerald (Jerry) Carter
parent 56a86c7cc7
commit dfb2fd2b2a

View File

@ -26,7 +26,7 @@ sub openldap_start($$$) {
my ($slapd_conf, $uri, $logs) = @_;
my $oldpath = $ENV{PATH};
$ENV{PATH} = "/usr/local/sbin:/usr/sbin:/sbin:$ENV{PATH}";
system("slapd -d -f $slapd_conf -h $uri > $logs 2>&1 &");
system("slapd -d0 -f $slapd_conf -h $uri > $logs 2>&1 &");
$ENV{PATH} = $oldpath;
}