summaryrefslogtreecommitdiffstats
path: root/keystone/identity
diff options
context:
space:
mode:
authorSahdev Zala <spzala@us.ibm.com>2013-06-17 15:18:44 -0500
committerSahdev Zala <spzala@us.ibm.com>2013-06-17 15:24:14 -0500
commit96dea469c9de72a9ef6ee0c03833c4f3ff2f9f8f (patch)
tree90de911b2a999344cc6d6f8402ba57d024eb0e4f /keystone/identity
parentc285fa7efbdf87262d5b368ec42ccd0d462a98fc (diff)
downloadkeystone-96dea469c9de72a9ef6ee0c03833c4f3ff2f9f8f.tar.gz
keystone-96dea469c9de72a9ef6ee0c03833c4f3ff2f9f8f.tar.xz
keystone-96dea469c9de72a9ef6ee0c03833c4f3ff2f9f8f.zip
Set default 'ou' name for LDAP projects to Projects
The default ou name for projects/tenants should be Projects, as we normally use in devstack and ldap live test. Since multiple LDAP objects can use groupOfNames, setting projects group to Groups is vague. Fixes Bug1191807 Change-Id: I1718c76320da51a58abf6558a9b8560e908773cb
Diffstat (limited to 'keystone/identity')
-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 07cd83b6..d2f05266 100644
--- a/keystone/identity/backends/ldap/core.py
+++ b/keystone/identity/backends/ldap/core.py
@@ -498,7 +498,7 @@ class UserApi(common_ldap.EnabledEmuMixIn, common_ldap.BaseLdap, ApiShimMixin):
# TODO(termie): turn this into a data object and move logic to driver
class ProjectApi(common_ldap.EnabledEmuMixIn, common_ldap.BaseLdap,
ApiShimMixin):
- DEFAULT_OU = 'ou=Groups'
+ DEFAULT_OU = 'ou=Projects'
DEFAULT_STRUCTURAL_CLASSES = []
DEFAULT_OBJECTCLASS = 'groupOfNames'
DEFAULT_ID_ATTR = 'cn'