Closed clux closed 7 years ago
I think I know what's causing this, and I've pushed a fix to master. Could you try it out by replacing the ldap3
dependency in your Cargo.toml
with:
[dependencies.ldap3]
git = "https://github.com/inejge/ldap3"
rev = "9582a6c2860813d510487aae077ed44a692ad2b7"
and rebuilding?
Yeah, that totally passes 😄
For reference: result of the search is LdapResult { rc: 1, matched: "", text: "000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1\u{0}", refs: [] }
Great! I'll publish a new version on crates.io soon.
For posterity, integer parsing was one of things I forgot to fix in the rush to publish the first version of the crate. I did all my testing with OpenLDAP, which worked, and Active Directory probably encodes lengths in a slightly non-standard manner, which triggered the bug.
Thanks for the report!
Thanks a lot for the fix 😄
Hey, I'm trying out this library and while I may have gotten some of my internal company ldap details slightly wrong, it's quite hard to debug what's going wrong atm:
Produces the following crash:
Should be on the latest version:
Have you got any hints for debugging this?