Expected Behavior
Allow dxtoolkit to use a username from DOMAIN namespace(this is because some clients create same user for both DOMAIN and SYSTEM) and that username has a special char (for instance adm-nt4445560).
Actual Behavior
When dxtoolkit is configured to use a username from DOMAIN namespace(this is because some clients create same user for both DOMAIN and SYSTEM) and that username has a special char (for instance adm-nt4445560), it fails to authenticate
Steps To Reproduce the Problem
Describe in as much detail as possible how to reproduce the problem.
1.- Create delphix admin or standard user called "adm-nt4445560"
2.-Configure dxtoolkit with that user (with special char like "-" but specifying DOMAIN as name space):
For instance:
{
"hostname" : "ahtest",
"ip_address" : "172.16.126.248",
"username" : "adm-nt4445560@DOMAIN",
"password" : "***",
"port" : "80",
"protocol": "http",
"default" : "false",
"encrypted" : "false",
"timeout" : "60"
},
Debug error log shows:
-Entering Engine::login
-Entering Engine::postJSONData
-{"type":"LoginRequest","target":"DOMAIN","username":"nt4445560","password":"xxxxx"}
** POST http://172.16.126.248:80/resources/json/delphix/login ==> 401 Unauthorized (1s)
-HTTP POST error code: 401
-HTTP POST error message:
login to 172.16.126.248 failed.
Version
This was tested with dxtoolkit 2.4.9 and 2.4.10 and trying to connect to Delphix engines in versions 5.3.6 and 6.0.4
Additional Context
Add any other context about the problem here, including additional logs or debugging information if appropriate.
Expected Behavior Allow dxtoolkit to use a username from DOMAIN namespace(this is because some clients create same user for both DOMAIN and SYSTEM) and that username has a special char (for instance adm-nt4445560).
Actual Behavior When dxtoolkit is configured to use a username from DOMAIN namespace(this is because some clients create same user for both DOMAIN and SYSTEM) and that username has a special char (for instance adm-nt4445560), it fails to authenticate
Steps To Reproduce the Problem Describe in as much detail as possible how to reproduce the problem.
1.- Create delphix admin or standard user called "adm-nt4445560" 2.-Configure dxtoolkit with that user (with special char like "-" but specifying DOMAIN as name space): For instance: { "hostname" : "ahtest", "ip_address" : "172.16.126.248", "username" : "adm-nt4445560@DOMAIN", "password" : "***", "port" : "80", "protocol": "http", "default" : "false", "encrypted" : "false", "timeout" : "60" },
Debug error log shows: -Entering Engine::login -Entering Engine::postJSONData -{"type":"LoginRequest","target":"DOMAIN","username":"nt4445560","password":"xxxxx"} ** POST http://172.16.126.248:80/resources/json/delphix/login ==> 401 Unauthorized (1s) -HTTP POST error code: 401 -HTTP POST error message: login to 172.16.126.248 failed.
Version This was tested with dxtoolkit 2.4.9 and 2.4.10 and trying to connect to Delphix engines in versions 5.3.6 and 6.0.4
Additional Context Add any other context about the problem here, including additional logs or debugging information if appropriate.