A partir du script ldif ci dessous que nous appelerons « ldap-outlook-browse-index.ldif »
dn: oid=2.16.840.1.113730.3.4.9,cn=features,cn=config changetype: modify replace: aci aci: (targetattr != "aci")(version 3.0; acl "VLV Request Control"; allow(read,search,compare) userdn = "ldap:///anyone";) dn: cn=Outlook Browse,cn=userRoot,cn=ldbm database,cn=plugins,cn=config changetype: add cn: Outlook Browse objectClass: top objectClass: vlvsearch aci: (targetattr != "aci")(version 3.0; acl "VLV Request Control"; allow(read,search,compare) userdn = "ldap:///anyone";) vlvBase: ou=utilisateurs,dc=domain,dc=org vlvFilter: (&(mail=*)(cn=*)) vlvScope: 2 dn: cn=Outlook Browse Index,cn=Outlook Browse,cn=userRoot,cn=ldbm database,cn=plugins,cn=config changetype: add cn: Outlook Browse Index objectClass: top objectClass: vlvindex aci: (targetattr != "aci")(version 3.0; acl "VLV Request Control"; allow(read,search,compare) userdn = "ldap:///anyone";) vlvEnabled: 1 vlvSort: cn
On lance le 3 commandes shell ci-dessous :
# Creation de l'index /usr/bin/ldapmodify -h localhost -p 389 -D "cn=Directory Manager" -W < ldap-outlook-browse-index.ldif # arret du service service dirsrv@ldapmaster stop # indexation /usr/lib64/dirsrv/slapd-ldapmaster/vlvindex -n userRoot -T "Outlook Browse Index" # lancement du service service dirsrv@ldapmaster start