+ # Warn about ambiguities
+ if server != args.server and not args.uri:
+ print('''IMPORTANT: During the SAML auth, you were redirected from {} to {}. This probably'''
+ '''means you should specify {} as the server for final connection, but we're not 100%'''
+ '''sure about this. You should probably try both.\n'''.format(args.server, server), file=stderr)
+ if ifh != args.interface and not args.uri:
+ print('''IMPORTANT: We started with SAML auth to the {} interface, but received a cookie'''
+ '''that's associated with the {} interface. You should probably try both.\n'''.format(args.interface, ifh),
+ file=stderr)
+