Posts

Showing posts with the label User management for Samba4 Active Directory Domain Controller Samba : Samba AD DC : Basic User Management

User management for Samba4 Active Directory Domain Controller Samba : Samba AD DC : Basic User Management

User management for Samba4 Active Directory Domain Controller Samba : Samba AD DC : Basic User Management [1] Display domain users list. root@smb:~# samba-tool user list Administrator krbtgt ubuntu Guest [2] Add a domain user. root@smb:~# samba-tool user create ubuntu New Password:     # set password Retype Password: User 'ubuntu' created successfully # see many other options with "samba-tool user create --help" [3] Delete a domain user. root@smb:~# samba-tool user delete ubuntu Deleted user ubuntu [4] Reset password for a user. root@smb:~# samba-tool user setpassword ubuntu New Password: Changed password OK [5] Set expiry for a user. root@smb:~# samba-tool user setexpiry ubuntu --days=7 Expiry for user 'ubuntu' set to 7 days. [6] Disable/Enable user account. root@smb:~# samba-tool user disable ubuntu root@smb:~# samba-tool user enable ubuntu Enabled user 'ubuntu' [7] Display domain groups list. root@smb:~# samba-tool group list Allowed R...