You are not logged in.
Pages: 1
Hello all,
Please guide me how to automatic import users from LDAP that satisfied the filters:
basdn: ou=user, ou=office1, dc=domain, dc=com
Search firlter for users: (& (&(objectClass=user)(objectCategory=person)))
basdn: ou=user, ou=office2, dc=domain, dc=com
Search firlter for users: (& (&(objectClass=user)(objectCategory=person)))
basdn: ou=user, ou=office3, dc=domain, dc=com
Search firlter for users: (& (&(objectClass=user)(objectCategory=person)))
We have 3 offices, so please help us to automatic import using cron
I am using GLPI 0.78.5 on PHP 5.2.6-1+lenny6, apache 2.2.9
Does this http://www.glpi-project.org/forum/viewt … p?id=19098 help me? I think it will automatically import all users. I just want import the users with filters in my example above.
Thanks for helping me.
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
Ah,
If I create 3 LDAP Directory like my example above, could
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=1First line for synchronize existing users
second for import new users in LDAPFor the 8 AM it's just an exemple
automatically import users from 3 LDAP directory?
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
Pages: 1