in reply to Peculiar problem with Net::LDAPS and AD LDAP
I don't have the answer, but if you have Net::LDAP parse the text filter and convert it back to text again, with something like:
$f1 = Net::LDAP::Filter->new($goodFilter); $f1->print; $f2 = Net::LDAP::Filter->new($badFilter); $f2->print;
…maybe that'll make the difference more apparent. That's what Net::LDAP is doing under the hood.
Also, error 89 (as in the resultCode value of your message object) is actually a generic param error, not necessarily a filter error, although I agree that's first place to look if you can reproduce the problems on the same searches every time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Peculiar problem with Net::LDAPS and AD LDAP
by desertrat (Sexton) on Feb 19, 2021 at 18:41 UTC | |
by desertrat (Sexton) on Feb 19, 2021 at 22:37 UTC | |
by jcb (Parson) on Feb 21, 2021 at 04:32 UTC |