-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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/ldapconnection/tests/fakeldap.py?view=markup



Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItI1N+gerLs4ltQ4RAj7kAKCuvkDANMeK1aruyNDlM9gXVzZ2jwCfZIxA
/t2mrgaqyjVD4iXs4siid0o=
=C3RS
-----END PGP SIGNATURE-----
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to