When running a Smarts dmctl command, username and password is requested.
search cancel

When running a Smarts dmctl command, username and password is requested.

book

Article ID: 303975

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




Being prompted for a username and password when using the dmctl ping command
Username and password requested for Smarts command line interface.

Environment

VMware Smart Assurance - SMARTS

Cause

The clientConnect.conf and serverConnect.conf files are configured incorrectly.

Resolution

The prompt is because an entry in the clientConnect.conf file has a <PROMPT>:<PROMPT> option before any of the user matching criteria.  To solve this:

  1. Run sm_edit on clientConnect.conf <basedir>/<IP_or_SAM>/smarts/bin conf/clientConnect.conf.
     
  2. Place a comment "#" BEFORE the "*:*:<PROMPT>:<PROMPT>" entry.