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 2012-04-26 12:07:11

DocStone
Member
Registered: 2012-04-12
Posts: 12

Automatic Ldap Sync/Import

Hi,

is it possible to create a task to automatically perform a recurring ldap syncronisation and/or import of new users?

version is 0.80.7

regards,
Jörg

Offline

#2 2012-04-26 14:05:27

tomolimo
Member
From: Grenoble, France
Registered: 2009-05-12
Posts: 515

Re: Automatic Ldap Sync/Import

yes, use the script "ldap_mass_sync.php" in glpi/scripts folder.
We did that, and it runs 3 times a day,
regards,
Tomolimo


GLPI 9.2.4 - PHP 7.2.13 x64 / ProcessMaker 3.3.0-community-RE-1.7 - PHP 7.1.24 x64 / Windows 2012 x64 / IIS 8.5 / MySQL 5.7.17 x64
Worldwide: >12316 PC, >9400 users (16 languages, >11 timezones), >360k tickets, >3600 entities, >4200 groups
Raynet is ARaymond (http://www.araymond.com) IT service management

Offline

#3 2012-04-27 20:12:34

scharpf
Member
From: Brasil - São Paulo
Registered: 2009-02-26
Posts: 65

Re: Automatic Ldap Sync/Import

Hi Tomolimo... 

Did you know way this messages appears every time I try to synchronize: LDAP Server size limit exceeded
It only works when I reduce date limit for less them 4 months...
Even when I'm trying from web.

Eduardo Scharpf


GLPI 0.90.1 / OCS Inventory 2.1.2 / OCS AGENTS  v2.1.1.1/ 1500 hosts
Debian Squeeze, Apache/2.2.16, PHP 5.4.45-1~dotdeb+6.1, MySQL 5.1.73

Offline

#4 2012-04-30 07:46:40

DocStone
Member
Registered: 2012-04-12
Posts: 12

Re: Automatic Ldap Sync/Import

thx tomolino!

will try that!

do i have to run this via cron?

regards,
Jörg

Offline

#5 2012-05-02 10:22:24

tomolimo
Member
From: Grenoble, France
Registered: 2009-05-12
Posts: 515

Re: Automatic Ldap Sync/Import

@scharpf: look into the forum, you'll find a lot about AD size limit (which is 1000).
@DocStone: cron: I don't know, I'm a Windows user... I'm using a AT command to start this script every 8 hours.
regards,
Tomolimo


GLPI 9.2.4 - PHP 7.2.13 x64 / ProcessMaker 3.3.0-community-RE-1.7 - PHP 7.1.24 x64 / Windows 2012 x64 / IIS 8.5 / MySQL 5.7.17 x64
Worldwide: >12316 PC, >9400 users (16 languages, >11 timezones), >360k tickets, >3600 entities, >4200 groups
Raynet is ARaymond (http://www.araymond.com) IT service management

Offline

Board footer

Powered by FluxBB