summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keystone/identity/backends/ldap/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/identity/backends/ldap/core.py b/keystone/identity/backends/ldap/core.py
index 5a65ead5..89ecd06e 100644
--- a/keystone/identity/backends/ldap/core.py
+++ b/keystone/identity/backends/ldap/core.py
@@ -632,7 +632,7 @@ class RoleApi(common_ldap.BaseLdap, ApiShimMixin):
DEFAULT_ATTRIBUTE_IGNORE = []
NotFound = exception.RoleNotFound
options_name = 'role'
- attribute_mapping = {'name': 'cn',
+ attribute_mapping = {'name': 'ou',
#'serviceId': 'service_id',
}
model = models.Role