3

I have a SMB/AFP network share that needs to be accessed via Windows and Mac computers. The AFP side works fine for the Mac OS X clients.

However, I can't get it to map on Windows. I've tried the following steps:

  • Right click "Network," select "Map Network Drive"
  • Enter the SMB server in the form \\server.url.here\sharename
  • Select "Connect using different credentials"
  • Enter username and password

The window then shows "Attempting to connect" for several dozen seconds, then reverts back to asking for the username and password.

I have tried mapping two different SMB shares in this manner, one running on some version of Windows Server (our university provides this) and another running on Mac OS 10.8 server (the SMB/AFP server) with no success. I have tried on both Windows 7 and Windows 8 (various native and virtualized copies) with no success.

I have already changed the security policy to guest only authentication, which had no effect.

Help? :D

18
  • Are you able to connect to the file share directly by IP address? For example, in Windows explorer it would be something like \\192.168.1.1\sharename.
    – jmreicha
    Mar 25, 2013 at 15:34
  • No, connecting directly by IP address doesn't work.
    – jstm88
    Mar 25, 2013 at 18:39
  • So is this SMB share being done a Linux host or a Mac OS X host? Also, how exactly are you entering the credentials to connect to this share?
    – jmreicha
    Mar 25, 2013 at 19:36
  • Mac OS 10.8 host, we're entering the credentials through the dialog that comes up in Windows when you try to map a network drive. Screenshots: i.imgur.com/npxLonW.png (server) and i.imgur.com/IpJhjGf.png (trying to connect)
    – jstm88
    Mar 25, 2013 at 19:50
  • Have you attempted to authenticate with the full computer name credentials on the windows side? It would look like MAC-HOST\username and then the password? Here is an example of what I mean: andrewhazelden.com/blog/2013/01/…
    – jmreicha
    Mar 25, 2013 at 20:35

3 Answers 3

2

SMB shares are generally using NetBIOS names, not domain (DNS style hierarchical) names. Try with \\NETBIOSNAME\sharename. Make sure your Windows systems have NetBIOS over TCP/IP enabled.

1
  • We're using this over the internet, not just a LAN, so NetBIOS isn't applicable. Also, I should specify again that we can connect, it just fails to authenticate.
    – jstm88
    Mar 25, 2013 at 18:41
0

Sounds like security is setup on the Host Server. Please contact the server administrator to obtain the correct user account information. If the file server is joined to a domain, likely your PC needs to be joined to the domain and your domain account needs to be added to be allowed to access this resource.

4
  • 1
    I have no idea what you're talking about... we're using the correct account information to log into the network drive, which is authenticated by user accounts that reside on the server. I have no idea what "joining to a domain" or "domain accounts" are and how they would affect a simple file server.
    – jstm88
    Mar 25, 2013 at 0:28
  • @jfm429 - SMB and AFP are not designed to be used over the internet (Apple KB Article.) However, if you do want to accomplish this you would need to open some ports on the Firewall between the file server and the internet (Microsoft KB Article and Similar Superuser Question.) Hope this helps! :)
    – tekNorah
    Jul 28, 2013 at 6:15
  • Not exactly, we had the ports open already. We actually solved the problem by using WebDAV and just turned off SMB, so...
    – jstm88
    Jul 30, 2013 at 2:13
  • I'm glad you found a solution! If you are concerned with security, however, I would consider SFTP for exposure to external member or a secure VPN solution for an internal contractor or employee link too WebDAV security discussion
    – tekNorah
    Aug 16, 2013 at 0:28
0

What worked for me is to setup a Windows user account on Mac using "Options" button available on the File Sharing panel. It allows me to add a User name and chose a password and save.

On Windows, all I did is to Map a network drive with address \192.168.0.xx\ ip address and provide the user name (spaces also possible) and provide the password entered in step 1. It listed all the shared drives to chose from and map to a drive.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.