From aad73fad601f576dd83b758f4448839b4e8e87df Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Mon, 20 Jul 2015 16:04:07 +0200 Subject: Port from python-krbV to python-gssapi python-krbV library is deprecated and doesn't work with python 3. Replacing all it's usages with python-gssapi. - Removed Backend.krb and KRB5_CCache classes They were wrappers around krbV classes that cannot really work without them - Added few utility functions for querying GSSAPI credentials in krb_utils module. They provide replacements for KRB5_CCache. - Merged two kinit_keytab functions - Changed ldap plugin connection defaults to match ipaldap - Unified getting default realm Using api.env.realm instead of krbV call Reviewed-By: Jan Cholasta Reviewed-By: Robbie Harwood Reviewed-By: Simo Sorce --- doc/examples/python-api.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'doc/examples/python-api.py') diff --git a/doc/examples/python-api.py b/doc/examples/python-api.py index 805925f26..215bb9153 100755 --- a/doc/examples/python-api.py +++ b/doc/examples/python-api.py @@ -37,9 +37,7 @@ api.finalize() # Backend.ldap.connect(), otherwise Backend.rpcclient.connect(). if api.env.in_server: - api.Backend.ldap2.connect( - ccache=api.Backend.krb.default_ccname() - ) + api.Backend.ldap2.connect() else: api.Backend.rpcclient.connect() -- cgit