LdapConfig#
- class LdapConfig(location=None, basedn=None, binddn=None, bindpw=None, tls_req_cert_status=None, tls_cacert_content=None, protocol_type=None, *args, **kwargs)#
Bases:
object
LDAP domain associated with the file server.
- Parameters:
location (max=2048 chars) – (
location
) URI of the LDAP domain. Ex. ldap://10.51.38.36basedn (max=2048 chars) – (
basedn
) LDAP Base distinguished name (DN) specifies the starting point within an LDAP directory hierarchy for LDAP operations like searches and queries. Ex: DC=ldaps,DC=afs,DC=minerva,DC=combinddn (max=2048 chars) – (
binddn
) A distinguished name that is used to authenticate and authorize an LDAP client to perform operations on an LDAP directory server. This is an optional field. Ex: CN=example-user,CN=Users,DC=example-domain,DC=combindpw – (
bindpw
) LDAP passwordtls_req_cert_status – (
tls_req_cert_status
)tls_cacert_content – (
tls_cacert_content
) LDAP SSH keyprotocol_type (required) – (
protocol_type
)
- property basedn#
LDAP Base distinguished name (DN) specifies the starting point within an LDAP directory hierarchy for LDAP operations like searches and queries. Ex: DC=ldaps,DC=afs,DC=minerva,DC=com
- Type:
str
- property binddn#
A distinguished name that is used to authenticate and authorize an LDAP client to perform operations on an LDAP directory server. This is an optional field. Ex: CN=example-user,CN=Users,DC=example-domain,DC=com
- Type:
str
- property bindpw#
LDAP password
- Type:
str
- property location#
URI of the LDAP domain. Ex. ldap://10.51.38.36
- Type:
str
- property protocol_type#
- Type:
- property tls_cacert_content#
LDAP SSH key
- Type:
str
- property tls_req_cert_status#
- Type:
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model