Affects Version/s: 10.1.0-Xpress, 11.0.0, 11.0.1
Fix Version/s: None
Unless my expectations of the purpose of this command are wrong, this doesn't seem to work at all. Aside from the simple JAVA_HOME problem. I have done the following on 10.1.0, 11.0.0 and 11.0.1:
1) Install and configure in simplest/default configuration
2) Install appropriate admintools, fix JAVA_HOME.
3) Try ./ampassword -a -o <filewithpasswordin> -n <filewithnewpasswordin>
In both scenarios it successfully binds to the config store and runs a number of relevant searches, before coming back with:
I have tried various combinations including specifying the passwords inline (not in file), swapping old and new pass, using the UrlPolicyAgent password rather than the admin password(s)
Specifying old and new passwords the same does give an appropriate error, which leads me to believe this probably isn't a command line argument or file reading issue.