Git Product home page Git Product logo

Comments (2)

jdbarnes-isi avatar jdbarnes-isi commented on September 7, 2024 1

Thanks that was my bad. I was pretty sure I had tried that and it didn't work, but perhaps I fat fingered something dumb so was red herring'ed down a stupid path w/ regard to what exactly to put in the CL args.

I probably read the example wrongly, and thought the code block had something to do with polkit or sudo access since I was skimming quickly instead of really paying attention.

Sorry about that, and thanks for the clarification.

from gp-saml-gui.

dlenski avatar dlenski commented on September 7, 2024

writing the command as:
./gp_saml_gui.py -P --gateway --clientos="Linux" host.vpn.net \ --csd-wrapper=/usr/libexec/openconnect/hipreport.sh
enters the saml handshake phase, but once openconnect command is generated, it is generated as

What are you trying to do with that \ ? Do you understand how Unix shells parse \? This will cause an extra blank space to be inserted at the beginning of the argument as passed to gp-saml-gui, which is exactly what it then passes along to OpenConnect. 🤷‍♂️


It seems like you are confused about a few different aspects of argument parsing conventions on Linux, but the bottom line is you need to put -- before the extra arguments for OpenConnect, so that they aren't misinterpreted as arguments for gp-saml-gui itself.

Which is exactly what I showed as an example in the README:

image

from gp-saml-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.