1 Reply Latest reply on Apr 15, 2013 9:43 PM by Bill Robinson

    BLCLI without repeated authentication

      I am working with a blcli script tied to a php web front end. The php front end calls to the blcli (NSH) script which executes various blcli commands and returns the information to the php front end.


      I am wanting to know if it is possible to execute the script repeatedly but somehow cache the blauth connection so that I don't have to go through the "blcred, blcli_connect" stanza over and over again. My intention for this is that I want to cut down on the amount of time it takes for my blcli commands to execute by avoiding the authentication steps.


      When I try to do this now, I end up with a "No authentication profile specified error upon the execution of the script without the authentication stanza.


      In my perfect world:


      1. NSH BLCLI script executes the first time with authentication
      2. Authentication is cached
      3. NSH BLCLI script executes the second (and all subsequent) time but skips authentication (since it's already open)


      I saw that "bltray" does this but I am not sure I can actually do that from the command line or on linux.