LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-24-2010, 10:42 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
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.
 
Old 06-24-2010, 04:22 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
More Info...

What do the logs on the Samba server have in them?
 
Old 06-25-2010, 07:58 AM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Original Poster
Rep: Reputation: 39
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
 
Old 06-25-2010, 10:37 AM   #4
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
Quote:
Originally Posted by kaplan71 View Post
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.

Last edited by mpapet; 06-25-2010 at 10:40 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Share = Network Access is Denied surban99 Linux - Software 2 04-10-2009 01:54 PM
Permission Denied Error Message when trying to mount an NFS share kaplan71 Fedora 1 02-14-2009 07:26 AM
Access denied when attempting access samba share warlockvix Linux - Software 1 05-11-2007 02:36 PM
Very stupid, but here we go: pam_mount + samba share = access denied? Thakowbbery Linux - Software 8 05-23-2005 10:43 AM
Samba Share SMB.CONF Access Denied mikeaustn Linux - Software 1 09-28-2004 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration