ldap
- ldap
LdapClient.CollectLdapMetadata(domain, controller)⇒LDAPMetadata.IsLdap(host, port)⇒boolean
LDAPMetadata:object
(ldap).LdapClient
LdapClient is a client for ldap protocol in golang. It is a wrapper around the standard library ldap package. Kind: inner class ofldap
LdapClient.CollectLdapMetadata(domain, controller)⇒LDAPMetadata.IsLdap(host, port)⇒boolean
ldapClient.CollectLdapMetadata(domain, controller) ⇒ LDAPMetadata
CollectLdapMetadata collects metadata from ldap server.
Kind: instance method of LdapClientReturns:
LDAPMetadata - - The metadata from ldap server.Throws:
error- The error encountered during metadata collection.
| Param | Type | Description |
|---|---|---|
| domain | string | The domain to collect metadata from. |
| controller | string | The controller to collect metadata from. |
ldapClient.IsLdap(host, port) ⇒ boolean
IsLdap checks if the given host and port are running ldap server.
Kind: instance method of LdapClientReturns:
boolean - - Whether the given host and port are running ldap server.Throws:
error- The error encountered during the check.
| Param | Type | Description |
|---|---|---|
| host | string | The host to check. |
| port | int | The port to check. |
(ldap).LDAPMetadata : object
LDAPMetadata is an object containing metadata from ldap server.
Kind: inner typedef of ldap