Hi, Tres!

This is just perfect! I'm going to use ldapconnection.

Cheers.


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:
>
>  http://www.dataflake.org/software/dataflake.ldapconnection
>
> It has a 'fakeldap' module used for testing agaisnt a dummy server:
>
> 
> http://svn.dataflake.org/viewvc/dataflake.ldapconnection/trunk/dataflake/ld
>apconnection/tests/fakeldap.py?view=markup
>
>
>
> Tres.

-- 
Gustavo Narea.
http://gustavonarea.net/

Get rid of unethical constraints! Switch to Freedomware:
http://softwareliberty.com/

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to