Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 18, 2013, 07:57 AM   #1
toronado455
macrumors regular
 
Join Date: Apr 2009
Windows 7 can see but not access OS X share

In OS X, Windows sharing is on and I have "Shared folder" checked on the folders I want to share. OS X can access shared folders on the Windows box, but Windows can't access the OS X shared folders. Windows prompts for a "network password". I don't know what that would be, but I set up user accounts on both machines with the same user names and passwords. I've tried entering these credentials but nothing ever works.
toronado455 is offline   0 Reply With Quote
Old Sep 19, 2013, 10:41 PM   #2
toronado455
Thread Starter
macrumors regular
 
Join Date: Apr 2009
Got this (sort of) working...

I believe the problem is that OS X isn't on the same workgroup (or ANY workgroup) as the Windows box.

In OS X, System Preferences > Network > Advanced... > WINS tab:
If I enter the NetBIOS name of the OS X computer and the name of the Windows Workgroup (default "WORKGROUP") click OK, then Apply, this fixes it and Windows can access the shares on OS X and doesn't prompt for a network password.

But it is only a temporary fix. Rebooting OS X clears out the values I entered in the WINS tab, even if I have "clicked the lock to prevent further changes".

I'm not even sure that this is the correct place to designate a Windows Workgroup name on OS X. Anyone know?
toronado455 is offline   0 Reply With Quote
Old Sep 20, 2013, 12:05 AM   #3
velocityg4
macrumors 68040
 
velocityg4's Avatar
 
Join Date: Dec 2004
Location: Georgia
You likely are just running into an issue with changes MS made in Vista's networking that still exist today. Try the following from Post #8 in the thread below. The bottom of the post was updated for there being no Local Security Policy in the Home version of Windows.

http://forums.macrumors.com/showthre...7+file+sharing
__________________
Quadra 650 040 33MHz 72MB RAM, 2GB HD, 2x CD
Macbook C2D 2.0Ghz; 3GB RAM, 500GB HD
Home Made i5 4.0Ghz, GeForce 560 Ti, 16GB RAM, 256GB SSD RAID 0, 3TB HD RAID 0 in a G5 Case.
velocityg4 is offline   0 Reply With Quote
Old Sep 20, 2013, 02:02 AM   #4
toronado455
Thread Starter
macrumors regular
 
Join Date: Apr 2009
Quote:
Originally Posted by velocityg4 View Post
You likely are just running into an issue with changes MS made in Vista's networking that still exist today. Try the following from Post #8 in the thread below. The bottom of the post was updated for there being no Local Security Policy in the Home version of Windows.

http://forums.macrumors.com/showthre...7+file+sharing
OK, yeah, thanks. I think I found your thread when I was searching for answers.

But what I really would like to know now is, on the OS X side, why don't the values I enter into the WINS tab stick?
toronado455 is offline   0 Reply With Quote
Old Sep 24, 2013, 12:44 PM   #5
itsamacthing
macrumors 6502
 
Join Date: Sep 2011
Sorry, but this has nothing to do with Vista or Win 7. This has to do with the fact that Apple dumped SMB due to licensing issues and uses a home baked SMB client that does not work well and is buggy. Like the fact that it does not show mounted SMB shares anymore in the left side of finder. The WINS bug is just one of many. If you have a domain controller, join the macs and the pc to the same domain sometimes helps. Sometimes you need to turn off file sharing and then fix the wins and then turn your file sharing back on. I have contacted Apple many times about this...you should as well.
itsamacthing is offline   0 Reply With Quote
Old Sep 24, 2013, 04:06 PM   #6
toronado455
Thread Starter
macrumors regular
 
Join Date: Apr 2009
Quote:
Originally Posted by itsamacthing View Post
Sorry, but this has nothing to do with Vista or Win 7. This has to do with the fact that Apple dumped SMB due to licensing issues and uses a home baked SMB client that does not work well and is buggy. Like the fact that it does not show mounted SMB shares anymore in the left side of finder. The WINS bug is just one of many. If you have a domain controller, join the macs and the pc to the same domain sometimes helps. Sometimes you need to turn off file sharing and then fix the wins and then turn your file sharing back on. I have contacted Apple many times about this...you should as well.
Wow. So what does Apple expect us to do? Buy OS X server?
toronado455 is offline   0 Reply With Quote
Old Sep 24, 2013, 07:51 PM   #7
alexrmc92
macrumors regular
 
Join Date: Feb 2013
Quote:
Originally Posted by toronado455 View Post
Wow. So what does Apple expect us to do? Buy OS X server?
No, OS X server has the same problems. Samba changed to the GPLv3 license and apple did not accept the license, so they made their own SMB implementation.

