This is just perfect! I'm going to use ldapconnection.
On Wednesday August 27, 2008 01:10:05 Tres Seaver wrote:
> Gustavo Narea wrote:
> > Hello,
> > I already have the LDAP IAuthenticator plugin, but I don't know how you
> > would prefer that I write the tests for it, since it requires an LDAP
> > server running. Should we assume that it's installed where the tests are
> > ran? Or, should we rely on a public LDAP server? The problem about the
> > public one is that it'd be hard to test when the entry does exist and the
> > password is valid (what if we rely on a record that is removed later?).
> > I'd go for the 1st option. What do you think?
> > On the other hand, I'm going to write several IIdentifier plugins because
> > it may be necessary that we have to construct the Distinguished Name with
> > the "uid" from (for example) the email address, employee Id or the user
> > name itself.
> You might look at Jens Vagelpohl's 'dataflake.ldapconnection' package:
> It has a 'fakeldap' module used for testing agaisnt a dummy server:
Get rid of unethical constraints! Switch to Freedomware:
Repoze-dev mailing list