Hi
I think it's not good idea, but I've done it:
2014-12-15 22:21:37,485 INFO [org.ovirt.engine.core.bll.VmLogonCommand] (ajp--127.0.0.1-8702-6) [None] Running command: VmLogonCommand internal: false. Entities affected : ID: 202ca21f-5167-4107-b1dd-2a7a5d64b32a Type: VMAction group CONNECT_TO_VM with role type USER
2014-12-15 22:21:37,495 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (ajp--127.0.0.1-8702-6) [None] START, VmLogonVDSCommand(HostName = ceph2, HostId = c7a7c873-b68a-44f8-bebf-37ca3aa1caa8, vmId=202ca21f-5167-4107-b1dd-2a7a5d64b32a, domain=internal, password=null, userName=admin), log id: 776ac4b1
2014-12-15 22:21:37,514 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (ajp--127.0.0.1-8702-6) [None] FINISH, VmLogonVDSCommand, log id: 776ac4b1
2014-12-15 22:21:41,155 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-47) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin is connected to VM w7ent-01.
Looks pretty the same, also trying to login as admin@internal into Win7 workstation assigned to MS domain shouldn't work.
BTW, when I'm connecting to the same VM using the same domain user account through user portal - everything is Ok, and SSO works pretty good. In that case in logfile I'm getting this (password=[asterisks]):
2014-12-14 22:45:21,010 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (ajp--127.0.0.1-8702-4) [6f5a076f] START, VmLogonVDSCommand(HostName = ceph2, HostId = c7a7c873-b68a-44f8-bebf-37ca3aa1caa8, vmId=202ca21f-5167-4107-b1dd-2a7a5d64b32a, domain=ov.jetlab.local, password=******, userName=test4), log id: 7cc2d16a
that's why I think that problem is in python sdk. It uses JSESSIONID and not sending password every time it executing command through REST API. May be with api.vm.logon() method It should send password again? But how I can do it?
Pavel