Re: ldap.OPT_X_SASL_NOCANON (was: ANN: python-ldap-2.3.8)

2009-05-09 Thread Geert Jansen
2009/5/4 Michael Ströder : > Ok, committed in HEAD. Please test. I've tested current HEAD and it works for me. > Is it urgent to have that in a generally available release? Not really urgent but it would be good if a new release was made in the next 2-3 months or so. This would ensure that the

ldap.OPT_X_SASL_NOCANON (was: ANN: python-ldap-2.3.8)

2009-05-04 Thread Michael Ströder
Geert Jansen wrote: > 2009/5/3 Michael Ströder : >> Why didn't you patch LDAP_get_option()? > > That is an oversight. It should be updated as well. New patch attached. > >> If I also extend LDAP_get_option() l.get_option(ldap.OPT_X_SASL_NOCANON) >> will always return -1 if set to any value instea

Re: ANN: python-ldap-2.3.8

2009-05-04 Thread Geert Jansen
2009/5/3 Michael Ströder : > > Why didn't you patch LDAP_get_option()? That is an oversight. It should be updated as well. New patch attached. > If I also extend LDAP_get_option() l.get_option(ldap.OPT_X_SASL_NOCANON) > will always return -1 if set to any value instead of 0. Is that correct? Yes

Re: ANN: python-ldap-2.3.8

2009-05-03 Thread Michael Ströder
Geert Jansen wrote: > > could you have a look at the patch that i submitted a while ago to > expose LDAP_OPT_X_SASL_NOCANON? This option is a new LDAP option that > disables SASL host name canonicalization. It is very useful in Windows > AD environments. Sorry, this was still in the pipe. Questi

Re: ANN: python-ldap-2.3.8

2009-05-03 Thread Geert Jansen
Hi Michael, could you have a look at the patch that i submitted a while ago to expose LDAP_OPT_X_SASL_NOCANON? This option is a new LDAP option that disables SASL host name canonicalization. It is very useful in Windows AD environments. Patch attached. References: - http://sourceforge.net/mail

Re: ANN: python-ldap-2.3.8

2009-04-30 Thread Zhang Huangbin
Michael Ströder wrote: > Find a new release of python-ldap: > > http://www.python-ldap.org/ > Thanks for your great work, Michael. ^_^ -- Best regards. Zhang Huangbin - Open Source Mail Server Solution for RHEL/CentOS 5.x: http://code.google.com/p/iredmail/ --

ANN: python-ldap-2.3.8

2009-04-30 Thread Michael Ströder
Find a new release of python-ldap: http://www.python-ldap.org/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. processin