还是关于ubuntu9.1 samba问题感谢大家辛苦一下。指教迷津
发表于 : 2010-01-08 15:57
我又重新试了试还是不行。关键是samba这句话security = user默认是用#屏蔽了,我把#去除了语句变成绿色代表开启。但用testparm在全局设置中还是没有显示。到底是怎么回事我要疯了。请高手指点迷津。我原来用RH5很快就设置。难道我又要用回RH5?[global]
以下是我smb.conf部分内容
[global]
workgroup = ubuntu
server string = %h server (Samba, Ubuntu)
netbios name = Samba
dns proxy = no
smb passwd file = /etc/samba/smbpasswd
; name resolve order = lmhosts host wins bcast
interfaces = 192.168.0.0/24 eth0
; bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
# syslog only = no
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* .
pam password change = yes
map to guest = bad user
到底那里不对。我在一台XP上访问ubuntu samba好像系统强制使用了security = share我明明是用security = user
以下是我smb.conf部分内容
[global]
workgroup = ubuntu
server string = %h server (Samba, Ubuntu)
netbios name = Samba
dns proxy = no
smb passwd file = /etc/samba/smbpasswd
; name resolve order = lmhosts host wins bcast
interfaces = 192.168.0.0/24 eth0
; bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
# syslog only = no
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* .
pam password change = yes
map to guest = bad user
到底那里不对。我在一台XP上访问ubuntu samba好像系统强制使用了security = share我明明是用security = user