Comment 5 for bug 744462

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/3741
Committed: http://github.com/openstack/nova/commit/fa295d1278ef43fe2e90902006a5d073d78173ad
Submitter: Jenkins
Branch: master

commit fa295d1278ef43fe2e90902006a5d073d78173ad
Author: john-griffith <email address hidden>
Date: Thu Feb 2 22:15:58 2012 -0700

    get_user behavior in ldapdriver

    * Addresses bug 744462

    Rather than ldapdriver.get_user() returning None for non-existent
    user, this change implements exception.LDAPUserNotFound to more
    closely match the behavior of other drivers (db).

    Change was made in public method only, and _check_user_exists()
    which uses get_user() now catches and returns None if applicable.
    Implemented test of NotFound exception in base auth test class.

    Change-Id: Ia13af759931ca0c7327d54184730537bafbe52ae