Modifier le fichier AtHocDataConfiguration.config
L'attribut que vous utilisez pour login_id doit contenir memberExport="true" dans le fichier
AtHocDataConfiguration.config
.Dans l'exemple suivant, « samaaccountname » est utilisé comme mid avant 2.0. Dans 2.0, « userPrincipalName » est utilisé comme login_id et memberExport est défini sur true.
AtHocDataConfiguration.config dans LDAP Sync version 1.2.7
<class objectClass="user" type="USER" nameAttribute="name"> <!-- Attributes to be fetched from LDAP for user --> <attributes> <!-- memberExport is optional; true indicates this attribute will be exported for static list membership sync too --><attribute memberExport="true">samaaccountname</attribute><attribute>sn</attribute> <attribute>userPrincipalName</attribute> <attribute>displayname</attribute> <attribute>userAccountControl</attribute> <attribute>mail</attribute> <attribute>telephoneNumber</attribute> <attribute>distinguishedName</attribute> <!-- Sample definition to get multi-values of given LDAP attribute --> <!--<attribute multiValued="true">objectclass</attribute>--> </attributes> </class>
AtHocDataConfiguration.config après le client de synchronisation des utilisateurs
<class objectClass="user" type="USER" nameAttribute="name"> <!-- Attributes to be fetched from LDAP for user --> <attributes> <!-- memberExport is optional; true indicates this attribute will be exported for static list membership sync too --> <attribute>samaccountname</attribute> <attribute>sn</attribute><attribute memberExport="true">userPrincipalName</attribute><attribute>displayname</attribute> <attribute>userAccountControl</attribute> <attribute>mail</attribute> <attribute>telephoneNumber</attribute> <attribute>distinguishedName</attribute> <!-- Sample definition to get multi-values of given LDAP attribute --> <!--<attribute multiValued="true">objectclass</attribute>--> </attributes> </class>