I'm actually not encoding the attribute values, Fedora Directory is, =20
so I'm just trying to find a way to deal with it. I'm just trying to =20
find out how to get the values in any form so I can work with them. =20
The return object does not contain the encoded values at all.
My current search base is:
base_dn =3D ou=3D<groupname>,o=3Dcaltech,c=3Dus
The search can be anything and it gives the same problem. For example
search =3D '(uid=3D<usename>)'
Thanks for responding.
Glenn
On Mar 4, 2006, at 5:28 AM, Bjorn Ove Grotan wrote:
> Glenn W. Bach:
>> I am doing a search:
>>
>> ldap_obj.search_s(base_dn, ldap.SCOPE_SUBTREE, search)
>>
>> and I find that the base64 encoded attributes are not returning. They
>> return just fine in php and with openldap's ldapsearch, but are =20
>> absent with
>> python-ldap with the command above. Is there a mechanism by which =20
>> I can
>> retrieve the base64 encoded attributes?
>
> python-ldap uses the api directly, and there's no need for base64-=20
> encoded
> attribute values. use utf-8 directly as its the way ldap stores its =20=
> data anyways.
>
> It would help for later reference, if you also stated the value of =20
> base_dn and search
> next time.
>
> --=20
> Regards
>
> Bj=F8rn Ove Gr=F8tan
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting =20
> language
> that extends applications into web and mobile media. Attend the =20
> live webcast
> and join the prime developer group breaking into this new coding =20
> territory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=121642=
> _______________________________________________
> Python-LDAP-dev mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
>
|