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/b_ldap.py | |
parent | 91ca06f079f4de1ca5e6c60cfdf7aae75f60821b (diff) | |
download | freeipa.git-c2b0c801400fcb59be8687f9faf061aa85bcffd2.tar.gz freeipa.git-c2b0c801400fcb59be8687f9faf061aa85bcffd2.tar.xz freeipa.git-c2b0c801400fcb59be8687f9faf061aa85bcffd2.zip |
Started work on a much simplified mod_python server
Diffstat (limited to 'ipaserver/plugins/b_ldap.py')
-rw-r--r-- | ipaserver/plugins/b_ldap.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipaserver/plugins/b_ldap.py b/ipaserver/plugins/b_ldap.py index c1262f52..f12e6155 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() |