What does smbusers files do

view story

http://www.linuxquestions.org – Hi, I am using samba on RHEL 5 or 6 for file sharing purpose. The setings are default. security = user passdb backend = tdbsam When I want to add a user with smbpasswd -a it needs the UNIX user created first. So I create accounts this way : # useradd user1 # smbpasswd -a user1 This way each samba account has a matching UNIX account and I can confirm it by running : # pdbedit -L It shows samba account with corresponding unix UID. The thing that I don't understand here is the usage of /etc/samba/smbusers. All of samba users are already mapped. Why do I need this file and how c (HowTos)