LinuxQuestions.org
Register a domain and help support LQ
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 12-15-2007, 11:58 AM   #1
pccdrussell
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 62

Rep: Reputation: 15
Samba Share Mounts but Permission Denied


Hello, I am trying to mount a share from a Windows 2003 server. My overall goal is to do it with pam so when a user logs in it will mount their home directory. (I can figure that out once I get this solved). But, when the share mounts, it says Permission denied. I first started by using pam_mount. And I thought maybe I had something wrong in there, so I manually mounted the share, but same thing. Permission Denied. So I guess my question is, am I doing something wrong on my Linux box, or Windows (I don't know anything about Windows, so I assume thats where the problem is) **One thing to note, the Windows share is "hidden, e.g. share$** Don't know if that causes problems. But, here is the command I issued....
Code:
mount -t smbfs //WINSERVER/share$ /mnt/home_share/ -o username=Administrator
Appears as though it mounts fine, but when I navigate to /mnt/home_share, nothing....here is df -h
Code:
/dev/sda2              11G  2.6G  7.5G  26% /
udev                  2.5G  136K  2.5G   1% /dev
/dev/sda3              57G   49M   57G   1% /home
df: `/mnt/home_share': Permission denied
Any ideas would be greatly appreciated, and if more info is needed, I would be glad to supply that.
Thank You!
 
Old 12-16-2007, 06:21 AM   #2
firsttux
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
The hidden share does not cause problem I have multiple hidden shares and everything works well. I think that the problem is on Windows machine. Check share premissions and security parameters on the share$. You have to allow the user Administrator to access the share$. Also try to set password to user Administrator, and mount it as

mount -t smbfs //WINSERVER/share$ /mnt/home_share/ -o username=Administrator,password=administrators_password
 
  


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
Permission denied trying to mount nfs share leupi Linux - Networking 1 07-30-2007 01:32 AM
nfs share: permission denied Kropotkin *BSD 11 01-10-2007 08:15 AM
Samba mounts share under wrong username Marinus Linux - Server 4 01-09-2007 08:25 AM
Can't access my linux share through samba. I get permission denied. mlsbraves Linux - Software 1 08-16-2005 07:59 PM
Mounting an nfs share - Permission Denied doctorwebbox Linux - Networking 5 05-30-2005 01:45 AM


All times are GMT -5. The time now is 07:29 AM.

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