Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't connect PC to OS X Mountain Lion Server

Classic dilemma, but either the screens have changed with Mountain Lion or the entire problem has. For better or worse, I upgraded to Mountain Lion Server, and now I can't get into with my desktop PC (very important workstation). I can see the Mac on my PC work, but can't log onto it. Could someone either describe the steps or connect me to a doc that does?


I can log onto my PC just just fine with any of my Macs, but not vice versa. In particular, I'd like to get onto to the big external HDD where my docs are.


I've searched the Internet, but all the older solutions don't seem to apply. THANKS!

Mac mini, OS X Mountain Lion, Core i7 Quad-core Server

Posted on Aug 21, 2012 12:24 PM

Reply
Question marked as Best reply

Posted on Aug 21, 2012 12:34 PM

Hi Arthur,


Is your PC bound to the OS X Server Open Directory? I'm not quite understanding your configuration. More details would be helpful.


Jaime

28 replies

Aug 21, 2012 3:05 PM in response to JaimeMagiera

Jaime, I don't blame you for not understanding! It kind of grew like Topsy. Started out as a Windows peer-to-peer Lan.


Then I got a Macbook Pro, then a Mini, then another-- and then I got a Mac Mini Server to organize my 4-Mac network. It's not doing anything fancy. The only modules that I'm using are iTunes, Time Machine backups, Updates and File-serving.


So I've got TWO networks -- one PC and one Mac -- and I'd like to start uniting it. First, I'd like my main PC to be able to access the MS Office files on the server. If I could also attach another drive to the Mac server for a PC backup destination, that would be gravy.


Right now, I can SEE the Macs on my PC Network, but I can't get into the server. When I click on the icons, I'm asked for a network password. So I provide a name and password that's recognized on the Mac -- but I still get the message: "Logon failure: incorrect name or bad password."


Truthfully, I don't even know what the OS X Server Open Directory is, much less how to bind a PC to it. If you'd like to let me in on that, I might get somewhere.



Thanks so much for your help! Arthur

Aug 21, 2012 7:05 PM in response to Arthur_P_Johnson

OK, Arthur. Let's start at the beginning. What you are doing is called accessing a "share" of the Mac OS X Server. What you want to do is go to Server.app on the server, select "File Sharing" from the left side. You will see a list of Shares that are already pre-configured (usually, "Users", "Groups", "Public"). You can also add a new Share by clicking the "+". Once you've decided to modify a current share or add a new one, double click to edit the share. Make sure that the user you are trying to log in as has appropriate permissions in the "Access" pane at the top of that edit window. In other words, make sure that either the user you want to log in as is allowed to at least read (generally Read & Write), or make sure that a group the user is a member of has Read (& Write). Also make sure "Share with Windows Clients (SMB)" is checked.


Does that help?

Aug 25, 2012 8:08 PM in response to Arthur_P_Johnson

Jaime, I followed Your instructions to the letter, and unfortunately they did not help. This was no fault of yours, and in fact your instructions are so good, that I unhesitatingly will say "this helped me."


My own case was a lot more obscure but, I fear, it's going to be increasingly common. Specifically, I placed a couple of cloud service repositories -- DROPBOX and WINDOWS LIVE MESH -- within my network shares.


I have scoured the Internet for step-by-step directions that bid you beware of this arrangement. Some IT pros would say it's unnecessary, because only an idiot would place an automated Internet share within a network share.


I, however, am such an idiot. And I didn't do it on purpose, it was just that, well, one day I installed a couple of these services. and the next day I upgraded to Mountain Lion. Then I finally got around to installing the Mountain lion version OS X server, by which time any thought of those "free" cloud services had departed my mind, network and universe.


Unfortunately, the services themselves were still there. INSIDE my network shares. Where they snarled things up hopelessly.


Note to the NSA: Forget Stuxnet. Give your adversaries Google Drive. They're done for.


So I removed Live Mesh and Dropbox, and Presto -- my Windows 7 Machines suddenly cozies up to my Macs. We're one big happy, eclectic, Windows-Mac, mobile-desktop-lap-happy family. Still haven't figured out how to reinstall Live Mesh, but it probably doesn't matter since it's on the Whack List.


THANKS for your help, Jaime, and if you can help meet with the reinstall of live mesh, I'd be most grateful. suspect there are parts of that lingering somewhere in the hidden libraries, and until I'm able to remove these I'll never be able to reinstall. The important outcome, however, is that my network is running smoothly again. Maybe I should just Letit Be.

