1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

r22556: Make the slapd command valid.

Andrew Bartlett
(This used to be commit dfb2fd2b2a45f5f96627c4beef6aa9174978688e)
This commit is contained in:
Andrew Bartlett 2007-04-28 15:17:03 +00:00 committed by Gerald (Jerry) Carter
parent b8fdea2172
commit b006d86e65

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;
}