Using "password" as your Harvest password causes UDPs to fail
search cancel

Using "password" as your Harvest password causes UDPs to fail

book

Article ID: 20616

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

When passing a password into a client-side UDP process via the system variable [password] it fails if the password is the string "password". For example, if the UDP is defined as

hcp -b [broker] -st [state] -en [project] -usr [user] -pw [password]

and the user's password is "password" it will fail with exit code 5 and the hcp.log will show incorrect login. If the password is anything else, within specified limits regarding use of special characters, it works fine.

Environment

Harvest Software Change Manager all versions

Resolution

Any System Variable value that matches the same System Variable name will cause a problem with UDPs (for example, a [project] called "project" etc.). Engineering reviewed this finding and concluded this is working as designed. Therefore you should not name a project "project", or name a state "state", or use "password" for your harvest password, etc.

Additional Information

More information about the Harvest System Variables is found here: Use the System Variables