summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/ldapapi.py
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-01-25 18:46:26 +0100
committerSimo Sorce <ssorce@redhat.com>2011-01-25 14:01:36 -0500
commitab2ca8022e4bd89e87e0b7ce908022e6df350866 (patch)
tree2f2bde264c001886e90dfb10466539e8f8b75782 /ipaserver/plugins/ldapapi.py
parent27da394c442e98334726a7aae7da885c840be350 (diff)
downloadfreeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.gz
freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.xz
freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.zip
Fix assorted bugs found by pylint
Diffstat (limited to 'ipaserver/plugins/ldapapi.py')
-rw-r--r--ipaserver/plugins/ldapapi.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/ipaserver/plugins/ldapapi.py b/ipaserver/plugins/ldapapi.py
index 847e2d2b..1ef84579 100644
--- a/ipaserver/plugins/ldapapi.py
+++ b/ipaserver/plugins/ldapapi.py
@@ -25,7 +25,6 @@ This wraps the python-ldap bindings.
"""
import ldap as _ldap
-import ldap.dn
from ipalib import api
from ipalib import errors
from ipalib.crud import CrudBackend
@@ -443,9 +442,4 @@ class ldap(CrudBackend):
return results
- def get_effective_rights(self, dn, attrs=None):
- binddn = self.find_entry_dn("krbprincipalname", self.conn.principal, "posixAccount")
-
- return servercore.get_effective_rights(binddn, dn, attrs)
-
api.register(ldap)