You can subscribe to this list here.
2000 |
Jan
|
Feb
(34) |
Mar
(9) |
Apr
|
May
(2) |
Jun
(14) |
Jul
(67) |
Aug
(34) |
Sep
(5) |
Oct
(20) |
Nov
(22) |
Dec
(31) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(15) |
Feb
(16) |
Mar
(20) |
Apr
(13) |
May
(72) |
Jun
(42) |
Jul
(41) |
Aug
(11) |
Sep
(19) |
Oct
(67) |
Nov
(59) |
Dec
(57) |
2002 |
Jan
(74) |
Feb
(69) |
Mar
(34) |
Apr
(55) |
May
(47) |
Jun
(74) |
Jul
(116) |
Aug
(68) |
Sep
(25) |
Oct
(42) |
Nov
(28) |
Dec
(52) |
2003 |
Jan
(19) |
Feb
(18) |
Mar
(35) |
Apr
(49) |
May
(73) |
Jun
(39) |
Jul
(26) |
Aug
(59) |
Sep
(33) |
Oct
(56) |
Nov
(69) |
Dec
(137) |
2004 |
Jan
(276) |
Feb
(15) |
Mar
(18) |
Apr
(27) |
May
(25) |
Jun
(7) |
Jul
(13) |
Aug
(2) |
Sep
(2) |
Oct
(10) |
Nov
(27) |
Dec
(28) |
2005 |
Jan
(22) |
Feb
(25) |
Mar
(41) |
Apr
(17) |
May
(36) |
Jun
(13) |
Jul
(22) |
Aug
(12) |
Sep
(23) |
Oct
(6) |
Nov
(4) |
Dec
|
2006 |
Jan
(11) |
Feb
(3) |
Mar
(5) |
Apr
(22) |
May
(1) |
Jun
(10) |
Jul
(19) |
Aug
(7) |
Sep
(25) |
Oct
(23) |
Nov
(5) |
Dec
(27) |
2007 |
Jan
(25) |
Feb
(17) |
Mar
(44) |
Apr
(8) |
May
(33) |
Jun
(31) |
Jul
(42) |
Aug
(16) |
Sep
(12) |
Oct
(16) |
Nov
(23) |
Dec
(73) |
2008 |
Jan
(26) |
Feb
(6) |
Mar
(46) |
Apr
(17) |
May
(1) |
Jun
(44) |
Jul
(9) |
Aug
(34) |
Sep
(20) |
Oct
(2) |
Nov
(4) |
Dec
(16) |
2009 |
Jan
(14) |
Feb
(3) |
Mar
(45) |
Apr
(52) |
May
(34) |
Jun
(32) |
Jul
(24) |
Aug
(52) |
Sep
(22) |
Oct
(23) |
Nov
(19) |
Dec
(10) |
2010 |
Jan
(10) |
Feb
(13) |
Mar
(22) |
Apr
(9) |
May
(1) |
Jun
(1) |
Jul
(8) |
Aug
(9) |
Sep
(10) |
Oct
(1) |
Nov
(2) |
Dec
(3) |
2011 |
Jan
|
Feb
(18) |
Mar
(39) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: David L. <d...@ad...> - 2004-11-18 01:16:56
|
It looks like _ldap.so module was not linked with -lber. ber_pvt_opt_on was introduced early in the openldap-2.2 branch, so OpenLDAP-2.2.17 will certainly that symbol. References: http://www.openldap.org/devel/cvsweb.cgi/libraries/liblber/options.c (1.35) d On Thu, 17 Nov 2004, Gwenaelle Demol typed thusly: > Hello David Leonard, > > I've an error when i import the product Ldap in my python2.3. Do you > recognise this error ?: > >>>> import ldap > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File > "/home/user/Zopes/m8/Python/lib/python2.3/site-packages/ldap/__init__.py", line 21, in ? > from _ldap import * > ImportError: > /home/user/Zopes/m8/Python/lib/python2.3/site-packages/_ldap.so: > undefined symbol: ber_pvt_opt_on > (i use /home/user/Zopes/m8/Python/lib/python2.3 and not the python > system) > > I work on RedHat 9.0, I've installed OpenLDAP-2.2.17 > Before install your products (python-ldap-2.0.5), i've edited the file > setup.cfg with my librairies directories. > > I have no idea about this error. Can you help me ? I searched on the web > but i don't find any solution to fix it. > > Thanks very much > Gwenaelle Demol > > -- David Leonard d...@ad... Ph:+61 404 844 850 |
From: Marc B. <ma...@ms...> - 2004-11-14 15:12:59
|
Michael Str=F6der wrote: > Feel free to contribute a platform-specific setup.cfg for addition to=20 > the source distribution under directory Build/. The text in file INSTAL= L=20 > refers to that directory under "Quick build instructions". On OpenBSD databases/py-ldap comes in two flavors: with sasl and=20 without. We can not just provide the one and only OpenBSD setup.cfg=20 because of that. And it would make no sense as python-ldap is included=20 in the OpenBSD ports collection. As the maintainer of said port,=20 questions arrise from time to time ;-) - Marc |
From: <mi...@st...> - 2004-11-14 15:02:45
|
Marc Balmer wrote: > > Why is SASL/TLS support in python-ldap not enabled by default in configure? python-ldap is built with the help of Python DistUtils. autoconf's configure is not used at all. See http://docs.python.org/dist/dist.html > Does it make sense to enable it by default on platforms that always > have tls libs, e.g. on OpenBSD? Feel free to contribute a platform-specific setup.cfg for addition to the source distribution under directory Build/. The text in file INSTALL refers to that directory under "Quick build instructions". Ciao, Michael. |
From: Marc B. <ma...@ms...> - 2004-11-14 08:19:02
|
HI Why is SASL/TLS support in python-ldap not enabled by default in configure? Does it make sense to enable it by default on platforms that always have tls libs, e.g. on OpenBSD? - Marc |
From: <mi...@st...> - 2004-11-11 21:30:05
|
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ 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. processing LDIF, LDAPURLs and LDAPv3 schema). ---------------------------------------------------------------- Released 2.0.5 2004-11-11 Changes since 2.0.4: Some small improvements for SASL: The noisy output during SASL bind is avoided now. Interaction with output on stderr can be enabled by the calling application by explicitly defining SASL flags. Removed obsolete directory Win32/. Lib/: * Make sure that ldap.sasl.sasl.cb_value_dict is a dictionary even when the caller passes in None to argument cb_value_dict * Added new key-word arg sasl_flags to method LDAPObject.sasl_interactive_bind_s() Modules/: * l_ldap_sasl_interactive_bind_s(): New key-word arg sasl_flags passed to ldap_sasl_interactive_bind_s() |
From: <mi...@st...> - 2004-11-11 08:18:44
|
Brian Beck wrote: > Bertrand Croq <ber...@fr...> wrote: >> >> I wasn't able to find a function to escape chars in DN strings, so I >>wrote this one (based on escape_filter_chars): >> >>def escape_dn_chars(s): >>[..] > > Alternatively, wouldn't using urllib.quote do nearly the same thing? > The only difference I notice is that quote uses a % as an escape > character instead of \. That's easily changed... I strongly dislike abusing urllib.quote since RFC2253 clearly defines a certain set of special chars in DNs which surely differs from special chars in URLs. > Or is there something about LDAP URIs that I'm missing? We're talking about LDAP DN string representation here (see RFC2253). Not about LDAP URLs (as described in RFC2255). LDAP URLs are handled through python-ldap's module 'ldapurl'. Ciao, Michael. |
From: Brian B. <ex...@gm...> - 2004-11-11 04:45:22
|
> > s = urllib.quote(s).replace('%', r'\') > Whoops, that should be '\\' instead of r'\' at the end there. -- Brian Beck Adventurer of the First Order |
From: Brian B. <ex...@gm...> - 2004-11-11 04:42:43
|
> From: Bertrand Croq <ber...@fr...> > To: pyt...@li... > Subject: escape_dn_chars > > Hi, > I wasn't able to find a function to escape chars in DN strings, so I > wrote this one (based on escape_filter_chars): > > def escape_dn_chars(s): > s =3D s.replace('\\', r'\5C') > s =3D s.replace(',', r'\2C') > s =3D s.replace('=3D', r'\3D') > s =3D s.replace('+', r'\2B') > return s > Alternatively, wouldn't using urllib.quote do nearly the same thing? The only difference I notice is that quote uses a % as an escape character instead of \. That's easily changed... s = urllib.quote(s).replace('%', r'\') Or is there something about LDAP URIs that I'm missing? -- Brian Beck Adventurer of the First Order |
From: Bertrand C. <ber...@fr...> - 2004-11-10 14:22:15
|
Hi, I wasn't able to find a function to escape chars in DN strings, so I wrote this one (based on escape_filter_chars): def escape_dn_chars(s): s =3D s.replace('\\', r'\5C') s =3D s.replace(',', r'\2C') s =3D s.replace('=3D', r'\3D') s =3D s.replace('+', r'\2B') return s Feel free to use/modify it in python-ldap (license: PSFL, as python-ldap) --=20 Bertrand Croq - FreesKop - Avenue Robert Schuman - 35170 BRUZ (France) http://www.freeskop.com/ - Tel: 02 99 05 04 56 - Fax: 02 99 05 96 40 |
From: Mauro C. <mci...@li...> - 2004-11-09 17:26:16
|
Jens Vagelpohl scrive: >> Anyway, I have uploaded the new binary to my homepage (the one >> referred to from http://python-ldap.sourceforge.net/download.shtml) >> where it should appear sometime tomorrow. >> >> I also have a mingw setup.cfg for our build script, which I propose >> to label the "official" win32 compiler, and therefore to remove all >> MSVC-related stuff from the HEAD branch of the source tree. I can >> provide the script on demand, I won't obvisouly attach it here to >> avoid spam. > > > I don't use Windows myself, but as someone whose software relies on > the windows library in those cases where people deploy it on Windows > I'd like to say thanks! I'd say You're welcome ;-) but I think you should rather wait and see some actual successful use cases first :-) Mauro |
From: Jens V. <je...@da...> - 2004-11-09 00:15:04
|
> Anyway, I have uploaded the new binary to my homepage (the one > referred to from http://python-ldap.sourceforge.net/download.shtml) > where it should appear sometime tomorrow. > > I also have a mingw setup.cfg for our build script, which I propose to > label the "official" win32 compiler, and therefore to remove all > MSVC-related stuff from the HEAD branch of the source tree. I can > provide the script on demand, I won't obvisouly attach it here to > avoid spam. I don't use Windows myself, but as someone whose software relies on the windows library in those cases where people deploy it on Windows I'd like to say thanks! jens |
From: Wido D. <wid...@gm...> - 2004-11-09 00:03:59
|
On Tue, 09 Nov 2004 00:46:51 +0100, Michael Str=F6der <mi...@st...> wrote: > > The solution for my problem was simpler than expected. > Thanks for letting us know. > > In my code I > > had "sasl_cb_value_dict =3D None" instead of "sasl_cb_value_dict =3D {}= ". > > After correcting this, everything worked. However it would be good if > > the developer gets a more meaningful error message than 'local error'. >=20 > Hmm, would the patch below solve this particular problem? The patch looks ok to me. Thanks for the fast response :) bye Wido --=20 Wido Depping ICQ: 51303067 AIM: wido3379 Jabber: wi...@ja... Blog: http://widoww.blogspot.com |
From: <mi...@st...> - 2004-11-08 23:51:54
|
Mauro Cicognini wrote: > I finally got around to updating my win32 binary of Python-LDAP. Thanks so much for contributing this. I will test it soon. > Anyway, I have uploaded the new binary to my homepage (the one referred > to from http://python-ldap.sourceforge.net/download.shtml) where it > should appear sometime tomorrow. Would you like to see some details explained on this web page about your Win32 build? > I also have a mingw setup.cfg for our build script, which I propose to > label the "official" win32 compiler, and therefore to remove all > MSVC-related stuff from the HEAD branch of the source tree. I can > provide the script on demand, I won't obvisouly attach it here to avoid > spam. Please send this stuff to me personally. Ciao, Michael. |
From: <mi...@st...> - 2004-11-08 23:51:54
|
Wido Depping wrote: > On Wed, 3 Nov 2004 10:05:34 +0100, Hans Aschauer <han...@ep...> wrote: > >>>SASL/GSSAPI authentication started >>>Error during LDAP bind request >>>Reason: {'info': 'SASL(0): successful result: ', 'desc': 'Local error'} >> >>This error is most likely due to a wrong setup of kerberos <-> LDAP, and has >>probably nothing to do with python-ldap. > > The solution for my problem was simpler than expected. Thanks for letting us know. > In my code I > had "sasl_cb_value_dict = None" instead of "sasl_cb_value_dict = {}". > After correcting this, everything worked. However it would be good if > the developer gets a more meaningful error message than 'local error'. Hmm, would the patch below solve this particular problem? > Beside that, I just want to say that python-ldap is a really nice > library and it has helped me a lot with my Luma development, altough I > don't use its full potential :) I look forward to luma using the full potential of python-ldap... :-) Ciao, Michael. Index: Lib/ldap/sasl.py =================================================================== RCS file: /cvsroot/python-ldap/python-ldap/Lib/ldap/sasl.py,v retrieving revision 1.11 diff -u -r1.11 sasl.py --- Lib/ldap/sasl.py 25 Mar 2004 14:57:02 -0000 1.11 +++ Lib/ldap/sasl.py 8 Nov 2004 23:44:36 -0000 @@ -46,7 +46,7 @@ question-answer pairs. Questions are specified by the respective SASL callback id's. The mech argument is a string that specifies the SASL mechaninsm to be uesd.""" - self.cb_value_dict = cb_value_dict + self.cb_value_dict = cb_value_dict or {} self.mech = mech def callback(self,cb_id,challenge,prompt,defresult): |
From: Wido D. <wid...@gm...> - 2004-11-08 23:10:54
|
On Wed, 3 Nov 2004 10:05:34 +0100, Hans Aschauer <han...@ep...> wrote: > On Saturday 30 October 2004 02:07, Wido Depping wrote: > > Hi All, > > some users of Luma ( http://luma.sf.net ) have problems with binding > > to a directory using the SASL/GSSAPI method. All these people have a > > working Kerberos environment and using SASL/MD5 work flawlessly. > > Here's the output they get from the console: > > > > SASL/GSSAPI authentication started > > Error during LDAP bind request > > Reason: {'info': 'SASL(0): successful result: ', 'desc': 'Local error'} > > This error is most likely due to a wrong setup of kerberos <-> LDAP, and has > probably nothing to do with python-ldap. The luma users might look at > > http://www.bayour.com/LDAPv3-HOWTO.html > > which is a great HOWTO for setting up a working ldap server with GSSAPI > authentication. It also explains the reasons for a 'local error'. BTW, it was > some time ago that I last looked at python-ldap, but I think that it still is > built on top of the openldap-libraries. So SASL/GSSAPI will work only if it > also works using ldapsearch (and vice versa(?)). Hi All, The solution for my problem was simpler than expected. In my code I had "sasl_cb_value_dict = None" instead of "sasl_cb_value_dict = {}". After correcting this, everything worked. However it would be good if the developer gets a more meaningful error message than 'local error'. Beside that, I just want to say that python-ldap is a really nice library and it has helped me a lot with my Luma development, altough I don't use its full potential :) mfg. Wido Depping -- Wido Depping ICQ: 51303067 AIM: wido3379 Jabber: wi...@ja... Blog: http://widoww.blogspot.com |
From: Mauro C. <mci...@li...> - 2004-11-08 22:40:41
|
Hi all, I finally got around to updating my win32 binary of Python-LDAP. The reason it took so long was that in between my last attempt and today the core OpenLDAP developers have dropped MSVC support and now Win32 platforms are officially supported through mingw32, so all my previous work of making Python-LDAP compile using the Microsoft toolchain were useless and obsolete :-( The good news is that the original developer of the OpenLDAP win32 port (his name is Lucas Bergman) resumed work on it, as a purely volounteer effort, so now we can count on OpenLDAP living on Windows for a while. So far his most important achievement has been the re-introduction of SSL capabilities (which should be promptly available through Python-LDAP too). On the other hand, the SASL developers seem to be sticking to the MS toolchain, therefore since mingw cannot build it, SASL support is not available instead... oh well. I sure hope we'll have it back sometime, but that isn't currently one of my priorities. After asking the win32 Python developers for reassurance (it turns out mingw-built extensions will work nicely with the ordinary MSVC-built interpreter), I had to learn to use mingw32, which was fun (I got around building OpenLDAP too) and actually easier than I thought. I used the very latest versions of both OpenLDAP (2.2.18) and OpenSSL (0.9.7e) so we should really be cutting edge. Anyway, I have uploaded the new binary to my homepage (the one referred to from http://python-ldap.sourceforge.net/download.shtml) where it should appear sometime tomorrow. I also have a mingw setup.cfg for our build script, which I propose to label the "official" win32 compiler, and therefore to remove all MSVC-related stuff from the HEAD branch of the source tree. I can provide the script on demand, I won't obvisouly attach it here to avoid spam. I'd be glad to hear feedback, although, as always, YMMV. All the best, Mauro |
From: Jens V. <je...@da...> - 2004-11-03 22:54:45
|
On Nov 3, 2004, at 23:15, Michael Str=F6der wrote: > Jens Vagelpohl wrote: >> All I do is remove "sasl2" from the "libs" directive in setup.cfg.=20 >> Then it compiles. Is that enough modification to qualify inclusion as=20= >> a separate sample setup.cfg? > > Well, some people might wanna get spoon-fed. ;-) > > Any other platform-specific DistUtils options for e.g. > binary packages under Mac OS X? Doing python setup.py --help-commands doesn't reveal anything special=20 for OS X. I don't think there are any OS X-related special options. jens |
From: <mi...@st...> - 2004-11-03 22:23:10
|
Jens Vagelpohl wrote: > > All I do is remove "sasl2" from the "libs" directive in setup.cfg. Then > it compiles. Is that enough modification to qualify inclusion as a > separate sample setup.cfg? Well, some people might wanna get spoon-fed. ;-) Any other platform-specific DistUtils options for e.g. binary packages under Mac OS X? Ciao, Michael. |
From: Jens V. <je...@da...> - 2004-11-03 22:04:54
|
On Nov 3, 2004, at 22:50, Michael Str=F6der wrote: > Jens Vagelpohl wrote: > > > > By default OS X does not have SASL header files. At least I cannot=20= > find > > them on my 10.3.5, even though it has sasl-libraries in /usr/lib and > > /usr/lib/sasl2 > > I'd add an example setup.cfg for Mac OS X to the source distribution=20= > under Build/ if you provide one. Hallo Michael, All I do is remove "sasl2" from the "libs" directive in setup.cfg. Then=20= it compiles. Is that enough modification to qualify inclusion as a=20 separate sample setup.cfg? jens --------------- Jens Vagelpohl je...@ze... Software Engineer +49-(0)441-36 18 14 38 Zetwork GmbH http://www.zetwork.com/ |
From: <mi...@st...> - 2004-11-03 21:52:54
|
Jens Vagelpohl wrote: > > By default OS X does not have SASL header files. At least I cannot find > them on my 10.3.5, even though it has sasl-libraries in /usr/lib and > /usr/lib/sasl2 I'd add an example setup.cfg for Mac OS X to the source distribution under Build/ if you provide one. Ciao, Michael. |
From: Jens V. <je...@da...> - 2004-11-03 21:31:00
|
On Nov 3, 2004, at 17:58, Michael Str=F6der wrote: > Kyle Mott wrote: > > > > include_dirs: /usr/local/openldap-REL_ENG_2_1/include=20 > /usr/include/sasl > > /usr/local/sasl/include/sasl > > [..] > > Modules/LDAPObject.c:20:18: sasl.h: No such file or directory > > First I don't know Mac OS X. > > But where's your sasl.h located? You have to set the appropriate=20 > include directories in setup.cfg. Or turn off SASL in setup.cfg if you=20= > don't need it at all. By default OS X does not have SASL header files. At least I cannot find=20= them on my 10.3.5, even though it has sasl-libraries in /usr/lib and=20 /usr/lib/sasl2 jens --------------- Jens Vagelpohl je...@ze... Software Engineer +49-(0)441-36 18 14 38 Zetwork GmbH http://www.zetwork.com/ |
From: <mi...@st...> - 2004-11-03 21:10:18
|
Kyle Mott wrote: > > include_dirs: /usr/local/openldap-REL_ENG_2_1/include /usr/include/sasl > /usr/local/sasl/include/sasl > [..] > Modules/LDAPObject.c:20:18: sasl.h: No such file or directory First I don't know Mac OS X. But where's your sasl.h located? You have to set the appropriate include directories in setup.cfg. Or turn off SASL in setup.cfg if you don't need it at all. Ciao, Michael. |
From: <mi...@st...> - 2004-11-03 16:39:07
|
Hans Aschauer wrote: > [to list and OP] > > On Saturday 30 October 2004 02:07, Wido Depping wrote: > >>SASL/GSSAPI authentication started >>Error during LDAP bind request >>Reason: {'info': 'SASL(0): successful result: ', 'desc': 'Local error'} > > This error is most likely due to a wrong setup of kerberos <-> LDAP, and has > probably nothing to do with python-ldap. I agree. One would also need to know which version of heimdal or MIT Kerberos and which kind of KDC this happens with. E.g. I did get such errors when using a earlier version of heimdal with a KDC of W2K3 Active Directory. In my case this was solved by upgrading heimdal. Your mileage may vary. > So SASL/GSSAPI will work only if it > also works using ldapsearch (and vice versa(?)). Yes. Best advice is to test with OpenLDAP's command-line tool ldapsearch. Ciao, Michael. |
From: <mi...@st...> - 2004-11-03 16:39:07
|
Marc Balmer wrote: > > OpenLDAP support start_tls to switch to TLS while talking to a LDAP > server. I found no reference to it in the python-ldap docs. Is it > supported after all? Yes, it is supported. Check out Demo/initialize.py in the source distribution. Hmm, it's missing in the docs... > BTW: I am not (yet) subsribed to this list, maybe you answer directly. Please subscribe. It's very low-traffic. Normally I refuse to answer direct e-mails. Ciao, Michael. |
From: Marc B. <ma...@ms...> - 2004-11-03 15:58:34
|
Hi OpenLDAP support start_tls to switch to TLS while talking to a LDAP server. I found no reference to it in the python-ldap docs. Is it supported after all? - Marc BTW: I am not (yet) subsribed to this list, maybe you answer directly. |