diff options
author | Pavel Zuna <pzuna@redhat.com> | 2009-06-16 13:35:40 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-07-02 13:33:01 -0400 |
commit | ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6 (patch) | |
tree | 333b536307819ec8520272a2500a82f6f09df77e /ipalib/plugins/aci2.py | |
parent | 3ce00484f410e8968d68b1d5823d753c4cdf6365 (diff) | |
download | freeipa.git-ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6.tar.gz freeipa.git-ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6.tar.xz freeipa.git-ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6.zip |
Remove all references to use_ldap2.
Diffstat (limited to 'ipalib/plugins/aci2.py')
-rw-r--r-- | ipalib/plugins/aci2.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ipalib/plugins/aci2.py b/ipalib/plugins/aci2.py index 23bde756..f728d2a4 100644 --- a/ipalib/plugins/aci2.py +++ b/ipalib/plugins/aci2.py @@ -165,7 +165,6 @@ class aci2_create(crud.Create): :param kw: Keyword arguments for the other LDAP attributes. """ assert 'aciname' not in kw - assert self.api.env.use_ldap2, 'use_ldap2 is False' ldap = self.api.Backend.ldap2 newaci = _make_aci(None, aciname, kw) @@ -204,7 +203,6 @@ class aci2_delete(crud.Delete): :param kw: unused """ assert 'aciname' not in kw - assert self.api.env.use_ldap2, 'use_ldap2 is False' ldap = self.api.Backend.ldap2 (dn, entry_attrs) = ldap.get_entry(self.api.env.basedn, ['aci']) @@ -238,7 +236,6 @@ class aci2_mod(crud.Update): Modify ACI. """ def execute(self, aciname, **kw): - assert self.api.env.use_ldap2, 'use_ldap2 is False' ldap = self.api.Backend.ldap2 (dn, entry_attrs) = ldap.get_entry(self.api.env.basedn, ['aci']) @@ -272,7 +269,6 @@ class aci2_find(crud.Search): Search for ACIs. """ def execute(self, term, **kw): - assert self.api.env.use_ldap2, 'use_ldap2 is False' ldap = self.api.Backend.ldap2 (dn, entry_attrs) = ldap.get_entry(self.api.env.basedn, ['aci']) @@ -374,7 +370,6 @@ class aci2_show(crud.Retrieve): :param uid: The login name of the user to retrieve. :param kw: unused """ - assert self.api.env.use_ldap2, 'use_ldap2 is False' ldap = self.api.Backend.ldap2 (dn, entry_attrs) = ldap.get_entry(self.api.env.basedn, ['aci']) |