mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
selftest: set pid directory in client's smb.conf
Set a pid file directory to avoid the following testparm error: ERROR: pid directory /usr/local/samba/var/run does not exist Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
This commit is contained in:
parent
ebada816de
commit
63b0d2dc76
@ -509,6 +509,7 @@ sub write_clientconf($$$)
|
||||
{ name => "statedir", mask => 0777 },
|
||||
{ name => "cachedir", mask => 0777 },
|
||||
{ name => "pkinit", mask => 0700 },
|
||||
{ name => "pid", mask => 0777 },
|
||||
# the ncalrpcdir needs exactly 0755 otherwise tests fail.
|
||||
{ name => "ncalrpcdir", mask => 0755, umask => 0022 },
|
||||
);
|
||||
@ -573,6 +574,7 @@ sub write_clientconf($$$)
|
||||
state directory = $clientdir/statedir
|
||||
cache directory = $clientdir/cachedir
|
||||
ncalrpc dir = $clientdir/ncalrpcdir
|
||||
pid directory = $clientdir/pid
|
||||
panic action = $RealBin/gdb_backtrace \%d
|
||||
max xmit = 32K
|
||||
notify:inotify = false
|
||||
|
Loading…
Reference in New Issue
Block a user