sssd_test_framework.hosts.samba
Samba multihost host.
Classes
|
Samba host object. |
- class sssd_test_framework.hosts.samba.SambaHost(*args, **kwargs)
Bases:
BaseLDAPDomainHost,BaseLinuxHostSamba host object.
Provides features specific to Samba server.
Note
Full backup and restore is supported.
- Parameters:
tls (bool, optional) – Require TLS connection, defaults to True
- adminuser: str
Username of the admin user, defaults to value of
Administrator.
- adminpw: str
Password of the admin user, defaults to value of
bindpw.
- property features: dict[str, bool]
Features supported by the host.
- start() None
Start required services.
- Raises:
NotImplementedError – If start operation is not supported.
- stop() None
Stop required services.
- Raises:
NotImplementedError – If stop operation is not supported.
- backup() Any
Backup all Samba server data.
This is done by creating a backup of Samba database. This operation is usually very fast.
- Returns:
Backup data.
- Return type:
Any