View Full Version : Account information

08-09-2007, 09:37 AM

I have set up user authentication through an LDAP directory on my MAC OS X server. I use the Workgroup Manager in order to create my users on the system. I'd like to write a script perl that would check every couple of hours if accounts are locked or not in order to unlock them. Where can I get such information on the Mac OS X server as I didn't find anything in relation with lock/unlock accounts in the LDAP directory?

Also I have set up a password policy requesting users to change their password every 31 days and I'd like to send them a mail 2/3 days before hand warning them that they will have to perform the operation soon. Where could I get this information on the server as I didn't find anything in the LDAP directory too?

For info my server is a Xserve G5 with Mac OS X Tiger 10.4.10.

Thanks in advance