~hudson-openstack/nova/trunk

Viewing all changes in revision 447.

  • Committer: Tarmac
  • Author(s): Ryan Lane
  • Date: 2010-12-08 00:49:20 UTC
  • mfrom: (382.7.7 ldap-user-modify-only)
  • Revision ID: tarmac-20101208004920-iqdsvrw277yadckk
This change adds better support for LDAP integration with pre-existing LDAP infrastructures. A new configuration option has been added to specify the LDAP driver should only modify/add/delete attributes for user entries.

This change also fixes crashing issues for entries that have the novaUser objectclass, but do not have accessKey, secretKey, or isAdmin attributes. The code now only identifies a user as existing if all attributes and the objectclass exists.

A couple new functions were added to check for existence of users in LDAP, even if they do not have the novaUser objectclass.

The ldap_user_modify_only configuration option added assumes that users will be managed by external means, and will not attempt to add or delete user entries.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: