LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba share not accessible access is denied error message (https://www.linuxquestions.org/questions/linux-software-2/samba-share-not-accessible-access-is-denied-error-message-816134/)

kaplan71 06-24-2010 10:42 AM

Samba share not accessible access is denied error message
 
Hi there --

I have Samba 3.5.3-61 running on a Fedora Core 13 system. I created a share that is browseable to all systems, and I made sure to create a user account via the smbpasswd utility.

When I try to connect to the server from a Windows XP system, I am able to enter the appropriate sharename as well as the username and password. However, after entering the information, I get the following error message:

Quote:

Samba share is not accessible. Access is denied.
The share does appear as a mapped drive on the Windows system, I just can't access it.

Has anyone seen this before, and know what I need to do in order to correct it? Thanks.

mpapet 06-24-2010 04:22 PM

More Info...
 
What do the logs on the Samba server have in them?

kaplan71 06-25-2010 07:58 AM

Hi there --

I checked the log.smbd, and there were several instances of the following entry:

[
Quote:

2010/06/24 11:29:58.785726, 0] smbd/server.c:500(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
The messages log file had the following entries:

Quote:

Jun 24 11:29:58 localhost smbd[32044]: [2010/06/24 11:29:58.785726, 0] smbd/server.c:500(smbd_open_one_socket)
Jun 24 11:29:58 localhost smbd[32044]: smbd_open_once_socket: open_socket_in: Address already in use
Jun 24 11:29:58 localhost smbd[32044]: [2010/06/24 11:29:58.792546, 0] smbd/server.c:500(smbd_open_one_socket)
Jun 24 11:29:58 localhost smbd[32044]: smbd_open_once_socket: open_socket_in: Address already in use
Jun 24 11:30:03 localhost setroubleshoot: SELinux is preventing Samba (/usr/sbin/smbd) "append" access to /var/webmin/miniserv.error. For complete SELinux messages. run sealert -l 1f8be249-145c-488c-ba1c-af267daefc2f

mpapet 06-25-2010 10:37 AM

Quote:

Originally Posted by kaplan71 (Post 4014702)
Address already in use

So, what's using that port? This script does a nice job of marrying ports to pid's. http://www.brandonhutchinson.com/Por...with_lsof.html

In order to sort these things out, I open a bunch of ssh sessions then run a samba application in each window keeping them in the foreground so you can watch what's happening. For example, smbd -d 3.


All times are GMT -5. The time now is 10:35 AM.