cyrusimap / cassandane

Other
6 stars 11 forks source link

need tests for ldap-backed authentication #45

Closed elliefm closed 5 years ago

elliefm commented 6 years ago

This would give us the ability to actually test the ptclient/ code, which would make it a lot easier to verify/fix the many old bug reports we have against it.

Cassandane would need to be able to spin up a small LDAP service (probably openldap, I guess) for these tests to query against.

elliefm commented 6 years ago

Net::LDAP::Server might be enough for us to cook up near-enough LDAP support for our purposes without needing to manage an installation of real software

elliefm commented 6 years ago

Or maybe even Net::LDAP::Server::Test

elliefm commented 5 years ago

We have this in Cassandane/Cyrus/LDAP.pm now (and see also utils/fakeldapd)

It's not exhaustive, but it's more than we had!