Re: Python3 and LDAP

2009-09-24 Thread David Leonard
Yes, I think so. I outlined a plan somewhere.. The big compatibility problem is that where you once used Python2.x's strings ("str") to pass binary data, you would now have to use Python3's "bytes". And, other places where you would pass strings (like for attribute names) you might now have to

Python-LDAP for Python 3.0

2009-08-03 Thread David Leonard
I have been looking at how to build the _ldap module for python3.x. It's a pretty straightforward binary port except for one major headache with strings. So, here I'd like to propose and explain some API changes Python 3.x users. I'm focused on the _ldap module right now, but the (pure pytho

Re: Removing person names in python-ldap's source files

2008-03-20 Thread David Leonard
ke a good idea; please move my name out of source files.: you have my permission. The commit info is probably going to be sufficient :) Also, I added python-ldap to ohloh (http://www.ohloh.net/projects/11988) d -- David Leonard [EMAIL PROTECTED]

Re: Traceback with "No such object" although there is indeed such an object (works with "ldapsearch")

2007-12-19 Thread David Leonard
Martin Winkler wrote: $ ldapsearch -x -LLL "(ou=People)" -b "dc=mydomain,dc=com" l = ldap.initialize("ldap://127.0.0.1";) l.simple_bind_s("","") l.search_s('o=mydomain, c=com', ldap.SCOPE_SUBTREE, '(ou=People)')

Re: [ANNOUNCE] python-ad

2007-12-12 Thread David Leonard
sier to avoid threads when using GSSAPI. (Perhaps gss-v3 may be thread friendly?) -- David Leonard [EMAIL PROTECTED] Ph:+61 404 844 850 - SF.Net email

Re: [ANNOUNCE] python-ad

2007-12-11 Thread David Leonard
know it's kerberos and you can set KRB5CCNAME to a temporary file you can stash a delegated TGT into a temp ccache so that SASL/GSS can find it when you talk ldap. -- David Leonard [EMAIL PROTECTED] Ph:

Re: Creating Active Directory Objects

2007-11-08 Thread David Leonard
Michael Ströder wrote: David Leonard wrote: I hope someone else can chime in here with an example of sasl binds with python-ldap. See: Demo/sasl_bind.py oops, of course! thanks michael :) -- David Leonard [EMAIL PROTECTED

Re: Creating Active Directory Objects

2007-11-08 Thread David Leonard
ad through the MSDN articles to see if they provide me with any inside. I am not familiar with using SASL/GSSAPI/Kerberos to bind to AD's LDAP. Could you possibly provide me with a few steps to accomplish this? Thanks, Mike On Nov 8, 2007, at 7:48 AM, David Leonard wrote: Hi, Mike I t

Re: Creating Active Directory Objects

2007-11-08 Thread David Leonard
(look for userAccountControl on MSDN), set a compliant password, and then enable him. Regards, Geert -- David Leonard [EMAIL PROTECTED] Ph:+61 404 844 850 -

Re: Python LDAP

2007-08-11 Thread David Leonard
Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Python-LDAP-dev mailing list Python-LDAP-dev@

Re: Preparing release 2.3.1

2007-07-18 Thread David Leonard
builds is poor. A *strong* commitment of volunteers is needed... Ciao, Michael. - -- David Leonard [EMAIL PROTECTED] Ph:+61 404 844 850 - This SF.net email is