python-harborclient icon indicating copy to clipboard operation
python-harborclient copied to clipboard

Can't access harbor which requires LDAP domain in username

Open jnickc opened this issue 6 years ago • 1 comments

Trying to connect to harbor HARBOR_USERNAME="domain\username" fails. "CommandError: Unable to authorize user 'domainusername': {"reason": "Bad Request", "message": "password=somepass&principal=domainusername"}" Still I can connect from docker login without any problems. Does it support connection using AD user ? If yes, then how?

jnickc avatar Mar 20 '18 09:03 jnickc

Would you try to use single quotes instead in your environment HARBOR_USERNAME to avoid misinterpreting escape ?

int32bit avatar Mar 21 '18 10:03 int32bit