ADServerSpec#

class ADServerSpec(credential=None, preferred_domain_controller=None, *args, **kwargs)#

Bases: object

Configuration to access the file server active directory server.

Parameters:
  • credential (required) – (credential)

  • preferred_domain_controller – (preferred_domain_controller) Use a specific domain controller for the join-domain operation in a multi-DC active directory setup. By default, AFS discovers a site local domain controller for join-domain operation. The preferred domain controller cannot be an IP address. It has to be FQDN (example: dc_name.dom.companyname.com)

property credential#
Type:

Credential

property preferred_domain_controller#

Use a specific domain controller for the join-domain operation in a multi-DC active directory setup. By default, AFS discovers a site local domain controller for join-domain operation. The preferred domain controller cannot be an IP address. It has to be FQDN (example: dc_name.dom.companyname.com)

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model