xapi-project/sm — pull request #230 by kostaslamda (2014-11-19 14:42:48+00:00)
Title: CA-150404: iSCSI login fails with non-ASCII CHAP credentials

The fix addresses the problem of not being able to attach an iSCSI based SR to
XenServer, if the target has specified non-ASCII characters for its CHAP
username and/or password.

Usernames: 江月, üöäÜÖÄáÀ
Passwords: 江月江月江月江月江月江月, üöäÜÖÄadmin!23

After the fix:
* Attaching an iSCSI SR using a WS2012R2 target.
Can use any non-ASCII characters for username but only ASCII for
passwords.

* Attaching an iSCSI SR using an IET target.
Can use any non-ASCII characters for username and passwords.

Signed-off-by: Kostas Ladopoulos