You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2010-03-24 22:21:37

hughesjr
Member
Registered: 2010-03-24
Posts: 2

Automate LDAP user imports

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

#2 2010-03-24 22:42:26

doum
Member
From: Nice
Registered: 2007-03-27
Posts: 1,421

Re: Automate LDAP user imports

Offline

#3 2010-03-24 22:53:30

hughesjr
Member
Registered: 2010-03-24
Posts: 2

Re: Automate LDAP user imports

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

#4 2010-03-25 00:14:38

doum
Member
From: Nice
Registered: 2007-03-27
Posts: 1,421

Re: Automate LDAP user imports

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

Board footer

Powered by FluxBB