作者Miamiheat.bbs@ptt.cc (吹雪) 看板: linux
標題[問題] samba在ubuntu下的問題
時間批踢踢實業 (2008/03/25 Tue 02:42:32)
各位前輩好,我想請問一個ubuntu下samba的問題,麻煩解惑一下@@
在我sudo testparm後,出現了以下訊息:
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
而我其它的設置是以下:
[global]
workgroup = MSHOME
server string = %h server (Samba, Ubuntu)
interfaces = 140.127.220.82, eth0
security = SHARE
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
read only = No
[printers]
comment = All Printers
path = /tmp
read only = Yes
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
admin users = root
read only = Yes
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
write list = root
read only = Yes
guest ok = Yes
[Group]
comment = Group Folder
path = /home/group
valid users = system_username1, system_username2
force user = nobody
force group = nogroup
read only = Yes
create mask = 0700
directory mask = 0700
guest ok = Yes
[public]
comment = Public Folder
path = /home/public
force user = nobody
force group = nogroup
create mask = 0777
directory mask = 0777
guest ok = Yes
目前我在家裡連遠端的samba無法連上,請問有什麼地方有錯誤嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.229.204.189