unpredicta

technology, sound, and design

Samba


add and list users


Add users:

# smbpasswd -a username

List users:

# pdbedit -L -v

For Samba 4.5+, found in Debian 9, NTLMv1 authentication was disabled. To enable, add the following to smb.conf under [global]:

ntlm auth = yes

Check the config file for correctness:

# testparm