On Thursday, Jul 24, 2003, at 10:37 US/Pacific, Chhabria, Kavita - Apogent wrote:


Does anyone have any examples on how to use Net::LDAP::Control in order to
track changes within active directory.
I have seen examples on how to receive sorted and paged results using
LDAP_CONTROL_PAGED and LDAP_CONTROL_SORTREQUEST , however, I do not know
how to use a change tracking control such as PSearch (Persistent Search)
that is provided by the active directory using Net::LDAP::Control.

I don't think anyone has written Net::LDAP::Control::PSearch yet, but if someone does I would include it.

The POD will need to point out the caveats of a persistent search though. It is
a seach that never ends until it is abandoned. So the user *must* use callbacks


Also if the script needs todo other work then it will have to be called in async
mode and select() will have to be used on the socket.


Graham.



Reply via email to