Hi,

I am attempting to run q query using a filter of expired accounts on an AD. I can run this on the command
file, or via GUI tools, however it fails when run using the perl ldap interface. My colleague suggested that it
may have something to do with the encoding of the filter. Relevent filter is;


# Execute the search
my $filter = "(useraccountcontrol:1.2.840.113556.1.4.803:=2)";

my $results = $ad->search(base=>$searchbase,filter=>$filter,attrs=>$attrs);

The filter comes from - http://support.microsoft.com/?kbid=269181

Many thanks for any assistance.

-Bob Flynn




The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: [EMAIL PROTECTED] Thank You.

Reply via email to