mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Move ipalib.install.kinit to ipalib
- kinit helpers are now in `ipalib.kinit`. - helpers can now use default ccache locations like many other similar helpers - helpers return the result from `run` for debugging - constants are now in `krb_utils` - helpers pass `KRB5*` and `GSS*` env vars along, so `KRB5_TRACE` works - document how to kinit for `ipalib.api` Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
6cc668ffeb
commit
38d0e74b6d
@@ -38,17 +38,12 @@ import six
|
||||
|
||||
import ipalib
|
||||
from ipalib import api
|
||||
from ipalib.kinit import kinit_keytab, kinit_password
|
||||
from ipalib.plugable import Plugin
|
||||
from ipalib.request import context
|
||||
from ipapython.dn import DN
|
||||
from ipapython.ipautil import run
|
||||
|
||||
try:
|
||||
# not available with client-only wheel packages
|
||||
from ipalib.install.kinit import kinit_keytab, kinit_password
|
||||
except ImportError:
|
||||
kinit_keytab = kinit_password = None
|
||||
|
||||
try:
|
||||
# not available with client-only wheel packages
|
||||
from ipaplatform.paths import paths
|
||||
|
||||
Reference in New Issue
Block a user