
When I tried with admin@internal@password, I got prompted for a password. So then, I tried admin@internal without the password, and I got prompted for the password. $ curl -u admin@internal@password -X POST https://ovirt-engine.mydomain.com/ovirt-engine/api/imagetransfers/2bf042e8-7... -k Enter host password for user 'admin@internal@password': $ curl -u admin@internal -X POST https://ovirt-engine.mydomain.com/ovirt-engine/api/imagetransfers/2bf042e8-7... -k Enter host password for user 'admin@internal': In the case of admin@internal@password, I got what I suspected, which was access denied... <html><head><title>Error</title></head><body>access_denied: Cannot authenticate user 'admin@internal@password': No valid profile found in credentials..</body></html> In the other case, there was no stdout. So then I ran a curl with -vv for verbose stdout, and I see this interesting tidbit: < HTTP/1.1 415 Unsupported Media Type< Date: Thu, 21 Oct 2021 20:41:43 GMT< Server: Apache/2.4.37 (centos) OpenSSL/1.1.1k mod_auth_gssapi/1.6.1 mod_wsgi/4.6.4 Python/3.6< Content-Length: 0< Correlation-Id: 2b181b06-5b10-4b3a-a704-ee75ad2300c2<* Connection #0 to host ovirt-engine.mydomain.com left intact Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, October 20th, 2021 at 11:55 PM, Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
Try with curl -u 'admin@internal'@'pass' ...
Best Regards,Strahil Nikolov
On Thu, Oct 21, 2021 at 2:17, David White via Users<users@ovirt.org> wrote:_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/7Z33Y3DIMNVC72...