|
From: <mba...@me...> - 2002-07-26 18:25:15
Attachments:
"mbagepll.vcf
|
To compile openldap-2.0.25, I followed the INSTALL manual. I did the following: 1) ./configure --disable-slapd --disable-slurpd --with- python=/opt/local/web/zope/bin/python 2) make depend 3) make when run the make command, I get the following errors. ld: fatal: library -lsasl: not found ld: fatal: File processing errors. No output written to .libs/libldap.so.2.0.16 *** Error code 1 make: Fatal error: Command failed for target `libldap.la' Current working directory /opt/local/web/ldap/openldap- 2.0.25/libraries/libldap *** Error code 1 make: Fatal error: Command failed for target `all-common' Current working directory /opt/local/web/ldap/openldap-2.0.25/libraries *** Error code 1 make: Fatal error: Command failed for target `all-common' I checked the /opt/local/web/ldap/openldap-2.0.25/libraries/ for 'libldap.la' file and there was not one. Instead it has a libldap folder. I checked to see if the file exists there, but could not find one. Am i missing something here? --Madhavi |
|
From: <mba...@me...> - 2002-07-26 18:45:38
Attachments:
"mbagepll.vcf
|
Hi, Even when I configure openldap-2.0.25 with cyrus-sasl, I get the same errors when I run the 'make' command. --Madhavi |
|
From: Joe L. <jl...@op...> - 2002-07-26 18:49:32
|
I can only guess that it cannot find the cyrus-sasl libs. Check the library path. On Friday, July 26, 2002, at 11:45 AM, <mba...@me...> wrote: > Hi, > > Even when I configure openldap-2.0.25 with cyrus-sasl, I get the same > errors when I run the 'make' command. > > --Madhavi > <mbagepll.vcf> |
|
From: Joe L. <jl...@op...> - 2002-07-26 18:30:00
|
OpenLDAP depends on the cyrus-sasl package.. Though you can install OpenLDAP without it, the python-ldap API links to that package as well via OpenLDAP libs. On Friday, July 26, 2002, at 11:25 AM, <mba...@me...> wrote: > To compile openldap-2.0.25, I followed the INSTALL manual. > I did the following: > > 1) ./configure --disable-slapd --disable-slurpd --with- > python=/opt/local/web/zope/bin/python > > 2) make depend > > 3) make > when run the make command, I get the following errors. > > ld: fatal: library -lsasl: not found > ld: fatal: File processing errors. No output written > to .libs/libldap.so.2.0.16 > *** Error code 1 > make: Fatal error: Command failed for target `libldap.la' > Current working directory /opt/local/web/ldap/openldap- > 2.0.25/libraries/libldap > *** Error code 1 > make: Fatal error: Command failed for target `all-common' > Current working directory /opt/local/web/ldap/openldap-2.0.25/libraries > *** Error code 1 > make: Fatal error: Command failed for target `all-common' > > I checked the /opt/local/web/ldap/openldap-2.0.25/libraries/ > for 'libldap.la' file and there was not one. Instead it has a libldap > folder. I checked to see if the file exists there, but could not find > one. > > Am i missing something here? > > --Madhavi > > <mbagepll.vcf> |
|
From: <mi...@st...> - 2002-07-26 18:53:16
|
Joe Little wrote: > OpenLDAP depends on the cyrus-sasl package.. Though you can install > OpenLDAP without it, Yes, ./configure --without-cyrus-sasl is the solution if one does not need SASL support. > the python-ldap API links to that package as well > via OpenLDAP libs. Only if line "libs" in setup.cfg contains "sasl" which is not the way it is shipped in the download distribution. There are other dependencies like StartTLS support which needs OpenLDAP libs built with OpenSSL (--with-tls). One can switch that off by editing the DEFINEs in setup.py. Ciao, Michael. |
|
From: Jacob B. <po...@bi...> - 2002-07-26 19:01:08
|
Hi,
I'm new to this group so if I'm out line with any of my questions please
let me know.
I'm building an intra/extranet in Zope and as my company already has all
the groups and users defined in a MS Active Directory system, I'm trying
to link Zope to our AD server using LDAP. I've installed the LDAP
module for python and the ZLDAPAdapter for Zope seems to be working.
But when I try to use it I get the following Zope error:
"Zope has encountered an error while publishing this resource.
Error Type: DECODING_ERROR
Error Value: {'desc': 'Decoding error'}"
I understand that this means that python couldn't interpret the response
it got from my AD server. Is there a way for me to see the response?
Has anyone tried this before? I could use a little guidance.
Thanks,
Jacob Behm
|
|
From: <mi...@st...> - 2002-07-26 19:13:11
|
Jacob Behm wrote:
>
> Error Type: DECODING_ERROR
> Error Value: {'desc': 'Decoding error'}"
Which version of OpenLDAP? Which version of python-ldap?
Ciao, Michael.
|
|
From: Jacob B. <po...@bi...> - 2002-07-26 20:16:42
|
I don't know that I'm using any OpenLDAP. Would that be my problem?
This Zope is running on a win32 machine. The python LDAP module is
v1.10a3.
> -----Original Message-----
> From: Michael Str=F6der [mailto:mi...@st...]
> Sent: Friday, July 26, 2002 2:12 PM
> To: Jacob Behm
> Cc: pyt...@li...
> Subject: Re: ZLDAPAdapter problems
>=20
> Jacob Behm wrote:
> >
> > Error Type: DECODING_ERROR
> > Error Value: {'desc': 'Decoding error'}"
>=20
> Which version of OpenLDAP? Which version of python-ldap?
>=20
> Ciao, Michael.
|
|
From: Jens V. <je...@zo...> - 2002-07-26 20:51:55
|
i think another problem is active directory itself.
i have a few python-based software pieces that work with LDAP and i =
always=20
explicitly tell people there is no guarantee it will work with the=20
"wannabe LDAP server" M$ calls "active directory". in the best M$=20
tradition it follows its very own standards, not anyone else's. trying =
to=20
code around all those nonstandard behaviors is a *pain*.
jens
On Friday, July 26, 2002, at 04:16 , Jacob Behm wrote:
> I don't know that I'm using any OpenLDAP. Would that be my problem?
> This Zope is running on a win32 machine. The python LDAP module is
> v1.10a3.
>
>
>> -----Original Message-----
>> From: Michael Str=F6der [mailto:mi...@st...]
>> Sent: Friday, July 26, 2002 2:12 PM
>> To: Jacob Behm
>> Cc: pyt...@li...
>> Subject: Re: ZLDAPAdapter problems
>>
>> Jacob Behm wrote:
>>>
>>> Error Type: DECODING_ERROR
>>> Error Value: {'desc': 'Decoding error'}"
>>
>> Which version of OpenLDAP? Which version of python-ldap?
>>
>> Ciao, Michael.
>
|
|
From: <mi...@st...> - 2002-07-26 23:37:58
|
Jacob Behm wrote: > I don't know that I'm using any OpenLDAP. Would that be my problem? > This Zope is running on a win32 machine. The python LDAP module is > v1.10a3. Then your Win32 python-ldap binaries are using the old Umich LDAP libraries which can only do LDAPv2. This is probably the reason for your problems with MS AD. Also note that python-ldap 1.10a3 is pretty outdated and only supports LDAPv2. Ciao, Michael. |
|
From: Jacob B. <po...@bi...> - 2002-07-29 14:58:38
|
> Jacob Behm wrote: > > I don't know that I'm using any OpenLDAP. Would that be my problem? > > This Zope is running on a win32 machine. The python LDAP module is > > v1.10a3. > > Then your Win32 python-ldap binaries are using the old Umich LDAP > libraries which can only do LDAPv2. This is probably the reason > for your problems with MS AD. > > Also note that python-ldap 1.10a3 is pretty outdated and only > supports LDAPv2. > > Ciao, Michael. Ah .. this is very helpful. Does anyone know if there are updated binaries/libraries available for win32 systems? I'm sure someone has tried to interface with Active Directory with LDAP before. Has anyone been successful? Is it even possible? Thanks Again, Jacob |
|
From: Mauro C. <mci...@si...> - 2002-07-29 15:08:30
Attachments:
smime.p7s
|
Jacob Behm wrote: >>Jacob Behm wrote: >> >> >>>I don't know that I'm using any OpenLDAP. Would that be my problem? >>>This Zope is running on a win32 machine. The python LDAP module is >>>v1.10a3. >>> >>> >>Then your Win32 python-ldap binaries are using the old Umich LDAP >>libraries which can only do LDAPv2. This is probably the reason >>for your problems with MS AD. >> >>Also note that python-ldap 1.10a3 is pretty outdated and only >>supports LDAPv2. >> >>Ciao, Michael. >> >> > >Ah .. this is very helpful. Does anyone know if there are updated binaries/libraries available for win32 systems? > > Yes, there are: I have recently done a build of the newer stuff, which does need testing. If you're interested, I may send it to you. It's still python-ldap2.0.0pre04 and OpenLDAP 2.0.23 (with cyrus-sasl-1.5.27) due to lack of time on my part to get up to the very latest versions. >I'm sure someone has tried to interface with Active Directory with LDAP before. Has anyone been successful? Is it even possible? > > It does work, but it takes a lot of guessing of what the search roots are... and after that, you may have to tweak code to interpret the results correctly. Not as much as Novell Directory Service, though. ;-) BR, Mauro |
|
From: <mi...@st...> - 2002-07-29 15:31:50
|
Mauro Cicognini wrote: > > It does work, but it takes a lot of guessing of what the search roots > are... ??? Attribute namingContexts in RootDSE should help. There's also an attribute defaultNamingContext. Access control restriction could be in place and off course these attributes should be queried by name just like with OpenLDAP 2.x. > and after that, you may have to tweak code to interpret the > results correctly. Can you elaborate on that? Tweak which code? > Not as much as Novell Directory Service, though. ;-) Can you elaborate on that too? As long as you don't try to handle Novell/NDS specific attributes it's very easy to query Novell eDirectory. BTW: One can have a look at ldap://www.nldap.com, their public demo server. You can even register to get your own container with write acess (http://www.nldap.com). Ciao, Michael. |
|
From: <mi...@st...> - 2002-07-29 15:31:48
|
Jacob Behm wrote: > > I'm sure someone has tried to interface with Active Directory with LDAP > before. Has anyone been successful? Is it even possible? It should be possible. As python-ldap is concerned: I browsed an Active Directory server but not tested it very thoroughly. What you get out of it also depends very much on the security configuration. Ciao, Michael. |
|
From: Jens V. <je...@zo...> - 2002-07-26 19:14:02
|
ZLDAPAdapter is a really old zope product. i don't think it is being
actively maintained. the correct people to talk to are the maintainers of
that particular product.
jens
On Friday, July 26, 2002, at 02:58 , Jacob Behm wrote:
> Hi,
>
> I'm new to this group so if I'm out line with any of my questions please
> let me know.
>
> I'm building an intra/extranet in Zope and as my company already has all
> the groups and users defined in a MS Active Directory system, I'm trying
> to link Zope to our AD server using LDAP. I've installed the LDAP
> module for python and the ZLDAPAdapter for Zope seems to be working.
> But when I try to use it I get the following Zope error:
>
> "Zope has encountered an error while publishing this resource.
>
> Error Type: DECODING_ERROR
> Error Value: {'desc': 'Decoding error'}"
>
> I understand that this means that python couldn't interpret the response
> it got from my AD server. Is there a way for me to see the response?
>
> Has anyone tried this before? I could use a little guidance.
>
> Thanks,
>
> Jacob Behm
|