Logging in to VCS non-interactively using the LDAP credentials

User's guide does not include the procedure to log in to VCS non-interactively using the LDAP credentials. [1382394]

If you do not have root privileges, VCS prompts for your VCS user name and password when you execute haxxx commands. You can use the halogin command to save the authentication information so that you do not have to enter your credentials every time you run a VCS command.

To store the LDAP credentials

  1. Set the following environment variables:

    • VCS_HOST - Node where VCS is running to which the user must connect (can be a remote host)

    • VCS_DOMAIN - Name of the LDAP domain to which the user belongs

    • VCS_DOMAINTYPE - Type of VxSS domain: ldap

  2. Log on to VCS using the halogin command:

    # halogin vcsusername password

To run haxxx commands non-interactively using the LDAP credentials you stored

  1. Set the VCS_HOST environment variable.

  2. Unset the VCS_DOMAIN and VCS_DOMAINTYPE environment variables if these are already set. After unsetting if you run the haxxx commands, VCS does not prompt for the password.