Show the krb principal name in debug log
This may help users realize when they are trying to authenticate with the wrong ticket.
This commit is contained in:
parent
87e23fa6c4
commit
c246f719b8
1 changed files with 1 additions and 0 deletions
|
|
@ -2149,6 +2149,7 @@ class ClientSession(object):
|
|||
# We're trying to log ourself in. Connect using existing credentials.
|
||||
cprinc = ccache.principal()
|
||||
|
||||
self.logger.debug('Authenticating as: %s', cprinc.name)
|
||||
sprinc = krbV.Principal(name=self._serverPrincipal(cprinc), context=ctx)
|
||||
|
||||
ac = krbV.AuthContext(context=ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue