mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-08 21:18:00 +03:00
Fixed documentation for os manager base module
This commit is contained in:
parent
c264ea9c13
commit
e47831ebc2
@ -114,28 +114,30 @@ class OSManager(Module):
|
|||||||
{
|
{
|
||||||
'action': 'rename_ad',
|
'action': 'rename_ad',
|
||||||
'name': 'xxxxxxx',
|
'name': 'xxxxxxx',
|
||||||
'ad': 'domain.xxx'
|
'custom': # Dictionary with custom data for the os manager, currently only for ad join domain and random password
|
||||||
'ou': 'ou' # or '' if default ou
|
{
|
||||||
'username': 'userwithaddmachineperms@domain.xxxx'
|
'ad': 'domain.xxx'
|
||||||
'password': 'passwordForTheUserWithPerms',
|
'ou': 'ou' # or '' if default ou
|
||||||
# In a future, probably all AD related data will go inside "custom" key
|
'username': 'userwithaddmachineperms@domain.xxxx'
|
||||||
'custom': # Dictionary with custom data for the os manager, currently only for ad join domain
|
'password': 'passwordForTheUserWithPerms',
|
||||||
{
|
|
||||||
'clientSoftware': 'sssd' or 'winbind' or 'automatically' if linux os manager,
|
'clientSoftware': 'sssd' or 'winbind' or 'automatically' if linux os manager,
|
||||||
'serverSoftware': 'active-directory' or 'ipa' if linux os manager,
|
'serverSoftware': 'active-directory' or 'ipa' if linux os manager,
|
||||||
'membershipSoftware': 'samba' or 'adcli' or 'automatically' if linux os manager,
|
'membershipSoftware': 'samba' or 'adcli' or 'automatically' if linux os manager,
|
||||||
'ssl': 'n' or 'y' if linux os manager,
|
'ssl': 'n' or 'y' if linux os manager,
|
||||||
'automaticIdMapping': 'n' or 'y' if linux os manager,
|
'automaticIdMapping': 'n' or 'y' if linux os manager,
|
||||||
'isPersistent': 'n' or 'y' if linux os manager,
|
'isPersistent': 'n' or 'y' if linux os manager,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
* rename vm, do NOT ADD to AD, and change password for an user
|
* rename vm, do NOT ADD to AD, and change password for an user
|
||||||
{
|
{
|
||||||
'action': 'rename'
|
'action': 'rename'
|
||||||
'name': 'xxxxx'
|
'name': 'xxxxx'
|
||||||
'username': 'username to change pass'
|
'custom':
|
||||||
'password': 'current password for username to change password'
|
{
|
||||||
'new_password': 'new password to be set for the username'
|
'username': 'username to change pass'
|
||||||
|
'password': 'current password for username to change password'
|
||||||
|
'new_password': 'new password to be set for the username'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
return {}
|
return {}
|
||||||
|
Loading…
Reference in New Issue
Block a user