Ask Your Question
1

Cannot access Fedora share from Network Neighborhood

asked 2012-09-29 11:56:12 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Hello, I have FC17 set up and current with updates. My SE Linux is disabled and ls -dZ /home/dan/Public/ outputs drwxrwxrwx. 777 dan unconfinedu:objectr:userhomet:s0 /home/dan/Public/

I have FC14 running on another machine that samba works perfectly on. I was having so much trouble configuring samba on the FC17 machine that I simply copied over my smb.conf file and now I can see the FC17 machine from windows and the share folder but clicking on it gives the error cannot access....etc.

TIA

edit retag flag offensive close merge delete

Comments

Just a note for the readers: You don't need to disable SELinux to make samba work. You do need to open your firewall, however.

randomuser gravatar imagerandomuser ( 2012-12-11 18:24:02 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted
0

answered 2012-10-07 04:53:40 -0500

ADB gravatar image

A simple question/remark. The system of service is different between FC17 and FC14. Now it use for near every process the systemd.

I use it with Active Directory. This use winbindd process. So I must configure /etc/krb5.conf, /etc/nsswitch.conf and /etc/samba/smb.conf and joining the domain In smb.conf, I use "security=ads" with many other specifications.

For samba 3, the processes are winbind , nmb and smb (in this order). For systemd there is different commands: "systemctl enable <service name="">" to declare that service start with the machine "systemctl start <service name="">" to start the process "systemctl stop <service name="">" to stop the process "systemctl status <service name="">" to see the state of the process

example: systemctl start winbind.service systemctl start nmb.service systemctl start smb.service

Use also "ps axf" See in the samba log files in /var/log/samba

See the file /var/lib/browser.dat for info.

On the windows machine try to made a connection in line command with the user and password. This user must be knowed by samba. For example: net use H: \\server\service /user:SERVER\user password

Try also in a first step to declare you share as "public=yes"

edit flag offensive delete link more
0

answered 2012-10-04 10:02:29 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

You have to list the other folders that you are shared, and possibly there are differences between samba versions, and configuration file details. Between F14 and F17 has more then 18 months are passed - and new versions are coming always. Now as the F18 are appearing, and Samba 4 will be included - better to do an step by step check, and follow the detailed advices from the config file.

edit flag offensive delete link more
0

answered 2012-12-11 07:00:56 -0500

scottro gravatar image

updated 2012-12-11 07:54:16 -0500

I have my own page on this, which seems to work through Fedora 17 and also worked in early F18 betas. However, as of early December (the 5th is when I ran the update), it's no longer working. For F17 and earlier, I'll list my own page at http://home.roadrunner.com/~computerataijutsu/adsamba.html.

I also have a page on common issues, based on what I see in Fedora forums.

http://home.roadrunner.com/~computertaijutsu/rhsamba.html

edit flag offensive delete link more
0

answered 2012-10-04 13:21:59 -0500

ZeonOtaku gravatar image

Seems to me there should be a step-by-step available. Sharing files shouldn't be so frustrating.

edit flag offensive delete link more

Comments

This is true, but it doesn't answer the question. Can you post as a comment instead? Also, if you are an expert in this area and could help in writing a step-by-step guide, we'd love it.

mattdm gravatar imagemattdm ( 2012-10-07 08:34:30 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-09-29 11:56:12 -0500

Seen: 2,817 times

Last updated: Dec 11 '12