4 Commits

Author SHA1 Message Date
Dolph Mathews
5720730c2e Added license header (bug 929663)
Change-Id: Ia36a22f2d6bba411e4fad81ea2d6fa1f0465a733
2012-03-09 18:49:45 +00:00
Adam Young
bc346357a2 LDAP get_user_by_name
Required by keystoneclient

https://bugs.launchpad.net/keystone/+bug/943567
bug 943567

Change-Id: I5aec63e81262ad6f3b2e5a984841d8d6bdfa8da5
2012-03-02 14:50:13 -05:00
termie
dd35d2afbf standardize ldap and related tests
ldap was accidentally supplying some of its own values rather than using
the built-in fixtures, so it was providing the incorrect interface for a
couple calls.

also adds a test for get_user_by_name (skipped for ldap) and
standardizes the kvs and ldap authenticate calls

fix user authentication live ldap tests
Change-Id: If1ccce1fd9c84622bb89344bc5d5c59b059d03ae
2012-03-01 15:39:22 -05:00
Adam Young
63437e9dca LDAP Identity backend
Bug 933852

Merged over the code from the legacy keystone implementation, updated
style and streamlined the API a bit.

 * Unit tests can be run against a live OpenLDAP server
 * Password hashing done via passlib. Only does salted sha1, which is what simple_bind requires, but is not secure.
 * Added pip dependencies

Change-Id: I5296d94f6b7d0a7c7dbc887cdae872171e34bb5f
2012-02-27 16:51:46 -08:00