OS X Server-usr/pwd from NetInfo to PHP script

cabbage

Registered
I'm running OS X Server on this one box that is an inhouse email server for about 150 people. I entered all 150 people using the Server Admin. Installed is Squirrelmail which is a webmail written in PHP. Anyone that works here can go onto any computer and check their email in any web browser. Now I have this trouble ticket system written in PHP
http://www.shell.linux.se/spiff/phpticket.php

PHPticket stores users in a MySQL database for people to login and use. In order for this to be useful I have to enter the same 150 people that I already entered in Server Admin into the MySQL database. Squirrelmail just grabs the user info thru IMAP which I'm assuming grabs it from NetInfo on the server.

Is there a way for me to write a PHP script that can sync up with NetInfo so I do not have to type these over again. PLus it would really help if someone gets fired or there is a new hire
 
Back
Top