Click to See Complete Forum and Search --> : help:samba and win2000


lxfg
08-28-2002, 06:02 AM
I have two machines,one is win2000 ,the other is redhat linux 7.2.
I try the command ping ,the network is ok.I edit smb.conf by swat.
now in win2000,I can see the workgroup that I created.but whenI click it,the following error occur:cann't found the path
I have create samba user :"administrator".
here is smb.conf ,I cann't find the error.I hope you can help me find it.


# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2002/08/28 15:40:03

# Global parameters
[global]
workgroup = NEWGROUP
netbios name = LIXUFENG
server string = Samba Server
encrypt passwords = Yes
wins server = 192.0.0.3

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[administrator]
comment = linux
path = /usr
admin users = adminisrator
guest ok = Yes

michaelk
08-28-2002, 08:24 AM
Try to connect to the linux share from windows explorer (map network drive) instead of network neighborhood.

Type in the path box: \\lixunfeg\administrator
click ok. You can also use the IP address for linxufeg

lxfg
08-28-2002, 09:07 PM
I have tried,but It is no use

cowanrl
08-29-2002, 07:45 PM
In your smb.conf file you have:

wins server = 192.0.0.3

Are you actually running WINS on your Win2k machine? If you are not, remove that line from your smb.conf file. It could interfere with your Samba server announcing itself on the network.

Another thing to check is for a firewall on Red Hat. To see if there is a firewall blocking traffic to your Samba server execute this as root on your Linux server:

service iptables stop
service ipchains stop

Then try to access your Samba share.

If it works, you'll need to either modify your firewall or just leave it off if you don't need it.

lxfg
08-30-2002, 06:22 AM
yes,firewall problem. it works now.
thank you!

cowanrl
08-30-2002, 09:53 AM
Your welcome.