In order to enable us to use the api for Go we need to add an api user, which I am trying to do using the passwordFile tag in the cruise-config.xml file (adding one to the ldap is not practical). Adding the user does not seem to work though, or the password file is not read properly.
I am adding a user called "apiuser" with password "apipwd", and the password file looks like this:
the thing after the equals sign being the sha1 encoded password. The security section of the config xml file looks like this:<security>
<ldap (....) />
<passwordFile path="/path/to/go/users.properties" />
(changed and truncated for privacy). So we are both using the ldap (which works fine) and the passwordFile (which doesn't).
We are using Go version 2.2.0(13083-b0ad4e4db6ef).
Any clues as to what is wrong?