# 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? ? ?
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 Rowland
Here is my configuration file. [global] workgroup = WORKGROUP server string = %h server dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d security = user encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . security = user guest ok = yes map to guest = bad password pam password change = yes usershare allow guests = yes [homes] comment = Home Directories browseable = yes read only = yes create mask = 0700 directory mask = 0700 valid users = %S [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no [linuxsir] path = /home/linuxsir public = yes writable = yes printable = yes guest ok=yes create mask = 0777 ? ------------------ ???? ------------------ ???: "Rowland Penny";<rowlandpenny at googlemail.com>; ????: 2015?2?27?(???) ??9:27 ???: "samba"<samba at lists.samba.org>; ??: Re: [Samba] add user in samba server 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 Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Apparently Analagous Threads
- 回复: add user in samba server
- add user in samba server
- how to share file between samba on debian and ES File Explorer app on android phone?
- Re: [virt-tools-list] libvirt/virt-manager source integration with xen
- Installation problem on Debian Lenny (libfontconfig).