新装的机器。开启是samba服务出现以下现象:
1、机器重启后有时能自动启smb服务,有时不能,需手工启动;
2、samba用户在smb服务自动启动的时候,能顺利访问;在手工启动smb服务的时候不能访问,须重新smbpasswd -a user才可以。
testparm结果如下,请高手解疑!!!
Press enter to see a dump of your service definitions
[global]
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
invalid users = root
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
snowaveg 于 2010-05-10 08:30:52发表:
丢那里几天没管它,现在竟然好了~~~难道它也信春哥?
hantu 于 2010-05-07 11:19:43发表:
个人怀疑netmanager会影响手动配置的一些网络相关的参数
snowaveg 于 2010-05-07 09:27:03发表:
又是无解?还是这问题太简单了?
xzj4167 于 2010-05-06 16:08:58发表:
:0w5ty(1