LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 12-19-2012, 03:14 PM   #1
ShadowCat8
Member
 
Registered: Nov 2004
Location: San Bernardino, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 261

Rep: Reputation: 52
[SOLVED] Samba file shares & Security: WinXP connects, Win7 fails


Greetings,

I encountered this problem with a client's network and thought it would be a good idea to share this info since it doesn't seem to be on the 'net anywhere. The client in question has a network that is *VERY* secure. Even their VPN has a 40-minute connection timeout.

So, I configured Samba to be secure as well by making sure that every share had browseable = no and even added the following to the end of the smb.conf:
Code:
[IPC$]
        hosts allow = 127.0.0.1
        hosts deny = 0.0.0.0/0
        browseable = no
That kills the IPC$ "share" from being accessible from outside the server.

WELL... this, in turn, kills Windows 7 authentication to any of the file shares on the server. Windows XP can connect just fine, but Win7 will keep giving you the dreaded "Error 5: Access is denied" error. Commenting it out (and restarting samba, if necessary) allows Win7 to authenticate and connect to the file shares.

This was with Samba-3.6.9.

Hope this helps others before they go bald pulling their hair out.
 
Old 01-05-2013, 03:18 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Thank you for sharing and marking the thread as solved. Off the Zero Reply List.

Kind regards,

Eric
 
  


Reply

Tags
samba security win7 winxp



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
Need help upgrading Samba B.C. Win7 Cant access shares davide123 Linux - Software 9 12-06-2010 03:13 PM
[SOLVED] After Upgrading from Win7-32 to WIN7-64 can't mount cifs shares pobrika Linux - Networking 2 07-21-2010 08:15 PM
Directory Ownership on Samba Shares [SOLVED] gw1500se Mandriva 1 05-07-2010 09:42 AM
Problems creating a dual boot WinXP (Win7) & Fedora Core9 on HP XW6400 andygravity Linux - Newbie 3 09-13-2009 05:08 PM
Samba: Can't access shares with WinXP thorax Linux - Software 14 07-28-2004 06:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:55 AM.

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
Open Source Consulting | Domain Registration