Merge "Properly handle emulated ldap enablement"
This commit is contained in:
commit
aa30b5132b
@ -496,6 +496,7 @@ class EnabledEmuMixIn(BaseLdap):
|
|||||||
return bool(enabled_value)
|
return bool(enabled_value)
|
||||||
|
|
||||||
def _add_enabled(self, object_id):
|
def _add_enabled(self, object_id):
|
||||||
|
if not self._get_enabled(object_id):
|
||||||
conn = self.get_connection()
|
conn = self.get_connection()
|
||||||
modlist = [(ldap.MOD_ADD,
|
modlist = [(ldap.MOD_ADD,
|
||||||
'member',
|
'member',
|
||||||
|
@ -92,9 +92,3 @@ class LiveLDAPIdentity(test_backend_ldap.LDAPIdentity):
|
|||||||
|
|
||||||
def test_user_enable_attribute_mask(self):
|
def test_user_enable_attribute_mask(self):
|
||||||
raise nose.exc.SkipTest('Test is for Active Directory Only')
|
raise nose.exc.SkipTest('Test is for Active Directory Only')
|
||||||
|
|
||||||
def test_configurable_allowed_project_actions(self):
|
|
||||||
raise nose.exc.SkipTest('Blocked by bug 1155234')
|
|
||||||
|
|
||||||
def test_project_crud(self):
|
|
||||||
raise nose.exc.SkipTest('Blocked by bug 1155234')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user