[Samba] add user in samba server
rowlandpenny at googlemail.com
Fri Feb 27 06:27:09 MST 2015
On 27/02/15 13:05, 水静流深 wrote:
> # smbpasswd -a linuxsir New SMB password: Retype new SMB password: # ls /etc/samba gdbcommands smb.conf smb.conf.bak smbpasswd # groups linuxsir linuxsir : linuxsir my_test_group1 root at debian:/home/debian# cat /etc/group root:x:0: sambashare:x:119: root at debian:/home/debian# # cat /etc/samba/smbpasswd
> I have add user linuxsir in samba with a password.
> 1.Why linuxsir is still not in the group sambashare?
> 2.Why is there nothing in the file /etc/samba/smbpasswd?
This could be because the standard samba password backend is now tdbsam,
but to confirm this, we need to see your smb.conf
More information about the samba