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

Network Shares and Multiple Users

I have several users using the same iMacs in the office. They all have network logins using mountain lion server run off a mac mini. They share several directories that are automounted on login. The sharepoints are setup using User Groups to create their priveleges. When one user is already logged in and has their shares mounted, we are having trouble when a second user logs in. The second user is setup to have access to the same shares, but if the first user is logged in, the share points for the second user show up on the desktop with red circles with a line across them and no access. Both users are in the same User Group that ought to have access to the folders, and if either user logs in without anyone else logged in, they have access without a problem.

iMac (27-inch Mid 2011), OS X Mountain Lion

Posted on Oct 3, 2012 10:55 AM

Reply
17 replies

Oct 13, 2012 7:33 PM in response to brycesteiner

you misunderstood the situation.


here is the issue


imac 1. User A logs in and their sharepoints "Docs" and "Office" mount

User B logs into the same computer and also has access to "Docs" and "Office" but they mount with a red circle across the bottom of the folder and they cannot access them. Am i suppsed to find a way to give different IP addresses to two users that are logged in at the same iMac? How on earth could that be done?

Oct 14, 2012 8:09 AM in response to Kevin Neal

Well, i'm trying to use mac os in my medical clinic. staff often use different computers, and sometimes they just need to login to another machine to do something at that location, but don't necessarily want to log the other use out.


sounds like macos really won't allow this. i was afraid that it was going to have problems in a business environment. I'll add this to the list of its defeciencies I guess.

Oct 15, 2012 6:31 AM in response to mille1j

It may depend on the version of OS X being used but the following worked for me and may describe something that will help you.


As others here have indicated, normally you can only have once user logged in to a file server from a Mac at a time, or at least only one user that works properly. This restriction historically has applied to network login accounts and network home directories rather than a group share or a general file share. Obviously if you can't have two network logins at the same time on the same Mac, the issue of then not being able to access the same group share or general file share is not one you hit because you are blocked before that stage.


This is down to the way network shares are mounted and accessed by accounts. Normally when a network login account is used the first (and only) network login mounts their network home directory on to the client computer in the /Volumes directory. This mount is 'owned' by the user logging in and that specific mount is therefore not accessible by other users on that client Mac. What makes things particularly problematic for network home directories is that Open Directory is set to use a specific path for a user network home directory. Which leads us on to the second issue...


It is hypothetically possible to have two different users logged in on a client Mac, and have each login to the same share. If this is done, the second user cannot use the first users mount point because it is 'owned' by the first user, and the automount system will mount the share under a different path so you might end up with the following


User1 = /Volumes/FileServer

User2 = /Volumes/FileServer-1


even though they are both accessing the same share on the same server which has the same name. As mentioned above in the case of network home directories which have to be accessed via the path defined in Open Directory User2 will fail because their version of the path is different to what Open Directory says, and if they try using the path from User1 they are denied access. However for a general file share the actual path is less important in most cases so theoretically the user could go to /Volumes/FileServer-1 and access files successfully.


The real-world instance I had a similar setup that worked was as follows. I had a Mac XServe running as a Terminal Server using iRAPP. Users connected to the XServe via Microsoft Remote Desktop Client and logged in as network login accounts. I used NFS for the network home directories which avoided the issues above. However these users all still wanted to access a Mac FileServer (a different XServe) via AFP. This worked but as mentioned above each user got their version mounted with a different name. If I had five users logged in then I would have the following mounts


/Volumes/FileServer

/Volumes/FileServer-1

/Volumes/FileServer-2

/Volumes/FileServer-3

/Volumes/FileServer-4


Each of these showed up on each users desktop (via Microsoft Remote Desktop) and they could only access in the Finder their own. If I was using an Application that was using a specific file path it would potentially get confused as to which version to use, in my case this was an AppleScript but I worked round it by testing (in a loop) which version allowed access to a file without error and then knew that path was the correct one.


In conclusion you might be able to have multiple users access the same share via AFP from the same server but may find that you need to access it in a slightly different way.

Oct 15, 2012 6:38 AM in response to John Lockwood

that approach could cause issues for some types of file, I realise they said it was for medical but if any files relys on linked files these will break because of the change in file path, for instance if it was a design agency using In Design you would have missing links if you reopen the file at a later date.


This might not be an issue in this case

Oct 15, 2012 3:06 PM in response to mille1j

I tried on my computer to log into my MacMini Server with OSX 10.8.2 and it's letting me log on to it from different user accounts at the same time as another account is logged in and that includes Windows running in Virtualbox and guest account and the main account. None of them are limited at all other than permissions on the guest account but it still has access just limited. I'm not really sure what is going on with yours.

Oct 15, 2012 3:44 PM in response to mille1j

It is not a deficiency in MacOS at all. This situation exists because of the way the AFP protocol itself works. While it is technically possible to share out files using NFS or HTTPS, these are not simple things to do for a layman and require some skill at the Terminal.


What are the practical reasons for different users wanting to use the same systems at the same times? I recommend having the users stick to their own systems. If different users have different access it is better from a legal HIPAA compliance perspective. If people are sharing systems due to cost, you might look at a lower-cost solution like a Mac mini with $100 Acer monitors.

Oct 15, 2012 4:10 PM in response to bispymusic

the folders that are shared include patient education handouts, a common folder for all the incoming scanned documents, and other such materials.


clinic is fast moving, people need to be able to login and have immediate access to their systems, and then run along. logging in and out everytime, even if it only takes a minute is an unacceptable amount of wasted time. In addition, sharing computers just works for us well space wise.

Network Shares and Multiple Users

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