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.
Example
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.
Example
(ldap).LDAPMetadata : object
LDAPMetadata is an object containing metadata from ldap server.
Kind: inner typedef of ldap