You are not logged in.
Pages: 1
Is there currently any way to automate pulling in LDAP user information.
Basically I would like to automate the same two things that already happen if we manually do both syncs on "<glpi_server>/front/ldap.php".
Offline
Do you read the wiki ?
Offline
Yes, I did read the english wiki ... I have LDAP set up, but it does not import new users unless they login to GLPI. I would like to automate the import so that when I add new users to LDAP they are automatically imported into GLPI. This does not currently seem to happen for new users.
Offline
Sorry the english wiki is not complete
You have to create two cron task :
0 8 * * * cd /var/www/glpi/scripts && php -q -f ldap_mass_sync.php -- action=1 server_id=1
0 8 * * * cd /var/www/glpi/scripts && php -q -f ldap_mass_sync.php -- action=0 server_id=1
First line for synchronize existing users
second for import new users in LDAP
For the 8 AM it's just an exemple
Offline
Pages: 1