A l'étape création d'une nouvelle famille
Dans le fichier config.tt2 ajouter :
[% IF ldap -%] include_ldap_2level_query select2 all scope2 base suffix2 [attrs1] suffix1 ou=inpg,dc=agalan,dc=org attrs1 member user uid=standarl,ou=people,ou=inpg,dc=agalan,dc=org select1 all filter2 (mail=*) timeout1 300 ssl_ciphers ALL attrs2 mail scope1 sub host frontalannuaire.inpg.fr:389 passwd xxxxxx ------------- mettre le bon password use_ssl no filter1 (cn=[% ldap.cn %]) timeout2 300 [% END %]
A l'étape création d'un script perl générant les fichiers xml
Dans le script perl avant la ligne
print FICH " </list>\n";
ajouter
$groupe = "inpg-.........." ; ------- mettre le groupe désiré
print FICH " <ldap>\n" ;
print FICH " <cn>"."$groupe"."</cn>\n" ;
print FICH " </ldap>\n" ;