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:
parent
56a86c7cc7
commit
dfb2fd2b2a
@ -26,7 +26,7 @@ sub openldap_start($$$) {
|
|||||||
my ($slapd_conf, $uri, $logs) = @_;
|
my ($slapd_conf, $uri, $logs) = @_;
|
||||||
my $oldpath = $ENV{PATH};
|
my $oldpath = $ENV{PATH};
|
||||||
$ENV{PATH} = "/usr/local/sbin:/usr/sbin:/sbin:$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;
|
$ENV{PATH} = $oldpath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user