[python-ldap] parsing raw LDAP protocol

Michael Ströder michael at stroeder.com
Wed Apr 6 22:18:04 CEST 2011

Joe Harrison wrote:
> I'm working on a project to parse LDAP out of pcap files. Is there a
> way to (using python-ldap) hand the ldap library a raw LDAP packet to
> parse?

No, python-ldap is not capable of doing that.

Maybe you could look at the dissectors in Wireshark and wrap something from
there in a Python module.

Or http://www.secdev.org/projects/scapy/ might be worth a
look in your case too.

Ciao, Michael.

More information about the python-ldap mailing list