Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong ticket error is misleading #2

Open
muhgatus opened this issue Apr 8, 2014 · 1 comment
Open

Wrong ticket error is misleading #2

muhgatus opened this issue Apr 8, 2014 · 1 comment

Comments

@muhgatus
Copy link

muhgatus commented Apr 8, 2014

Assume that you have 2 kerberos realms in place without a cross realm trust. You have a ticket for Realm A but you connect to a host located in Realm B.

This error occoures:

No handlers could be found for logger "paramiko.transport"
Traceback (most recent call last):
  File "./sshClient", line 22, in <module>
    gss_kex=True,
  File "/usr/local/lib/python2.6/dist-packages/paramiko-1.12.1-py2.6.egg/paramiko/client.py", line 371, in connect
    look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host)
  File "/usr/local/lib/python2.6/dist-packages/paramiko-1.12.1-py2.6.egg/paramiko/client.py", line 590, in _auth
    raise saved_exception
TypeError: decode() takes no keyword arguments

There should be a better Exception for this :)

If you have the correct ticket in your cred cache it works, so there is no general fault, but a misleading Exception is raised.

@SebastianDeiss
Copy link
Owner

Can you provide me more specific information about this exception such as the full traceback from the logfile?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants