I am currently running the following within an engine we built in powershell to isolate individual users that need to be updated from active directory rather then running a full system import/sync.
pdm_ldap_import -l "userid = '$name'" -c "userid = ?"
The problem is with how our OU structure is setup the scan for each individual run has to be done at the root directory. Which takes about five-minutes per person to run. Which is a bit timely when your looking at 10+ records that may come through during the last scan period.
Is there a way to define a specific search base within the pdm_ldap_import to confine where it is looking for the end user specified in the userid?
Appreciate your insights!