summaryrefslogtreecommitdiffstats
path: root/tests/_ldap_livetest.py
diff options
context:
space:
mode:
authorSahdev Zala <spzala@us.ibm.com>2013-02-21 16:11:12 -0600
committerSahdev Zala <spzala@us.ibm.com>2013-03-19 16:38:30 -0500
commit5cb8e1f2e5e12cf7e8c6bce91af53b901f6254a9 (patch)
treee599fddf0898a5a01971d5be6a79bb600852cf75 /tests/_ldap_livetest.py
parenta066b69fbe1ad2e3f577a3a21487d2eaebe22a15 (diff)
downloadkeystone-5cb8e1f2e5e12cf7e8c6bce91af53b901f6254a9.tar.gz
keystone-5cb8e1f2e5e12cf7e8c6bce91af53b901f6254a9.tar.xz
keystone-5cb8e1f2e5e12cf7e8c6bce91af53b901f6254a9.zip
Support for LDAP groups (bug #1092187)
Also covers Domain CRUD. Fixes Bug #1092187 Change-Id: If2266ed382edfedfad3eef450ce58640ca4b4657
Diffstat (limited to 'tests/_ldap_livetest.py')
-rw-r--r--tests/_ldap_livetest.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/_ldap_livetest.py b/tests/_ldap_livetest.py
index 7eb343e6..5f5f60cd 100644
--- a/tests/_ldap_livetest.py
+++ b/tests/_ldap_livetest.py
@@ -67,11 +67,12 @@ class LiveLDAPIdentity(test_backend_ldap.LDAPIdentity):
create_object(CONF.ldap.tenant_tree_dn,
{'objectclass': 'organizationalUnit',
'ou': 'Projects'})
-
- # NOTE(crazed): This feature is currently being added
- create_object("ou=Groups,%s" % CONF.ldap.suffix,
+ create_object(CONF.ldap.domain_tree_dn,
+ {'objectclass': 'organizationalUnit',
+ 'ou': 'Domain'})
+ create_object(CONF.ldap.group_tree_dn,
{'objectclass': 'organizationalUnit',
- 'ou': 'Groups'})
+ 'ou': 'UserGroups'})
def _set_config(self):
self.config([test.etcdir('keystone.conf.sample'),