debian:~# /etc/init.d/samba start
Starting Samba daemons: nmbd smbd.
debian:~# ps aux|grep smbd
root 5706 0.0 0.2 3796 696 pts/0 R+ 23:53 0:00 grep smbd
debian:~#
為什麼會這樣呢
debian:~# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[A]"
Unknown parameter encountered: "guest"
Ignoring unknown parameter "guest"
Processing section "[200GB]"
Unknown parameter encountered: "guest"
Ignoring unknown parameter "guest"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
dos charset = cp950
unix charset = cp950
display charset = cp950
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
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
hosts allow = 192.168.0.
[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[A]
path = /mnt/a
read only = No
[200GB]
path = /mnt/200GB
read only = No
guest ok = Yes
debian:~#
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客