diff options
author | Jan Cholasta <jcholast@redhat.com> | 2015-06-22 09:59:33 +0000 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-07-01 13:05:30 +0000 |
commit | fe2accf77663693628835d7063da7d871b1ad268 (patch) | |
tree | 95a5aaf3254edd12e305d2a1548f7c0a80ca72d2 /ipalib/plugins/baseuser.py | |
parent | f87ba5ee080ebf24d2420d105aa4026e844439db (diff) | |
download | freeipa-fe2accf77663693628835d7063da7d871b1ad268.tar.gz freeipa-fe2accf77663693628835d7063da7d871b1ad268.tar.xz freeipa-fe2accf77663693628835d7063da7d871b1ad268.zip |
ipalib: Load ipaserver plugins when api.env.in_server is True
https://fedorahosted.org/freeipa/ticket/3090
https://fedorahosted.org/freeipa/ticket/5073
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipalib/plugins/baseuser.py')
-rw-r--r-- | ipalib/plugins/baseuser.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ipalib/plugins/baseuser.py b/ipalib/plugins/baseuser.py index d2bc68f45..9068ef0fd 100644 --- a/ipalib/plugins/baseuser.py +++ b/ipalib/plugins/baseuser.py @@ -38,8 +38,6 @@ from ipapython.ipavalidate import Email from ipalib.capabilities import client_has_capability from ipalib.util import (normalize_sshpubkey, validate_sshpubkey, convert_sshpubkey_post) -if api.env.in_server and api.env.context in ['lite', 'server']: - from ipaserver.plugins.ldap2 import ldap2 __doc__ = _(""" Baseuser |