username map script

This script is a mutually exclusive alternative to the parameter. This parameter specifies and external program or script that must accept a single command line option (the username transmitted in the authentication request) and return a line on standard output (the name to which the account should mapped). In this way, it is possible to store username map tables in an LDAP or NIS directory services.

Example: /etc/samba/scripts/mapusers.sh

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

username map script

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\username map script
Value Nameusername map script
Value TypeREG_SZ
Default Value

samba.admx

Administrative Templates (Computers)