l*******e 发帖数: 3584 | 1 I did search and tried, but looks like none of them work.
At the beginning, I still can see the Samba share folder from PC vista,
but after I change the smb.conf, it is totally out of service.
Here it is:
[global]
workgroup = workgroup_liu
netbios name = debianserver
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
load printers =no
[SAMBA]
path=/home/pcguest
read only = no
browseable=yes
writeable=yes
public = yes
valid users = pcguest
admin users = debain
First I "added public =yes" and "read only=no" Second I made the
"/home/pcguest" folder.
That is what I did. I understand I should change the folder authority.
I made the folder because I checked the user pcguest can write here in
/home/pcguest.
Need some link where can explain it clearly. Most information I got it
is out of date.
One more question. I can not restart Samba with samba restart.
Thanks a lot. |
N**********d 发帖数: 9292 | 2 sudo /etc/init.d/samba stop
sudo /etc/init.d/samba start
【在 l*******e 的大作中提到】 : I did search and tried, but looks like none of them work. : At the beginning, I still can see the Samba share folder from PC vista, : but after I change the smb.conf, it is totally out of service. : Here it is: : [global] : workgroup = workgroup_liu : netbios name = debianserver : server string = %h server (Samba %v) : log file = /var/log/samba/log.%m : max log size = 1000
|
l*******e 发帖数: 3584 | 3 It is under sudo condition
When I checked all the step I did before, I noticed that I did restart
samba one just I installed it with the conf like this
[global]
workgroup = debian
netbios name = debianserver
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
[SAMBA]
path=/samba
browseable=yes
writeable=yes
valid users = pcguest
admin users = debain
Fellow is what I got when I run restart.
root@debian:~# /etc/init.d/samba restart
Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd smbd.
Which means the .conf change effect the restart.
I changed the conf back, but when I do restart again nothing show up
like stopping or starting.
【在 N**********d 的大作中提到】 : sudo /etc/init.d/samba stop : sudo /etc/init.d/samba start
|
Z**0 发帖数: 1119 | 4 你vista用户上有pcguest用户嘛?
把vista防火墙关闭看看。 |
l*******e 发帖数: 3584 | 5 应该不是这个原因吧,我前些日子在DOCKSTAE上用的是PLUG APP
一样的用设置,SAMBA很正常。现在上了DEBIAN就是不行了。
【在 Z**0 的大作中提到】 : 你vista用户上有pcguest用户嘛? : 把vista防火墙关闭看看。
|
a*******e 发帖数: 3021 | 6 could beyour debian's default firewall.
disable firewall and try again
service iptables stop
【在 l*******e 的大作中提到】 : 应该不是这个原因吧,我前些日子在DOCKSTAE上用的是PLUG APP : 一样的用设置,SAMBA很正常。现在上了DEBIAN就是不行了。
|