PDA

smb browsing

halmsx
2004-02-24, 11:12 PM PST
hi

the nautilus cant browse 'smb://'. ive installed samba, samba-common, samba client.

i can mount the win shares at the command prompt, but nautilus says that it cannot contact the master browser. it is working on my laptop, but not on other pcs.

do i need to install some other packages for nautilus for this? of is it just configuration?

i configured samba using swat on these machines without any problem.

mhelios
2004-02-26, 04:43 AM PST
Run `redhat-config-securitylevel` and see that eth0 is checked as a trusted device.

halmsx
2004-02-26, 05:31 AM PST
tsk tsk tsk, felt like wanna cry... thanks alot... ilove you man! :)

halms/

delpi
2004-03-08, 03:19 PM PST
Originally posted by mhelios
Run `redhat-config-securitylevel` and see that eth0 is checked as a trusted device.

Why is this needed? There was once I didnt enable this but I still manage to browse.

Well...that is just for one time. Just want to find out what does it mean to enable this. :)

Jman
2004-03-08, 03:57 PM PST
Originally posted by delpi
Just want to find out what does it mean to enable this.
I believe this means you trust all traffic on eth0. Which is good if you trust the network, but do you trust Internet traffic? I'm a little hesitant to recommend this.

Unfortunately, I don't remember how I got smb to work. It does work, however, even though the firewall is on high.

Maybe there's a setting in /etc/samba/smb.conf?

mhelios
2004-03-09, 06:21 AM PST
Only trust this device if it is not directly connected to the Internet. i.e. if this is an internal PC that connects to a /gateway host/router/switch/hub then it is fine to trust all packets from eth0. Unless of course you don't trust your internal LAN at all...in that case, beef up your security or lower your paranioa levels a bit. :D

taylor65
2004-06-10, 10:21 PM PDT
When I mount windows shares, they mount just fine, but the first one I mount doesn't work, all the rest do. It doesn't matter which share I mount first.

This is how I mount windows shares:

In /etc/fstab file:

//<server>/share <mount-point> smbfs noauto,owner,users,username=<user>,workgroup=<workgroup>,uid=<localuser>,gid=<localuser>

then I type as a normal user:

mount <mount-point>

I also had to chmod +s /usr/bin/smbmnt.

Anybody else see this problem, or am I using an old method of accessing windows shares?

Thanks.

P.S. If you need to have smb ports opened on your firewall, tcp:137, tcp:138, and tcp:139 should do it. If not, add tcp:88 and tcp:135. Add tcp:445 for Server 2003.