LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba share not visible from PC (https://www.linuxquestions.org/questions/linux-server-73/samba-share-not-visible-from-pc-676902/)

shamusfu 10-16-2008 04:08 PM

Samba share not visible from PC
 
I am running Fedora 9, and Samba is running in services.

I setup th default public share.

I cannot see it at all frmo my Windows Vista PCs when I browse the network.

What am I missing?

Thanks.

billymayday 10-16-2008 04:11 PM

In smb.conf do you have

workgroup = XXX

where XXX is the same as your Windows' workgroup?

shamusfu 10-16-2008 04:12 PM

Yes
 
I can post Samba config later when I get home.

The workgoup name is the same as the Windows workgroup names on the PCs.

billymayday 10-16-2008 04:18 PM

Then I'd also check that your firewall is set up for Samba.

Note that SELinux may cause you some issues, but we can fix that.

shamusfu 10-16-2008 04:30 PM

I do not cross a firewall. They are on the same network.

I also think I have my vista firewall disabled.

I may be running selinux (if I knew what that was).

Thx for the help btw.

billymayday 10-16-2008 04:31 PM

Fedora has its firewall enabled by default, so unless you disabled it, it on.

Edit - you'll find the settings under one of the admin menus (security amd SELinux or something like that). Not in Fedora at present.

shamusfu 10-16-2008 04:45 PM

I will check when I am at home later.

Thx for the help.

billymayday 10-16-2008 05:56 PM

You can just do

iptables -L

as root from a terminal to show what's set up in the firewall.

shamusfu 10-17-2008 07:08 AM

I think this was a firewall/selinux issue.

I went into the firewall admin tool and changed to allow smb. Still no luck.

I went into the selinux admin tool and check all samba read/write. At that point the linux box showed up on my network with the file shares there.


I have not copied files up yet. Will have to try that.


I did notice that the samba config tool asks to create 'windows' users for the shares.

Is it possible to just use the local linux accounts to control access? Do I need to create samba user/passwords on top of my windows accounts and also my linux user accounts?

Thanks for your help.

billymayday 10-17-2008 02:16 PM

Samba keeps its own user database. Typically you'd mirror linux users - that way you can share their home directories, etc.

Do you have lots of users? I would assume that there is a migration tool you can use to copy linux users across


All times are GMT -5. The time now is 10:36 PM.