LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 09-04-2009, 11:05 AM   #1
Zarniwoop79
Member
 
Registered: Jul 2009
Location: Göteborg, Sweden
Distribution: Mandriva
Posts: 31

Rep: Reputation: 3
mount error 13 = Permission denied, when trying to access an smb share


Hello!

I'm trying to setup a samba share on an "old" computer running Xubuntu 8.04LTS. I've configured the smb.conf in several ways, and by using a command found in a different forum I've discovered that the share is there, but when I try to mount it I get:

mount error 13 = Permission denied

I try to connect using a username that's setup on the server (right now I'm actually trying from the server), and the password that works on that computer, so what am I doing wrong?

I've been fiddling with PAM at work a little bit, is that something I need to setup to get it to work, or what is wrong?
 
Old 09-04-2009, 11:11 AM   #2
Zarniwoop79
Member
 
Registered: Jul 2009
Location: Göteborg, Sweden
Distribution: Mandriva
Posts: 31

Original Poster
Rep: Reputation: 3
I see that someone else has asked about a similar thing. I just tried mounting with "smbfs" instead of "cifs", and that didn't work either unfortunately...
 
Old 09-13-2009, 06:59 AM   #3
Zarniwoop79
Member
 
Registered: Jul 2009
Location: Göteborg, Sweden
Distribution: Mandriva
Posts: 31

Original Poster
Rep: Reputation: 3
Hello!

I didn't get any suggestions, but finally I found the solution myself so I'm writing it here for any users with the same problem.

The solution was that even though the user existed on the host system I needed to add it to the samba server aswell. This is done by typing:

smbpasswd -a username

And then you just enter the password you want (twice), and restart the server with:

smbd restart

And it works. I'm still having problems with permissions, but now I can connect atleast.
 
1 members found this post helpful.
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with mounting samba share: smbmount or mount.cifs error: permission denied wdli Linux - Server 1 08-11-2009 11:31 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
Permission Denied Error Message when trying to mount an NFS share kaplan71 Fedora 1 02-14-2009 07:26 AM
Permission denied trying to mount nfs share leupi Linux - Networking 1 07-30-2007 01:32 AM
Samba Share SMB.CONF Access Denied mikeaustn Linux - Software 1 09-28-2004 03:14 PM


All times are GMT -5. The time now is 02:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration