-
All replies
-
Helpful answers
-
Jul 11, 2014 6:42 AM in response to Hector Castilloby AMI289,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.
-
Jul 11, 2014 7:53 AM in response to AMI289by Douglas155,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
-
Jul 13, 2014 8:14 AM in response to Douglas155by AMI289,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.
-
Aug 20, 2014 9:48 AM in response to AMI289by Hector Castillo,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.
-
Oct 22, 2014 7:00 AM in response to William Bowden1by 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.