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
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
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]
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)')
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
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:
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
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
(look
for userAccountControl on MSDN), set a compliant password, and then
enable him.
Regards,
Geert
--
David Leonard [EMAIL PROTECTED]
Ph:+61 404 844 850
-
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@
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
11 matches
Mail list logo