Hi everyone, i have a problem on my Alfresco 3.2 installation 'cause i need to filter users based on their physicalDeliveryOfficeName field value on company's LDAP server.
I read documentation, and i found i need to modify ldap-ad-authentication.properties(or ldap-authentication.properties, but ad in my case).
So… what field i need to change on it?
ldap.synchronization.groupQuery=(objectclass\=group)
ldap.synchronization.groupDifferentialQuery=(&(objectclass\=group)(!(modifyTimestamp<\={0})))
to
ldap.synchronization.groupQuery=((objectclass\=group)(physicalDeliveryOfficeName\=MYOFFICE))
ldap.synchronization.groupDifferentialQuery=(&(objectclass\=group)(!(modifyTimestamp<\={0}))(physicalDeliveryOfficeName\=MYOFFICE))
or
ldap.synchronization.personQuery=(&(objectclass\=user)(userAccountControl…..))
ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(userAccountControl…..)(!(modifyTimestamp<\={0})))
to
ldap.synchronization.personQuery=(&(objectclass\=user)(userAccountControl…..)(physicalDeliveryOfficeName\=MYOFFICE))
ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(userAccountControl…..)(!(modifyTimestamp<\={0}))(physicalDeliveryOfficeName\=MYOFFICE))
?
I looked for examples on import LDAP users based on custom fields, but i've not found any useful example. :roll:
And… what if i need to specify 2 different values in a boolean OR condition?
Thanks for support, :wink:
Fabio.