CiviCRM lookups via LDAP using Python