The easiest way to fix this is to setup an old computer as a WINS server for your local network and the OS X box can pull those wins values from the server on boot.
alexrmc92 is offline   1 Reply With Quote
Old Sep 24, 2013, 08:24 PM   #8
toronado455
Thread Starter
macrumors regular
 
Join Date: Apr 2009
Quote:
Originally Posted by alexrmc92 View Post
No, OS X server has the same problems. Samba changed to the GPLv3 license and apple did not accept the license, so they made their own SMB implementation.

The easiest way to fix this is to setup an old computer as a WINS server for your local network and the OS X box can pull those wins values from the server on boot.
Wow. This sucks. Why does Apple's SMB implementation have to suck so bad? I don't want to be running an old computer all the time just to fix this.

What if I entered a "dummy" IP address into the WINS servers list? Would that work LOL? All that's needed is for OS X to know the name of the workgroup it is supposed to be on. As long as it knows that, everything works.
toronado455 is offline   0 Reply With Quote
Old Sep 24, 2013, 08:42 PM   #9
alexrmc92
macrumors regular
 
Join Date: Feb 2013
Quote:
Originally Posted by toronado455 View Post
Wow. This sucks. Why does Apple's SMB implementation have to suck so bad? I don't want to be running an old computer all the time just to fix this.

What if I entered a "dummy" IP address into the WINS servers list? Would that work LOL? All that's needed is for OS X to know the name of the workgroup it is supposed to be on. As long as it knows that, everything works.
unfortunately no, you have to remember that apple had to write their smb code from scratch starting with lion. Maybe it's based on an old samba version though, not really sure.

perhaps you could put together a script to add the workgroup name at boot up?
alexrmc92 is offline   0 Reply With Quote
Old Sep 24, 2013, 08:53 PM   #10
toronado455
Thread Starter
macrumors regular
 
Join Date: Apr 2009
Quote:
Originally Posted by alexrmc92 View Post
unfortunately no, you have to remember that apple had to write their smb code from scratch starting with lion. Maybe it's based on an old samba version though, not really sure.

perhaps you could put together a script to add the workgroup name at boot up?
OK, I suppose I can try to be a bit forgiving of Apple then.
I like your idea about the startup script as a workaround. I used to write scripts in AppleScript years ago, maybe I can devise something.
toronado455 is offline   0 Reply With Quote
Old Sep 26, 2013, 10:42 PM   #11
mmomega
macrumors Demi-God
 
mmomega's Avatar
 
Join Date: Dec 2009
Location: DFW, TX
Mavericks and the new OS X Server should solve your problems hopefully. SMB2.
__________________
2013 iMac 27" i7, 32GBRAM, GTX780M, 256GB Flash, VESA, Yosemite
2012 Mac Mini Server w/ 23TB Storage
iPad Air 32GB, iPhone 6+ Gold 128GB, iPad Mini 16GB
3x AEBS 802.11ac, 5x AppleTV
mmomega is offline   1 Reply With Quote
Old Sep 27, 2013, 05:23 PM   #12
alexrmc92
macrumors regular
 
Join Date: Feb 2013
Quote:
Originally Posted by mmomega View Post
Mavericks and the new OS X Server should solve your problems hopefully. SMB2.
Which is a big reason i am looking forward to mavericks! Maybe we will get some other nifty things as well. We can only hope.
alexrmc92 is offline   0 Reply With Quote
Old Sep 27, 2014, 10:16 AM   #13
SStamatis
macrumors newbie
 
Join Date: Sep 2014
See your OS X from Windows 7

on Your mac computer, Go to System Preferences, check File Sharing, on New Window check "share files and folders using SMB"
On Windows file sharing bottom filed you must see your user name, press done

Go to windows pc, go to network, give user name and password !!!!
SStamatis is offline   1 Reply With Quote
Old Sep 27, 2014, 11:00 AM   #14
satcomer
macrumors 601
 
satcomer's Avatar
 
Join Date: Feb 2008
Location: Upstate NYS
Plus going from a 10.9.x or better OS X system and are trying to connect to Windows 7 or better using the string cifs:// instead of the smb://. This forces SMB2 to use the SMB1 connection instead. Windows 7 or better connects better with this command.
__________________
Mac Pro Dual 2.8 Quad(Rev B.), 16 G RAM, OS X 10.9, 23'' LCD
Mac Book Pro Core 2 Duo 2.16Ghz, SuperDrive, 2G RAM, OS X 10.7.5
iPad 3, 32 black
satcomer is offline   0 Reply With Quote
Old Oct 16, 2014, 02:25 PM   #15
followrafiki
macrumors newbie
 
Join Date: Dec 2013
Try direct IP address

