Python LDAP

Archived

This page has been archived and will receive no further updates.

use python-ldap

LDAPObject.search() returns:

[[dn, {key: [value, value], key: [value]}], [dn, {key: value}]]

search_results[entry_index][0][DN]

search_results[entry_index][1][attribute][value_index][value]