samba:create-new-users
Creating and Configuring New Users for use with ad idmap
Work in progress — Use at your own risk
You can create a new user using `samba-tool` with extended options, including NIS and RFC2307 attributes.
Syntax is correct but options are not explained. Example:
samba-tool user create $username $clave \ --given-name=$name \ --surname=$surname \ --use-username-as-cn \ --home-drive=S: \ --home-directory=\\\\fs1\\users\\$username \ --mail-address="$username@caponato.es" \ --must-change-at-next-login \ --nis-domain=mad \ --uid-number=$lastuid \ --login-shell=/dev/null \ --unix-home=/dev/null \ --gid-number=10000
Caponato's Samba notebook. Start here or else Main menu
samba/create-new-users.txt · Last modified: by caponato
