Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LDAPMetadata ¶
type LDAPMetadata struct { BaseDN string Domain string DefaultNamingContext string DomainFunctionality string ForestFunctionality string DomainControllerFunctionality string DnsHostName string }
LDAPMetadata is the metadata for ldap server.
type LdapClient ¶
type LdapClient struct{}
Client is a client for ldap protocol in golang.
It is a wrapper around the standard library ldap package.
func (*LdapClient) CollectLdapMetadata ¶
func (c *LdapClient) CollectLdapMetadata(domain string, controller string) (LDAPMetadata, error)
CollectLdapMetadata collects metadata from ldap server.
Click to show internal directories.
Click to hide internal directories.