summaryrefslogtreecommitdiffhomepage
path: root/demos/demo_simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'demos/demo_simple.py')
-rw-r--r--demos/demo_simple.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/demos/demo_simple.py b/demos/demo_simple.py
index 7ae3d8c8..9def57f8 100644
--- a/demos/demo_simple.py
+++ b/demos/demo_simple.py
@@ -79,8 +79,6 @@ try:
if not UseGSSAPI and not DoGSSAPIKeyExchange:
client.connect(hostname, port, username, password)
else:
- # SSPI works only with the FQDN of the target host
- hostname = socket.getfqdn(hostname)
try:
client.connect(hostname, port, username, gss_auth=UseGSSAPI,
gss_kex=DoGSSAPIKeyExchange)