add user to group script

Full path to the script that will be called when a user is added to a group using the Windows NT domain administration tools. It will be run by smbd 8 AS ROOT. Any %g will be replaced with the group name and any %u will be replaced with the user name.
Note that the adduser command used in the example below does not support the used syntax on all systems.

Example: /usr/sbin/adduser %u %g

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

add user to group script

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\add user to group script
Value Nameadd user to group script
Value TypeREG_SZ
Default Value

samba.admx

Administrative Templates (Computers)