We have two servers running using OS X Server, occasionally and under duress I connect with a Windows machine. One server operates as normal, the other (identical settings, even with lots of tweaks) I have the issue where the Windows machine can "see" the server but never prompts for the login information and gives me "Windows cannot access" I solved this by typing the IP address of the computer I am trying to access instead of using the host name. You can see the IP address when viewing the File Sharing panel in System Preferences.
followrafiki is offline   0 Reply With Quote
Old Oct 16, 2014, 10:07 PM   #16
toronado455
Thread Starter
macrumors regular
 
Join Date: Apr 2009
Quote:
Originally Posted by SStamatis View Post
on Your mac computer, Go to System Preferences, check File Sharing, on New Window check "share files and folders using SMB"
On Windows file sharing bottom filed you must see your user name, press done

Go to windows pc, go to network, give user name and password !!!!
Wow, way to bump a thread - one year later TO THE DAY! Thanks! I'll give this a try once I've got my network going again. I'm currently in single computer mode.
toronado455 is offline   0 Reply With Quote
Old Oct 23, 2014, 10:41 AM   #17
Gorazd
macrumors newbie
 
Join Date: Oct 2014
Hi,

run regedit.exe as administrator on the Win 7 machine.

Delete this DWORD line in the Win 7 registry and you shall be fine:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LmCompatibilityLevel

You do not need to restart the Win 7 system in order that you can now successfully connect for example to the: \\MACPRO\HARDDRIVESHARE from Win 7 machine.

You only need to fill the administrator name and password login for the Mac OSX computer and you shall now successfully map the Mac network drive on the Win 7 machine.

Best regards,

Gorazd.

Last edited by Gorazd; Oct 27, 2014 at 08:18 AM.
Gorazd is offline   0 Reply With Quote
Old Oct 23, 2014, 09:43 PM   #18
toronado455
Thread Starter
macrumors regular
 
Join Date: Apr 2009
Quote:
Originally Posted by Gorazd View Post
run regedit.exe as administrator on the Win 7 machine.

Delete this DWORD line in the Win 7 registry and you shall be fine:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsaq\LmCompatibilityLevel
Hi, what exactly does this registry edit do?
(I like to know what I'm doing and why before messing with the registry.)
toronado455 is offline   0 Reply With Quote
Old Oct 24, 2014, 08:35 AM   #19
Gorazd
macrumors newbie
 
Join Date: Oct 2014
Hi,

The registry variable:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\control\LSA\LMCompatibilityLevel

is used to set the minimum challenge/response algorithm.

The DWORD value can be: 0, 1, 2, 3, 4, 5.

Please know that the Mountain Lion OSX, Mavericks OSX and Yosemite OSX domian controllers does not accept LM, NTLM, LMv2, and NTLMv2 responses so if the Win 7 and Win 8.1 sends the LM, NTLM, LMv2, and NTLMv2 responses to MAC with these OSes it does not get responses back so the connection is unsuccessfull from the Win 7 or Win 8.1 side so the problem is in the Win 7 or Win 8.1 operating system which does not allow the connection to be made!

If you need this DWORD line in the registry you can stil connect from the MAC environment to the Win 7
or Win 8.1 shares!
But you can not connect from Win 7 or Win 8.1 environment to MAC OSX shares!

Best regards,

Gorazd.

Last edited by Gorazd; Oct 24, 2014 at 08:41 AM.
Gorazd is offline   0 Reply With Quote
Old Oct 27, 2014, 08:21 AM   #20
Gorazd
macrumors newbie
 
Join Date: Oct 2014
Hi,

you can also go to this thread:

http://forums.macrumors.com/showthread.php?t=1807636

Best regards,

Gorazd.
Gorazd is offline   0 Reply With Quote
Old Oct 30, 2014, 11:06 PM   #21
msh
macrumors member
 
Join Date: Jun 2009
Location: Redondo Beach, CA
Gorazd,

I have WIN7 Ultimate; is it safe to delete LmCompatibilityLevel as well?

Also, I have disabled smb2/3 in WIN7; can that now be safely enabled?

Finally, are you mapping the Mac shared drive to a drive letter bypassing the NETBIOS name?
msh is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
windows file share slow hehe299792458 OS X 2 Apr 27, 2014 05:45 AM
'Parallels Access' Launches in App Store, Bringing Mac and Windows Access to the iPad MacRumors iOS Blog Discussion 49 Sep 16, 2013 12:10 PM
Permanently access Windows share? zombiecakes Mac OS X Server, Xserve, and Networking 0 Apr 16, 2013 12:29 PM
Share MBAir desktop on hotel TV w/o HDMI access? PaperQueen MacBook Air 2 Aug 31, 2012 11:38 AM
How do I file share/access a NTFS harddrive from my mac over network? kettlecorn OS X 2 Jul 12, 2012 09:20 PM

Forum Jump

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

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC