I opened the page
"config_ui.php" and I set all the parameters , I associated the
parameter "office" (which I created in the user details ) with physicalDeliveryOfficeName.
"Times New Roman";mso-ansi-language-US;mso-fareast-language">
Great!
Then everything should be
done. The script works completely independent and is not related to osTicket's
"create new user" mechanism. We run it as cronjob and it updates the
database directly - that's why the database credentials are needed in the
config_ui page ;)
If I had not mentioned yet or
you have not read it over at github:
PLEASE
mso-fareast-font-family:"Times New Roman";color:#333333;background;
mso-ansi-language-US;mso-fareast-language">make a clone of your osTicket
installation and try with the clone, instead of your real/live system!
Now do the following to test
the script - Set the Debug to ON to see detailed log on the screen:
font-family:"Times New Roman",serif;mso-fareast-font-family:"Times New Roman";
mso-fareast-language">Debugging/Logging
"Times New Roman";mso-fareast-language">
mso-fareast-font-family:"Times New Roman";mso-fareast-language">Debug
mso-fareast-font-family:"Times New Roman";mso-fareast-language">
ON
OFF
*
And the hit the "Execute update and send logfile
button".
(To configure email you'll need to edit the smtp.php
file - not implemented in the interface yet)
If everything is the working correctly you shall see
that the script is going thru all your osTicket agent and users and will update
the missing info by inserting it directly to the database. When everything is
running smoothly you can create a cronjob / scheduled task for the script, e.g.
/usr/bin/php /srv/www/htdocs/ticket/addons/ldap_user_info/cron.php
Let me know how it works out for you ;)