Reputation: 192
I'm writing application that sync users and groups from Active Directory. Specifically, I need to track their IDs, DNs and group membership, save them to local database.
I'm afraid of member
attribute, as it can possibly have millions of values.
Production environments have been reported to exceed 4 million members, and Microsoft scalability testing reached 500 million members.
I'm using LDAP, UnboundID SDK.
DirSync
, but with USNChanged
approach?As mentioned in microsoft docs, there are three ways to do synchronization:
USNChanged
-- the most compatible way.DirSync
-- required near admin authorities, can sync only whole domain (partition), syncing arbitrary subtree is not possible. Returns only updated attributes, iterative updates for multi-valued attrs are possible.Change Notifications
-- async search request, scope can be BASE or ONE_LEVEL, can have up to 5 searches per connection. Each change sends the whole object.I'm implementing USNChanged
, cuz it's advised.
This is how to read attribute with a lot of values.
Upvotes: 0
Views: 396