gdub/python-simpleldap — pull request #4 by technivore (2014-05-05 22:15:01+00:00)
Title: Expose ldap's compare_s method

Hi there -- Great module! I was planning on writing a module that did exactly this (ldap for humans, basically) but you beat me to it. I wanted to at least add a little something though, so here is a method that lets you use ldap's compare_s method in a slightly more pythonic way, returning an actual boolean value rather than 0 or 1.