Configmgr incorrectly encodes passwords

Environment

LDAP enabled

Description

When you enter a password in the LDAPServer component configuration, it is encrypted and saved in the config file. If the password contains the plus sign, when it gets decrypted the + is replaced with a space. So '++' will decrypt to '- -'

Conclusion

None

relates to

Activity

Show:

James Wiltshire November 6, 2017 at 7:40 PM

Related question -
Is there a way to see what a password should encrypt to? Is this a standard algorithm? We'd like to compare what the env.xml file "should" have...

We're on an older HPCC version (for now).
We're seeing issues with connecting and wondering whether special characters (&, @, ...) might cause problems (as above).

Russ Whitehead November 12, 2015 at 4:01 PM

@gleb Can we please target this for 5.4.6 as it impacts RISK migration?

Anthony Fishbeck November 3, 2015 at 6:55 PM

You can use the javascript method encodeURIComponent() to encode the xmlargs.

http://www.w3schools.com/jsref/jsref_encodeuricomponent.asp

Anthony Fishbeck November 3, 2015 at 5:46 PM

Ok I see now it's not the YUI forms doing it. The configmgr javascript is building its own form submission, but not properly encoding it.

Anthony Fishbeck November 3, 2015 at 5:29 PM

Verified that firefox shows the same issue.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Affects versions

Created October 27, 2015 at 8:41 PM
Updated November 6, 2017 at 7:40 PM
Resolved November 13, 2015 at 8:45 AM