You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CA-74544: Associate a username with the sessions xapi passes to SM backends.
This will appear in the audit log. Formatting is consistent with the
"__dom0__vmpr" username associated with the session passed to the VMPR
plugin.
Signed-off-by: John Else <[email protected]>
let session=Xapi_session.login_no_password ~__context ~uname:None~host~pool:false~is_local_superuser:true~subject:(Ref.null) ~auth_user_sid:""~auth_user_name:""~rbac_permissions:[]in
156
+
let session=Xapi_session.login_no_password ~__context ~uname:None~host~pool:false~is_local_superuser:true~subject:(Ref.null) ~auth_user_sid:""~auth_user_name:sm_username~rbac_permissions:[]in
155
157
(* Give this session access to this particular SR *)
0 commit comments