Interacting with LDAP via Python module