package
0.0.0-20231212065251-038867245068
Repository: https://github.com/mandiant/gocrack.git
Documentation: pkg.go.dev
# Functions
Init creates a new LDAP authentication backend.
# Variables
ErrDisabled is returned when a function is called that is not supported by the LDAP provider.
ErrInvalidCert is returned whenever the CA cert was given to us for use in the LDAP provider but is invalid.
ErrMoreThanOne is returned whenever more than one AD record was returned as we cant properly distinguish which record we should use.
ErrUserNotFound indicates the user was not found in the authentication backend.
# Structs
Backend is an authentication backend that queries an LDAP/Active Directory server for authentication.
LDAPAuthPlugin implements Open which is used to register the LDAP provider with the backend.
Options contains all the LDAP configuration options.