
38
|
Samba Pocket Reference
pid directory = directory
Allowable values: name of directory
[global]
Default:
/usr/local/samba/var/locks
Sets the path to the directory where PID files are located.
posix locking = boolean
Allowable values:
YES
,
NO
Default:
YES
If set to YES, Samba will map file locks owned by SMB clients to
POSIX locks. Avoid changing.
postexec = command
Allowable values: command
Default: (null)
Sets a command to run as the user after disconnecting from the
share. All % variable substitutions can be used. See also the
preexec, root preexec, and root postexec options.
postscript = boolean
Allowable values:
YES
,
NO
Default:
NO
Forces a printer to recognize a file as PostScript by inserting %! as
the first line. Works only if the printer is actually PostScript-
compatible.
preexec = command
Allowable values: command
Default: (null)
Sets a command to run as the user before connecting to the share.
Synonym for
exec. All % variable substitutions can be used. See
also the
postexec, root preexec, and root postexec options.
preexec close = boolean
Allowable values:
YES
,
NO
Default:
NO
If set, allows the preexec command to decide if the share can be
accessed by the user. If the command returns a nonzero return
code, the user is denied permission to connect.