Q: Setting one idleDisconnectFlag Clears the Others
Hi,
I'm trying to get server working the way I want on 10.11. I want to set it so afp clients are disconnected after a couple hours of being idle, but not if they have files open and not if they are Admins.
I issue this command:
sudo serveradmin settings afp:idleDisconnectFlag:adminUsers = no
Then this:
sudo serveradmin settings afp:idleDisconnectFlag:usersWithOpenFiles = No
The second one clears the first. In other words, if examine the value of afp:idleDisconnectFlag:adminUsers after setting setting afp:idleDisconnectFlag:usersWithOpenFiles, it returns _empty_dictionary.
If I set afp:idleDisconnectFlag:adminUsers = no again, then usersWithOpenFiles returns _empty_dictionary.
Is there a way to set both these flags without clearing the other?
Thanks,
Jeff
Many, Xserves, MBPs, Minis, iMacs, etc
Posted on May 25, 2016 8:36 AM