Исправление использование профиля вне домена

master3.3
Mike khiretskiy 11 years ago
parent fa199d9429
commit 58b79f7a7f

@ -44,6 +44,7 @@ class ClClientSyncLoginAction(Action):
'method':'Client.mountRemoteRes(cl_remote_pw,cl_client_remote_path,'
'cl_remote_host)',
'condition':lambda Get: (Get('cl_remote_host') and
Get('os_remote_auth') and
not isMount(Get('cl_client_remote_path'))),
},
# check on domain user
@ -271,7 +272,7 @@ class ClClientSyncLogoutAction(Action):
'else_error':__("User home directory {ur_home_path} not found"),
},
# проверить наличие подключенных ресурсов
{'name':'check_mount',
{'name':'domain_user:check_mount',
'condition':lambda Get:any(x and isMount(x)
for x in Get('cl_client_user_mount_path')),
'else_error':__("User remote resources not found")
@ -337,7 +338,7 @@ class ClClientSyncLogoutAction(Action):
'"error")',
'depend': Tasks.hasnot('success_sync')
},
{'name':'check_mount!:umount_allres',
{'name':'umount_allres',
'method':'Desktop.umountUserRes(ur_home_path)',
}
]

Loading…
Cancel
Save