Python-LDAP-dev digest, Vol 1 #179 - 1 msg
Art Vossberg
art at rtv.AWOLart.com
Fri Oct 19 17:18:43 CEST 2001
Michael Ströder wrote:
>
>As I wrote above setting the "options" attribute fails. Check out
>LDAPSession.__setattr__().
>
I believe this is the section of ldapsession.py to which you refer.
def set_option(self,name,value):
"""Set LDAPObject option or attribute"""
if self.openldap2 or name=='deref':
setattr(self.l,name,value)
Based upon the error log, this is definitely the source of (or at least
one of the sources of) my problems.
Where is the "openldap2" referred to above.
Apropos of the above I note that web2lapp/cnf.py has the following line
from web2ldapcnf import ldap_def
I have no such definition in webldapcnf. Do I need to add one and, if
so, what is the appropriate ref:
openldap2, deref, etc.
>
>
>Sorry, just removing code in web2ldap's modules isn't the solution.
>The solution is to inform the maintainer of your python-ldap RPM or
>patched source tree that attribute "version" and probably some
>others are not exposed properly.
>
I am that maintainer you speak of.
>
>Ciao, Michael.
>
--
The information contained in this message is privileged and confi-
dential. If you have received this message in error, please notify
the sender at the address or the telephone number set forth below.
Arthur E. Vossberg III
1100 Buckingham Way
Yardley, PA 19067
Telephone: +1 215 295 8207
For secure transmissions over the Internet,
please use the sender's gpg public key:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (SunOS)
Comment: Issued by art at rtv.AWOLart.com
mQGiBDurtG8RBACLL+gvAe9pkG4a45rxCAbPW+Zn+Oy0wdWy/6dQFZ91bbQsf0KM
XFm0EN/9IEqEl2H7xafjUtw4MDNVeYrKM6ikujq9zRIEP3JLCUpxX7DAQ7uK0Yq4
2+WhciR2XxQsMnUnZfd5WcNuC3MmgP6BM1h7mUjhImrxzP+jgYn3Phu+wwCgl5da
e8+JWgAJwM1Pkgi387U7s8sD/2eLgzaTLpCfJ9yFDLT6ItbtYz28LszfNCkSJRYR
pgaXaKnravHvts66PlB3Y96UAh8HMTeLHtytWS0m6UCMIDXAS9QR3JaEk2ig9Oxx
uAXgnSypCGYb5gk29AuDNNOzZfvEeGN2aUPT/TbUom7BkuraxF5WGwX3DuaSlNEE
hpAuA/4+sndzENT1uJ50A1kL2/L6Tf2u7dGgSQyKiEEeegCUWEgNS3bdmWoKzfCi
Sg2ZHFtm0k1xZTCG2lLeuZAzYv5elzk4/4op8dXJcV8qh2eClDwhDaYomLeNdWod
u3QiSDgycx+VPB+Xg35XHRw81ceNvRiAJJFPM1EX50OoiDuQprQsQXJ0IFZvc3Ni
ZXJnIChncGdVc2VyKSA8YXJ0QHJ0di5BV09MYXJ0LmNvbT6IXQQTEQIAHQUCO6u0
bwUJBaOagAULBwoDBAMVAwIDFgIBAheAAAoJELq8qjjqxHt4xEEAn3hp9PXriwv5
mAiDXgi95sq4spg/AJ46P7IMM0NkXs4yV7+47l2UFoeysrkBDQQ7q7UzEAQAuIJc
v9Zjl1qB7+lfZoaqk7FpCRO9MddH2BRkvRvCgfZUDwx8cCYtPE6HcElB06rHGVcn
y8bPbNvrZAHB058/xX46PNTH3XGkUWpwyC6y1XGbGGaNS6QaGWRGJGqFCagMg8Qf
wu6qeyYrc5pldiS0wQOnDz+Ck9gme/UzlJh1yb8AAwcD/jos272U+F5WGvwZ15jo
ic/6wF3LAZBzGEw6oyacY/qR0sesGO9PPDBvvD+93n4OB9FKjwFTeaE8IifO1nXe
TTDPqDy+eGKKCIBROtAU6SqBCzUvwfKWTs2De0z7Orru1fdruZnDW3VhKFeCD+f4
iXWSp1zGa0ZoRkjgobXNE4VziEwEGBECAAwFAjurtTMFCQWjmoAACgkQuryqOOrE
e3ilmgCcDqtqLyPmb0OOWaWP5O6FRxiZVJYAn2xHATJorP9M+TLxtrOaZV0v8NWG
=HpkW
-----END PGP PUBLIC KEY BLOCK-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20011019/5a6e17f7/attachment.html>
More information about the python-ldap
mailing list