summaryrefslogtreecommitdiffhomepage
path: root/demos/demo_server.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-06-01 13:57:03 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-06-01 13:57:03 -0700
commit327d17c79bcc531d5f7564592994807d1fb91cca (patch)
treece4df18912c0661fcc9314a24fde68ed2ab37294 /demos/demo_server.py
parent6cc003d5aea99d981ab3ec4d0a26839c5d94604a (diff)
parentf645c57889e5faf20c0849c74e57eb5e626cc67a (diff)
Merge branch '2.0' into 2.1
Diffstat (limited to 'demos/demo_server.py')
-rw-r--r--demos/demo_server.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/demo_server.py b/demos/demo_server.py
index 4867e9ca..3a7ec854 100644
--- a/demos/demo_server.py
+++ b/demos/demo_server.py
@@ -96,9 +96,7 @@ class Server (paramiko.ServerInterface):
return paramiko.AUTH_FAILED
def enable_auth_gssapi(self):
- UseGSSAPI = True
- GSSAPICleanupCredentials = False
- return UseGSSAPI
+ return True
def get_allowed_auths(self, username):
return 'gssapi-keyex,gssapi-with-mic,password,publickey'