Name
add user script = command — [global]
Synopsis
Allowable values: command
Default: NULL
Specifies a command that creates a new
user on the system hosting the Samba
server. This command runs as root when access to a
Samba share is attempted by a Windows user who does not have an
account on the hosting system, but does have an account maintained by
a primary domain controller on a different system. The command should
accept the name of the user as a single argument that matches the
behavior of typical adduser commands. Samba
honors the %u value (username) as the argument to
the command. Requires security
=
server or
security
=
domain. See also delete user
script.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access