[python-ldap] Ldap search doesn't return all attributes required

Michael Ströder michael at stroeder.com
Wed Jun 13 10:27:46 CEST 2012

Francisco Méndez wrote:
> The problem: not all atributtes are returned, I have no way to get
> "employeeNumber" attribute. No error given. Other attributes (cn,
> homeDirectory) are returned correctly.

Are you 100% sure that
1. the attribute is filled for all entries you read and
2. that the identity your application binds with (anonymous in your case) is
allowed to read the attribute?

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3883 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20120613/4044cfd1/attachment.bin>

More information about the python-ldap mailing list