LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2008, 01:01 PM   #1
tim.kimber@altio.com
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Error smbd/service.c:make_connection_snum(1003) with Samba


Hello,

I am having issues re-establishing a connection to a samba drive. The server had to be power cycled and afterward samba connections are being refused. Errors are of the form:

[root@angel samba]# uname -a
[2008/06/17 17:32:05, 0] smbd/service.c:make_connection_snum(1003)
'/home/public' does not exist or permission denied when connecting to [sharedata] Error was Permission denied
[2008/06/17 17:32:20, 0] smbd/service.c:make_connection_snum(1003)
'/home/public' does not exist or permission denied when connecting to [sharedata] Error was Permission denied
[2008/06/17 17:32:20, 0] smbd/service.c:make_connection_snum(1003)
'/home/public' does not exist or permission denied when connecting to [sharedata] Error was Permission denied
[2008/06/17 17:32:29, 0] smbd/service.c:make_connection_snum(1003)
'/home/tkimber' does not exist or permission denied when connecting to [tkimber] Error was Permission denied

Os and machine info below:

[root@angel samba]# uname -a
Linux angel 2.6.18-53.1.21.el5xen #1 SMP Tue May 20 10:31:46 EDT 2008 i686 i686 i386 GNU/Linux

smb.conf is below:

[root@angel samba]# cat smb.conf
# Defining domain name, hostname
####################################################
[global]
workgroup = ALTIO
netbios name = angel
server string = Altio File Server
interfaces = lo eth0
#hosts allow = 127. 192.168. 10.

local master = no
os level = 33
username map = /etc/samba/smbusers

# Specifying printing subsystem
####################################################
#printcap name = cups
#printing = cups

# Defining logging facility
####################################################
log file = /var/log/samba/%m.log
log level = 2
#passdb:5 auth:10
max log size = 50

# Defining security policies
security = user
passdb backend = tdbsam

# Defining user home directories
####################################################
[homes]
comment = %U Home Directory
path = %H
valid users = %U
writeable = Yes
browseable = No

[sharedata]
comment = Integra SP - ShareData
path = /home/public
#valid users = %S
writeable = Yes
create mask = 0770
force create mode = 0770
directory mask = 0770
force directory mode = 0770
browseable = Yes

#[kiev]
#comment = Integra SP - kiev
#path = /home/public/altio/Testing
#read only = No
#browseable = No

Not sure where to look, but have tried:

restarting samba

/etc/rc.d/init.d/smb restart

and changing mode to 777 on the directory I am trying to access

I can see it is not a password issue:

[2008/06/17 17:10:24, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: authentication for user [tkimber] -> [tkimber] -> [tkimber] succeeded

No config changes were made to either the server or client (Vista). Any pointer would be much appreciated.

Many thanks,
Tim
 
Old 12-08-2010, 01:07 PM   #2
Kodi_68
LQ Newbie
 
Registered: Dec 2010
Location: Los Angeles
Distribution: RH/Fedora, Ubuntu
Posts: 1

Rep: Reputation: 0
Check you SELinux settings

I know this is an old issue, but there doesn't seem to be a reply and this is showing up on top of Google. You may need to check the security context of your files if you have the permissions setup properly from chmod.

Code:
ls -Z (or ls -alZ)
will give you the security context. Typically samba shares should have a type context of samba_share_t

Code:
chcon -R -t samba_share_t /home/public
Of course, if you need another context this may not work for you. I highly discourage putting SELinux into permissive mode to solve a problem like this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 smbd constantly spitting error messages to syslog Noffie Linux - Networking 3 04-18-2008 07:51 PM
Logs filling up with "smbd/service.c:make_connection" - "couldn't find service" DumbTerminal Linux - Networking 14 07-16-2007 07:33 AM
smbd service not recognized in FC3 gandalf2041 Fedora 4 12-20-2004 12:59 PM
smbd/service.c:set_current_service(56) chdir failed errors Medievalist Linux - Networking 0 09-02-2004 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration