samba
运行smbpasswd -a pcguest没反应,停在那不动了。我的smb文件:
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/05/06 10:38:51
# Global parameters
netbios name = OCEAN
workgroup = workgroup
server string = Samba Server
security = user
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printing = lprng
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
path = /tmp
guest ok = Yes
comment = ocean
path = /mnt/d/ocean/ppload
username = ocean
valid users = ocean
guest ok = Yes
browseable = yes
read only = yes 解决了,不用麻烦大家了
页:
[1]