William Bowden1

Q: Mavericks network homes

All running well in upgrade apart from one little issue.

When a network user logs into any computer on the network all goes well until he logs off. To the user he has logged of but the server still keeps him logged on.

This is an issue if he then tries to log onto another computer, where he finds that mail etc does not work because the last computer has his network home.

If he restarts the computer this releases the Network home or if I log in as admin perform the command

 

  /sbin/umount -f  /Network/Servers/mx.anyserver.co.uk/Volumes/Server/HomesUsers

 

So Help tried a logout script but that does not work.

Set up several test servers and each time this issue occurs.

the client (10.9) does not logout properly

 

Please help very important. 

 

Last question to Apple do you test your software this was an obvious fault.

Posted on Nov 10, 2013 11:59 PM

Close

Q: Mavericks network homes

  • All replies
  • Helpful answers

first Previous Page 4 of 4
  • by AMI289,

    AMI289 AMI289 Jul 11, 2014 6:42 AM in response to Hector Castillo
    Level 1 (5 points)
    Jul 11, 2014 6:42 AM in response to Hector Castillo

    Hmm..... Let's try do another thing, see if it make any differenece....

     

    Try adding the following lines to the original script.

     

    Those lines should come after the line with the 'umount -f' command (meaning those new lines will be lines 4-6)

     

     

    do shell script "echo $'dscacheutil -flushcache' >> /Users/logouthook" with administrator privileges

    do shell script "echo $'networksetup -setnetworkserviceenabled Ethernet off' >> /Users/logouthook" with administrator privileges

    do shell script "echo $'networksetup -setnetworkserviceenabled Ethernet on' >> /Users/logouthook" with administrator privileges

     

     

    The first line clears the dns cache

    The second and third lines are just turning the Ethernet off and then on again

    Note that the second and third line will only work if the connection in System Preferences->Network actually called Ethernet.

    If it's not, just change the name accordingly, this is case-sensitive.

    For example, I'm using Macbook Pro without ethernet port, so under Network preferences I have USB Ethernet,

    So for the above code to work I need to write it like this:

     

    do shell script "echo $'networksetup -setnetworkserviceenabled USB\ Ethernet off' >> /Users/logouthook" with administrator privileges


    (I've used a backslash, if you remember our talk about spaces)

     

     

     

    Again,

    I would suggest copy-paste the whole code to AppleScript Editor on a clients computer, and run it (before saving it as Application) to see that it runs without problems.

     

     

    And Hector, just for the sake of checking,

    Would you mind trying to log in as network user A, then network user B, then network user A again,

    But this time, try using network users who have different mail providers (for example, network user A have gmail account and network user B have yahoo account).

    I want to see if it has anything to do with the fact that both are using the same mail provider.

     

     

    Cheers.

  • by Douglas155,

    Douglas155 Douglas155 Jul 11, 2014 7:53 AM in response to AMI289
    Level 1 (9 points)
    Jul 11, 2014 7:53 AM in response to AMI289

    Hi AMI289,

     

    I tried the above and it made no difference for me. It still asked for passwords for calendar and mail until restarted.

     

    Doug

  • by AMI289,

    AMI289 AMI289 Jul 13, 2014 8:14 AM in response to Douglas155
    Level 1 (5 points)
    Jul 13, 2014 8:14 AM in response to Douglas155

    Hey guys,

     

    Sorry for the late reply.

     

     

    Would you mind logging in as a network user A, then go to Finder->Utilities->Keychain Access and see where the user passwords are being saved (aka in which keychain) and post it back here.

     

     

    And then log in as network user B and do the same.

     

    And then, log in as network user A again, and check the keychain to see if any passwords from before appear there?

     

     

    Cheers.

  • by Hector Castillo,

    Hector Castillo Hector Castillo Aug 20, 2014 9:48 AM in response to AMI289
    Level 1 (20 points)
    Aug 20, 2014 9:48 AM in response to AMI289

    Hi AMI289,

    We found a post where the problem was the internal ethernet adapter and the fix was using a USB to ethernet adapter.  MacStadium replied saying they use the USB adapter a lot for the fix that they are having and we wanted to know if you think this could be related to any of our issues.  Here is a link to the post: Mavericks and Failed ARP causing network drops! Thanks again for all of your help.

  • by William Bowden1,

    William Bowden1 William Bowden1 Oct 22, 2014 7:00 AM in response to William Bowden1
    Level 1 (35 points)
    Oct 22, 2014 7:00 AM in response to William Bowden1

    Hi Guys just set up Fresh install with Server 4 and with a Yosemite Client It still fails to Log out what can I say on a plus side you can disconnect SMB logins now ( A sarcastic great ).

    Over 12 months with this Apple you should be ashamed I have lost one valuable customer due to the issue being my fault not Apples, get off the phone and sort your servers because if you don't businesses will eventual look at Windows/Linux and their PC/Phone/Tablet integration (they are slowly catching up) and once again you will fail.

    Not everyone can afford an IBM solution and todays smb is tomorrows mega corp.

first Previous Page 4 of 4