Aug 25, 2012 8:20 PM in response to Arthur_P_Johnson

PS please excuse the typos and grammatical errors in my previous post. Chalk it up to voice-to-text on an iPad. That, plus a brain fried from staying up late last night to parse the Apple-Samsung verdict. Like many, I own products from both companies, and I don't merely like them all— I am actually trying to NETWORK THEM ;-) apj

Oct 2, 2012 9:40 AM in response to Arthur_P_Johnson

This is a bug in Lion that has killed me trying to figure it out. I finally worked out what it was and it is exhaustively frustrating! We use a Mac Mini to run our entire server environment in our studio where we host Mac, Windows XP, Winsows 7 and Limux RedHat machines. Here is the fix (you'll be mad so I apologize in advance!)


EVERYTIME YOU REBOOTR YOUR MAC SERVER DO THE FOLLOWING:


1) Goto Server Prefs/File Sharing

2) There is an "OFF/ON" switch at the top. This should currently be in the "ON" position.

3) Slide it to the "OFF" position.

4) Slide it back to the "ON" position.

5) Wait for the spinning wheel at the bottom right of the systems pane to stop spinning.

6) Reconnect using your windows machine.


Should solve eveyone's problems! Should work for Windows XP and 7 machines.


Hope this helps because I lost all my hair and it's not growing back! :-s

Nov 8, 2012 11:47 AM in response to Arthur_P_Johnson

Just for anybody's information.

I had the same problem after upgrade the Mac OS X Mountain Lion Server to 10.8.2.

All and everything I did find and know didn't work.

The solution was very silly, as I didn't think about that.

I had to set inside "System Extensions - > Network --> Ethernet 1 (or the type of connection you have set) --> Options --> WINS" the NetBIOS Name to the very same name as the server has in the DNS as well as the workgroup the be set to "WORKGROUP", if not declared differently.


After this, we had NO problems to access from within Parallels and WIN 7.

OK, there are some OD and KB errors about LM and LMv2 and so on, but it works.


All the best from Switzerland after 8h of continuous searching the problem.

Regards

Thomas Thaler

Nov 8, 2012 3:46 PM in response to Thomas Thaler1

Thomas, I wish I was able to label your answer "this solved my problem" because I lost connectivity again after an update and was tearing my hair out. Tried your solution and BINGO, problem solved. Let me add for others that what you're referring to as "System Extensions" is actually SYSTEM PREFENCES in the English version of OS X. Other than that, your directions are spot. Thank you so much! I have made a PDF of your post in case some update breaks my connection again.

Nov 9, 2012 10:58 AM in response to Arthur_P_Johnson

This is incredibly easy. I spent two hours looking for the solution to connect my Windows 7 Home PC to my Mac Mini with Mountain Lion installed.


This solution works flawlessly:


Make sure SMB File sharing is enabled in your Apple system preferences under the sharing tab (there are lots of easy to find instructions if you don't know how.

Accessing Shared Folders From Windows 7

  1. On your Windows 7 PC, select Start.

  2. In the Search Programs and Files box, enter the following:
    Run
  3. Press enter or return.

  4. In the Run dialog box, type in your Mac's IP address. Here is an example:
    \\192.168.1.37
  5. Be sure to include the \\ at the beginning of the address.

  6. If the Windows 7 user account that you are logged in with matches the name of one of the Mac user accounts you specified in the previous step, then a window will open with a list of shared folders.

  7. If the Windows account you're logged in with does not match one of the Mac user accounts, you will be asked to supply a Mac user account name and password. Once you enter this information, a window will open displaying the shared folders.

You can now access your Mac's shared folders on your Windows 7 PC.

Just create a shortcut on the desktop!


Courtesy of: http://macs.about.com/od/filesharing/ss/Share-Os-X-Lion-Files-With-Windows-7-Pcs _6.htm

Nov 9, 2012 3:57 PM in response to larry baltz

Larry, this will work for SOME users but not all. If the WINS tab in SYSTEM PREFERENCES is not filled out to make the Mac a member of your Windows workgroup —as explained above by Thomas Thaler 1 —then you'll get bounced back and asked for proper credentials endlessly. Something about the Mountain Lion update wiped out all the info on that tab in my Mac Mini server, and like Thomas, I spent hours banging my head against the wall. (The fact that this omission results in you being told you're submitting improper credentials got me going down the wrong path trying to solve it. But NEVER in a month of Sundays would it occurred to me to look at that tab in network preferences.)


