+ Post New Thread
Results 1 to 8 of 8
Mac Thread, Login Issue and Home folders in Technical; Hi, I've recently set up a Snow Leopard Server and managed to get the MAC OS X clients authenticating through ...
  1. #1
    Unvalidated User
    Join Date
    Sep 2009
    Posts
    37
    Thank Post
    8
    Thanked 2 Times in 2 Posts
    Rep Power
    11

    Login Issue and Home folders

    Hi,

    I've recently set up a Snow Leopard Server and managed to get the MAC OS X clients authenticating through active directory. WGM is working fine and users can usually login.

    The problem Im having is that when i try to login in as any user can be Pupil or staff i get the error message

    ''You are unable to log in to the user account ''*username*'' at this time. Logging in to the account failed because an error occurred.''

    If i restart the client, then the first user is able to login but the next user cannot.

    Im not sure what is causing it but i think it may be something to do with the home folders on our fileserver. When i goto the directory utility and tick the box ''Force Local home folders'' this resolves the issue, but then creates other problems such as students saving locally instead of on the network.

    Any help would be very appreciated.

    Thanks.

  2. #2
    rbelson's Avatar
    Join Date
    Feb 2011
    Posts
    36
    Thank Post
    3
    Thanked 7 Times in 7 Posts
    Rep Power
    9
    Hi Htech, what is your domain name? If it is a .local you may get sporadic login success.

  3. #3

    Join Date
    Feb 2011
    Location
    Bristol
    Posts
    16
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    8
    I'm pretty sure this will be down to how the share that the home folders are stored on is setup. Given that the first login works fine the Mac will be authenticating against the share and then it will be locked and in use for that session using those credentials. It could be that, in testing you are logging in and out so rapidly that the Windows server doesn't get a chance to release the share before you next attempt to login. Usually there will be at least a couple of minutes before another student sits at the Mac to login at the start of a lesson.

    You may find if you restart the Mac rather than logging out it will release the share, although this isn't really a solution.

    How are you sharing the home folders from your Windows Server?

  4. #4
    Unvalidated User
    Join Date
    Sep 2009
    Posts
    37
    Thank Post
    8
    Thanked 2 Times in 2 Posts
    Rep Power
    11
    Thanks for the help so far

    restarting the mac does allow the next user to login.

    Our home folders and setup within active directory directing them to the file server.

    The home folder path is setup like this;

    Server/Drive/YearGroup/Homefolder

    Pupils have Read and List access to the server the drive and the yeargroup and full access to their homefolder.

    hope this helps.

    I've just tested and if i do wait a couple of minutes before logging back in it allows the next user to login without a problem. I guess this is acceptable but it could still cause confusion in certain lessons, is there a way of getting it to release the share on logoff?

    thanks.

  5. #5

    Join Date
    Feb 2011
    Location
    Bristol
    Posts
    16
    Thank Post
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    8
    This should do the trick and stop the Mac from locking the shares. Let me know how you get on!

    Open the Terminal in /Applications/Utilities when you're logged in as a local administrator.

    Copy and paste this line into Terminal:

    sudo open -a /Applications/TextEdit.app /etc/auto_master

    It'll then ask you to type in the admin password. Finally, in the document that opens stick a # (Alt + 3) in front of the line /Network/Servers -fstab so it should now look like this:

    # /Network/Servers -fstab

    Make sure you do it on a Mac that you're not fussed about going wrong, just in case it causes any issues.

  6. #6
    Unvalidated User
    Join Date
    Sep 2009
    Posts
    37
    Thank Post
    8
    Thanked 2 Times in 2 Posts
    Rep Power
    11
    As far as i can tell, thats nailed it. It took me a while to give myself permission to alter the file but it all seems to be working now. I can switch users as much as i need to.

    You've saved me hours of messing about with it.

    Thanks alot! wish i asked here sooner!


  7. #7

    Join Date
    Jan 2011
    Location
    Brighton
    Posts
    36
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    9
    Yes! Wish I had a script for that so I could push it out through ARD.

    M

  8. #8

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,191
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    In theory you could edit your local copy and then send it out using the ARD copy command. It should work in the same way. Just use the Root user when doing the copy and specify the full path as /etc

SHARE:
+ Post New Thread

Similar Threads

  1. Disappearing Home drive folders after first login
    By benobaggins40 in forum Windows 7
    Replies: 4
    Last Post: 3rd March 2011, 07:13 PM
  2. Windows 7 Home Folders
    By tmcd35 in forum Windows 7
    Replies: 2
    Last Post: 26th April 2010, 11:22 AM
  3. Replies: 0
    Last Post: 29th August 2009, 12:39 PM
  4. User Home folders
    By DanW in forum Scripts
    Replies: 9
    Last Post: 26th January 2009, 10:01 PM
  5. Should I use iSCSI for home folders?
    By johnnyTechy in forum Hardware
    Replies: 4
    Last Post: 12th January 2009, 05:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •