[python3-ldap] ldap search object

Gary Waters mr.gary.waters at gmail.com
Mon Feb 3 22:43:21 CET 2014


Hello,

When I try to search using getOperationalAttributes=True, I am not
getting all the operational attributes, particularly I am interesting in
getting nsRoleDN and nsRole.

However if I just request nsRoleDN and nsRole (with or without
getOperationalAttributes=True) I do see those attributes.

I see that in the code the variable
ALL_OPERATIONAL_ATTRIBUTES = '+'

I am new to this, but when I try this from ldapsearch on the command
line I dont see a difference. (where my filter is 'objectclass=* + 'or
just objectclass=*)

Is this because of my server?

Thanks for your help,
Gary

Ldap3 Version: I am running is from a pip install from a couple of weeks
ago. via this - 'pip install python3-ldap' in Ubuntu 13.04 and python 2.7.



More information about the python3-ldap mailing list