windows 7 pro 64bit - access denied to the network share from explorer, but from cli (net use) drive mapping works
Hello! I have a windows 7 client machine (64bit). I have also a samba server with the shared folder – shared for specific users only. I can connect to this shared folder from windows xp, linux samba client, mac os X, but with windows 7 i have a strange problem. i've written many forums, was googling etc. but couldn't find any working solution. When i try to connect to the shared folder from explorer in windows 7 pro and i try to click start -> run -> \\IP.ADDRESS.OF.SERVER\ the dialog box appears where i type the credentials to this share (login and password). After successfully authentication i can see two shared folders: folderA and folderB, but, when i try to open this folder i have an error message: You don’t have right permissions to \\IP.ADDRESS.OF.SERVER. But when I try to run from CLI net use z: \\IP.ADDRESS.OF.SERVER\folderA /USER:USER PASSWORD the drive Z: appears in explorer. When I click to this drive I have an error message Access Denied. But! When i type in cli z: I can go to this mapped drive, I can do dir command and see what is in this share, I can go through the directory tree (cd command works) I even can copy to and from this share – only from command line. From explorer this doesn’t work L This is not in domain environment. This is at home I the simple workgroup. What I’ve tried… I’ve tried to change policy in secpol.msc - Browse to "Local Policies" -> "Security Options". Now look for the entry "Network Security: LAN Manager authentication level" and open it. Click on the dropdown menu and select "Send LM & NTLM - use NTLMv2 session security if negotiated". Tried also: -Enable network discovery -Turn on file and print sharing -Turn off password protected sharing -Use user accounts and passwords to connect to other computers Enable the following polices: Network access: Allow anonymous SID/name translation Network access: Let Everyone permissions apply to anonymous users Disable the following polices: Network access: Restrict anonymous access to Named Pipes and Shares Network access: Do not allow anonymous enumeration of SAM accounts Network access: Do not allow anonymous enumeration of SAM accounts and shares I have no other idea what is going on. Why I can map shared folder via CLI using net use command and from CLI can browsing this share, copy to this share and from, and why the same things don’t work in GUI (explorer). Any suggestions? P.S. sorry for my English :)
January 14th, 2012 12:44pm

Hi, Regarding the issue, please clear the NetBIOS cache and ARP cache first. Flushes the ARP cache arp -d * Flush the NetBIOS cache nbtstat -R If the issue persists, you could try to capture the network packet via NetMon. 1) Download NetMon3.4 from the following website and install it on the computer http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=983b941d-06cb-4658-b7f6-3088333d062f 2) Launch NetMon3.4 on the machine 3) In the Microsoft Network Monitor 3.4 window, click Create a new capture tab … 4) In the new tab, select all the Network Adapters in the Select Networks window. 5) Then, switch to Network Monitor, press F5 to start NetMon. 6) Reproduce this issue. 7) Go back to the NetMon window and press F7 to stop the NetMon. 8) Press Ctrl+S to save the Netmon file named test. 9) Upload the files via SkyDrive ,and post a link here. Hope that helpsWilliam Tan TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
January 20th, 2012 12:55am

Hello, thank for reply. I have only this two hosts on the segment, but i've flushed ARP, as You suggested, also i've flushed NetBIOS cache. Didn't help. I've mounted the share using CLI (net use command), and through CLI i've coppied one file from the shared folder to local hard drive (c:) - these flows was captured and are here: https://skydrive.live.com/redir.aspx?cid=32156d9364f852e9&resid=32156D9364F852E9!112&parid=32156D9364F852E9!110&authkey=!AHi4Ryc646FBAk8 next, when i clicked to the Z: drive (mapped drive - i didn't unmount this share) i had the same error message (access denied) - these flows are here: https://skydrive.live.com/redir.aspx?cid=32156d9364f852e9&resid=32156D9364F852E9!111&parid=32156D9364F852E9!110&authkey=!ADhZebzjEdVLmDU I can see in captured traffic, that when i try to access to the mapped drive through the GUI (explorer), i have access denied, but i don't know why. Why only when using GUI? Best regards, Maciek
January 21st, 2012 10:12am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics