Node Director
smbpasswd Template
Domain Templates

SYNOPSIS

Password file .............. /etc/samba/smbpasswd
Only Assigned Users/Groups . on
Lower Local Uids from ...... 0
Lower Local Uids to ........ 1000
Upper Local Uids from ...... 50000
Upper Local Uids to ........ 200000
Lower Local Gids from ...... 0
Lower Local Gids to ........ 1000
Upper Local Gids from ...... 50000
Upper Local Gids to ........ 200000

DESCRIPTION

The "Samba Password File" domain template allows writing user account information out into Samba's /etc/samba/smbpasswd files. This template supports the traditional text based file formats only.

When the smbpasswd files are overwritten, both locally existing users and Director managed users will appear in the resulting files. Local users will be identified by their uid and gid, the ranges treated as local are configurable.

Note
However, if a Director managed and a local user with the same name exist, the Director managed user will always take precedence. Director managed users will be removed from the local files if they disappear from the Director, local users are not.

With the "Only Assigned Users/Groups" option enabled only users/groups that are explicitly assigned to the respective target host will be effective. These are set within the host record in the Director.

OPTIONS

The template understands the following configuration options:

Password file

The file name and path of the smbpasswd file.

Only Assigned Users/Groups

If set, only users and groups that are explicitly assigned to the respective target host are written into the target files.

Lower Local Uids from

The passwd file is merged with the existing local passwd file. User accounts with uids in the range given are treated as local.

Lower Local Uids to

Upper limit associated with <e>Lower Local Uids from</e>.

Upper Local Uids from

The passwd file is merged with the existing local passwd file. User accounts with uids in the range given are treated as local.

Upper Local Uids to

Upper limit associated with <e>Upper Local Uids from</e>.