diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-30 20:53:32 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-03 15:29:05 -0500 |
commit | c2b0c801400fcb59be8687f9faf061aa85bcffd2 (patch) | |
tree | 434634987f8888ad5b0b66db78627f9e37206c84 /ipaserver/plugins | |
parent | 91ca06f079f4de1ca5e6c60cfdf7aae75f60821b (diff) | |
download | freeipa-c2b0c801400fcb59be8687f9faf061aa85bcffd2.tar.gz freeipa-c2b0c801400fcb59be8687f9faf061aa85bcffd2.tar.xz freeipa-c2b0c801400fcb59be8687f9faf061aa85bcffd2.zip |
Started work on a much simplified mod_python server
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r-- | ipaserver/plugins/b_ldap.py | 2 | ||||
-rw-r--r-- | ipaserver/plugins/b_ra.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ipaserver/plugins/b_ldap.py b/ipaserver/plugins/b_ldap.py index c1262f528..f12e6155d 100644 --- a/ipaserver/plugins/b_ldap.py +++ b/ipaserver/plugins/b_ldap.py @@ -42,6 +42,8 @@ class ldap(CrudBackend): super(ldap, self).__init__() def create_connection(self, ccache): + if ccache is None: + raise errors2.CCacheError() conn = ipaldap.IPAdmin(self.env.ldap_host, self.env.ldap_port) principle = krbV.CCache( name=ccache, context=krbV.default_context() diff --git a/ipaserver/plugins/b_ra.py b/ipaserver/plugins/b_ra.py index f0363bf15..69674cd0a 100644 --- a/ipaserver/plugins/b_ra.py +++ b/ipaserver/plugins/b_ra.py @@ -67,6 +67,7 @@ class ra(Backend): self.__create_nss_db() self.__import_ca_chain() self.__request_ipa_certificate(self.__generate_ipa_request()) + assert False super(ra, self).__init__() @@ -404,4 +405,4 @@ class ra(Backend): # api.log.debug("IPA-RA: stderr: '%s'" % stderr) return (p.returncode, stdout, stderr) -api.register(ra) +#api.register(ra) |