LDAP Polling

2008-01-28 Thread Yeargan Yancey
I am trying to use the asynchronous LDAP polling feature and have a question about what appears to be a timing issue. When I run the code below, I find that I must insert a sleep() before entering the while loop or I get a ValueError exception. If I sleep for around 0.01 seconds, the exce

Re: LDAP Polling

2008-01-29 Thread Yeargan Yancey
, 2008, at 2:48 AM, Michael Ströder wrote: > Yeargan Yancey wrote: >> >> I am trying to use the asynchronous LDAP polling feature and have a >> question about what appears to be a timing issue. When I run the code >> below, I find that I must insert a sleep() before

RE: LDAP Polling

2008-01-29 Thread Yeargan, Yancey
> Hmm, which version of python-ldap is this? Did you install from source? > > Looking at function l_ldap_result3() in Modules/LDAPObject.c I > can't figure out why a 3-tuple is returned. I did not write this > code though... > > Ciao, Michael. > Not from source. This version came with SuSE Linux

Re: LDAP Polling

2008-01-29 Thread Yeargan Yancey
python-ldap-2.0.11-14.2 On Jan 29, 2008, at 4:59 PM, Michael Ströder wrote: > Yeargan, Yancey wrote: >> >> Not from source. This version came >> with SuSE Linux Enterprise Server 10. > > What does rpm -q python-

Re: LDAP Polling

2008-01-30 Thread Yeargan Yancey
e RPM from /usr/local/ lib to /usr/lib to replace the files supplied with SLES 10. rpm -Uvh --nodeps --relocate /usr/local/lib/python2.4/=/usr/lib/ python2.4/ python-ldap-2.3.1-0.i586.rpm Thanks Michael! Sorry to waste your time. Yancey On Jan 30, 2008, at 2:13 AM, Michael Ströder wrote: &

Re: edirectory question

2010-03-11 Thread Yeargan, Yancey
Your question is really about Novell eDirectory, not the Python LDAP module; so I will provide a brief answer here and you may contact me directly for more eDirectory information. However, I would first make sure that the LDAP search base parameter is set to either "o=central" or "o=suburbs".

Re: [SPAM] Re: CONNECTING FROM A SERVERS POOL

2010-03-29 Thread Yeargan, Yancey
database. The LDAP API itself does not provide for this sort of complex behavior. The level of redundancy you seek is not easy. Yancey On Mar 29, 2010, at 1:03 PM, Alberto Luengo Cabanillas (Pexego) wrote: Yeargan, Yancey wrote: I think it is as simple as using multiple URL values separated with

LDAP for Python 3.x

2011-02-22 Thread Yeargan, Yancey
Michael, have you made a decision about whether to start an entirely new code base for Python 3.x? I have a small need for a threaded application using LDAP. Now that Python 3.2 has addressed some issues with threading and the GIL, I'd like to pursue this. Of course, I'll need an LDAP module t