Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Mac Os X Server' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Mac Os X Server
Authored by: goto11 on Feb 25, '02 03:53:07PM
Mac OS X Server has the idle disconnect setting in the Server Admin module, but I wanted to see how it worked beneath the shiny GUI, so I used pwharff's tip about where to look at the settings in NetInfo Manager and see how they changed.

What I discovered will also help Mac OS X users who do not have the server version.

Under Server Admin, you would click on the File & Print tab, then click on Apple, Configure Apple File Service.... From there you will get another dialog box. Click on the Idle Users tab. You will see the following:
[ ] Disconnect idle users after [10] minutes

Except: [ ] Guests

        [ ] Registered Users

        [ ] Administrators

        [ ] Idle users who have open files

These correspond to "GuestUsrDisconnect_ON, RegtdUsrDisconnect_ON, AdminUsrDisconnect_ON, OpenFileDisconnect_ON" in NetInfo Manager. One strange thing was that, even though "[ ] Disconnect idle users..." was not checked, these flags showed up in NetInfo Manager as "ON." (Does this explain why users on my network are still getting disconnected occasionally?)

My solution was to check "[x] Disconnect idle users...", which allowed me to then then check all of the following exceptions:
Except: [x] Guests

        [x] Registered Users

        [x] Administrators

        [x] Idle users who have open files

I then clicked save and looked at the NetInfo Manager. Instead of changing the flags to "GuestUsrDisconnect_OFF," etc., it instead simply deleted those entries from the "idle_disconnect_flag" property (in other words, there was no value at all). Lastly, I unchecked "[ ] Disconnect idle users...", clicked the Save button in Server Admin and looked at NetInfo Manager. There was no change to these values, but I discovered something else...

I discovered that a property beneath "idle_disconnect_flag" called "idle_disconnect_OnOff" changes when "[ ] Disconnect idle users after [10] minutes" is checked or unchecked. A value of zero, "0", for "idle_disconnect_flag" will (I presume) prevent idle users from being disconnected, while a value of one, "1", activates idle disconnects (with the exceptions listed under the "idle_disconnect_flag" property values). The time until disconnection (here shown as "... [10] minutes" - the default) is controlled by the "idle_disconnect_time" property. Change its value to the number of minutes the server should wait before disconnecting idle users. These properties exist in Mac OS X Server and Consumer versions alike.

I hope that all of this info is helpful to everyone.

[ Reply to This | # ]
Mac Os X Server
Authored by: kegupta on Mar 17, '05 06:07:22AM

Can we disconnect a idle user on MAC OS X machine. I don't have MAC OS X server. Is it possible to provide idle time.

[ Reply to This | # ]