[Zope] Re: LoginManager and LDAP

Corey Zimmet caz@tcdi.com
Thu, 22 Feb 2001 10:26:25 -0500


I am using OpenLDAP.  My passwords were stored with MD5 encryption.  That is
why I encrypt before checking the password that the user enters.  LDAP
suports various other encryption methods.  You would need to know how you
are storing your passwords.  Have you tried ZLDAPConnection/ZLDAPMethods?
ZLDAPConnection lets you browse the contents of the directory.  This way you
should be able to view how your passwords are stored.
Corey


----- Original Message -----
From: "Magnus Heino (Rivermen)" <magnus.heino@rivermen.se>
To: "'Corey Zimmet'" <caz@tcdi.com>; "Magnus Heino (Rivermen)"
<magnus.heino@rivermen.se>; "'Phil Harris'" <phil.harris@zope.co.uk>
Cc: "Zope" <Zope@zope.org>
Sent: Thursday, February 22, 2001 10:04 AM
Subject: RE: [Zope] RE: LoginManager and LDAP


>
> > I would think it would not matter what back end you use.  If
> > you can access
> > active directory via Python external to Zope, there should be
> > no reason why
> > you can't acccess it from within Zope.
>
> I can access it with LDAPAdapter from Zope (Linux), but I cant get
> authentication going. Probably because I dont know enough about LDAP and
> Active Directory.
>
> I noticed that you did an md5_encrypt on the password. Is that common in
all
> ldap servers, or do I have to do something else in Active Directory?
>
> /Magnus
>