Operating Samba v4

User management

review the password policy and status

samba-tool domain passwordsettings show

eventually tune the policy

samba-tool domain passwordsettings -h

create a new user really quick

pwgen
samba-tool user add user1

–or– with more details

samba-tool user add user2 \
    --given-name=user2-firstname \
    --surname=user2-surname \
    --mail-address=USER2@DOMAIN.TLD \
    --login-shell=/bin/bash

and check

samba-tool user list

Resources

user mgmt

https://www.tecmint.com/manage-samba4-active-directory-linux-command-line/A

https://wiki.samba.org/index.php/Adding_users_with_samba_tool


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun