Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-14-2006, 01:32 PM   #1
LQ Newbie
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Lightbulb Permission denied from W2K3 shares mounted by SMBMOUNT

There have been quite a few posts over the past few months surrounding difficulties folks are having mounting SMB shares from Windows Server 2003 machines using SMBMOUNT.

Several of these threads contain partial answers, but, none have solved *my* individual problem.

Let me re-state the problem, then post *my* solution, which, I hope, will solve *all* the un-resolved posts from the past.

My Windows Server 2003 (W2K3) machine is an Active Directory (AD) Domain Controller (DC). This problem only occurs on this machine. I have other machines on my local network, which do not exhibit this behavior.

My Linux machine is actually a Roku Labs HD1000 video/media player, and it seems to be running SMB 2.0.6.

The two pieces of this problem are:
1. Unable to mount W2K3 shares from SMBMOUNT (fixed by a domain controller policy change)
2. After succesfully mounting the share, unable to do anything with the folders inside the mount-point (getting "Permission denied" messages from Linux)

The first issue is addressed elsewhere, and doesn't seem to be specific to W2K3 being a domain controller.

# smbmount //HOST/SHARE /mnt/point -o rw,username=N,password=P
SMB signing is mandatory and we have disabled it

This problem is fixed by changing the Domain Controller Security Policy "Microsoft network server: Digitally sign communications (always)" to be "Disabled".

The second problem, however, when my W2K3 machine is the domain controller, is that, after changing the above policy setting, I can succesfully mount the SMB share on Linux, but ... when I attempt to use anything in the mount point, I get the following:

# ls -al /mnt/point
ls: Permission denied

I also get that message if I attempt to UMOUNT or SMBUMOUNT that share:

# smbumount /mnt/point
smbumount: Permission denied

I even get that message if I try to look at the parent directory of the mount point:

# ls -l /mnt
ls: Permission denied

The really odd part of all this is that I can use SMBCLIENT from the same machine, inspecting the very same share on the very same W2K3 domain controller, and am succesful!

SMBCLIENT works, but SMBMOUNT fails (at least after it performs the mount).

Also, if you have succesfully mounted the sahre with SMBMOUNT, but are experiencing the "Permission denied" message when attempting to use the mount point, you will find that Windows acknowledges that the mount has succesfully connected (look at Compter Management\System Tools\Shared Folders\Shares, and you will see that the "mount count" has risen to a non-zero value).

I spent several late nights searching the internet for a solution ... but didn't find one ... at least not one which summed up the problem.

I finally did stumble into a Registry hack which did not fix the problem, but in the same Registry "folder", I *did* find a solution:


The requiresecuritysignature is what I found in another article. It did not solve my problem, but setting enablesecuritysignature=0 does, in fact, solve my problem.

I hope this helps other folks facing this gnarly issue!
Old 06-14-2006, 04:33 PM   #2
LQ Newbie
Registered: Mar 2004
Location: Pennsylvania
Distribution: CentOS
Posts: 28

Rep: Reputation: 15
Yeah, I had the same problem with our Win2k3 SBS server when we got it a couple years ago. Here's what I found to help..

# Mount folder on SBS-SERVER
mount -t cifs // /mnt/folder -o username=immauser,password=passw0rd


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
smbmount - permission denied Kalidor Linux - Networking 2 02-01-2005 11:18 PM
permission problems with mounted smb shares mackayr Linux - Networking 3 12-30-2004 12:48 AM
smbmount works but I get permission denied when access the drive jeickal Linux - Networking 0 12-17-2004 12:22 PM
Permission denied to drive when mounted at boot wr3ck3d Linux - General 2 12-30-2003 04:38 AM
Accessing Win2K Shares-permission denied bdog Linux - Networking 4 01-26-2002 08:26 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:56 PM.

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