Categorygithub.com/lamg/ldaputil
modulepackage
0.1.0
Repository: https://github.com/lamg/ldaputil.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewLdap creates a new instance of Ldap addr: LDAP server address (IP ":" PortNumber) sf: User account suffix bDN: baseDN.
NewLdapWithAcc creates a *Ldap instance with a dedicated account for making queries.

# Constants

CN is the cn key in an LDAP record.
DistinguishedName is the name of the distinguishedName field.
MemberOf is the memberOf key in an LDAP record.
SAMAccountName field name.

# Structs

Ldap is the object that handles the connection to an LDAP server.