leonhandreke/ldapom — pull request #5 by f1ori (2013-08-14 13:06:09+00:00)
Title: Refactor code more compact

I implemented your sugestion. I don't see, why this shouln't work, if a subset of attributes is fetched. ldap.LDAP_MOD_REPLACE is a per attribute operation, so attributes which aren't mentioned, won't be touched.

Btw. the code supports fetching a subset of attributes: the parameter retrieve_attributes of search is passed to _raw_search