This was especially annoying because I'd gone to all the trouble of creating a couple of WebDAV folders to which we could print out stuff in PDF form from our iPads (with help from Printopia)— very handy way of collecting receipts and acknowledgments. Everything was running like a watch until Mountain Lion accidentally broke that feature of the network. Anyhow, your instructions are good for the PC side of the task — but I've never seen Thomas's procedure for the Mac laid out anywhere else. Do both and you're good to go.


PS I really wish there were an e-booklet that laid out ALL the settings everywhere that will result in a smoothly running filesharing system between Macs and PCs on the same LAN.


Message was edited by: Arthur_P_Johnson

Nov 10, 2012 9:41 AM in response to Arthur_P_Johnson

Arthur,


Understood. I also should point out that I was in error in that these instructions were intended for Mountain Lion, not Mountain Lion server. I have 3 Macs and 3 Windows machines on my network (no server) I didn't have to follow Thomas' instructions perhaps because I am not running server software? I am still nowhere close to a Mac expert. I'm far more proficient with Windows...


Cheers!

Dec 5, 2012 3:50 AM in response to motorvfx

motorvfx,


I have been struggling with the same thing for days...

I love your fix, it works great to repopulate the NetBIOS name and Workgroup in the "WINS" network setting pane that is misteriously erased by OSX at reboot.

And then sharing from Windows computer works like a breeze....


Would anybody have an idea on how to automate this procedure during or after the Boot ?


Thx all,

Dec 12, 2012 11:49 AM in response to Clemgill

Hi,


I answered my own question by developing the following Script that fully automates the cycling of the file sharing switch. It was quite tricky to get there, but had fun.

If its of any use to the community... And if anyone has suggestions to improve it...


Cheers,


-------------------------------------------------------------------------------

#This script cycles the file sharing switch OFF and ON, to force the "NetBIOS name" and the "Workgroup name" to re-appear in the Network "WINS" window. This is mandatory to allow SMB sharing from an external windows computer. OSX erases it at reboot for some reason … (bug?)


#Please adapt the words in quotes of this section according to the language of your computer (as you will notice, mine speaks French)

set Sharing_pane to "Partage"

set File_sharing_Off to "Partage de fichiers : désactivé"

set File_sharing_On to "Partage de fichiers : activé"


#Change "…" hereafeter with your own "password"

set Pass_word to "..."


tell application "System Preferences"


revealanchor "Main" of paneSharing_pane


run

end tell


tell application "System Events" to tell window Sharing_pane of application process "System Preferences"



# Unlock modifications


clickbutton 4

tell application "System Events" to tell window 1 of process "SecurityAgent"

set value of text field 2 of scroll area 1 of group 1 to Pass_word


delay 1


clickbutton 2 of group 2


delay 1

end tell



# If file sharing is ON than click it OFF

if (get value of checkbox 1 of row 2 of table 1 of scroll area 1 of group 1) = 1 then


clickcheckbox 1 of row 2 of table 1 of scroll area 1 of group 1


delay 1


# Next section waits for actual confirmation

repeat 15 times

if (name of static text 1 of group 1) is File_sharing_Off then

exit repeat

else


clickcheckbox 1 of row 2 of table 1 of scroll area 1 of group 1

delay 0.5

tell current application to beep 1


#Beep to indicate we had to click twice

end if

end repeat

end if



# If file sharing is OFF click it ON in any cases

if (get value of checkbox 1 of row 2 of table 1 of scroll area 1 of group 1) = 0 then


clickcheckbox 1 of row 2 of table 1 of scroll area 1 of group 1


# Next section waits for actual confirmation

repeat 15 times

if (name of static text 1 of group 1) is File_sharing_On then

exit repeat

else


clickcheckbox 1 of row 2 of table 1 of scroll area 1 of group 1

delay 0.5

tell current application to beep 2

end if

end repeat

end if



# Lock modifications


clickbutton 4

delay 0.5



#Back to main window


clickbutton 1 of group 1 of group 2 of tool bar 1

end tell


tell application "System Preferences" to quit


# Beep four times to tell its done

tell current application to beep 4

-------------------------------------------------------------------------------- -----

Can't connect PC to OS X Mountain Lion Server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.