Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvLdapHost = "HORUSEC_LDAP_HOST" EnvLdapPort = "HORUSEC_LDAP_PORT" EnvLdapBase = "HORUSEC_LDAP_BASE" EnvLdapBindDn = "HORUSEC_LDAP_BINDDN" EnvLdapBindPassword = "HORUSEC_LDAP_BINDPASSWORD" //nolint:gosec // false positive EnvLdapUseSSL = "HORUSEC_LDAP_USESSL" EnvLdapSkipTLS = "HORUSEC_LDAP_SKIP_TLS" EnvLdapInsecureSkipVerify = "HORUSEC_LDAP_INSECURE_SKIP_VERIFY" EnvLdapUserFilter = "HORUSEC_LDAP_USERFILTER" EnvLdapAdminGroup = "HORUSEC_LDAP_ADMIN_GROUP" DefaultLdapUserFilter = "(sAMAccountName=%s)" )
Variables ¶
View Source
var ErrorEmptyBindDNOrBindPassword = errors.New("{LDAP} empty bind dn or bind password")
View Source
var ErrorInvalidAuthorizationType = errors.New("{LDAP} invalid authorization type")
View Source
var ErrorLdapApplicationAdminGroupNotSet = errors.New("{LDAP} horusec application admin group env not set")
View Source
var ErrorTooManyEntries = errors.New("{LDAP} too many entries returned")
View Source
var ErrorUserDoesNotExist = errors.New("{LDAP} user does not exist")
View Source
var ErrorWrongUserOrPassword = errors.New("{LDAP} wrong user or password")
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.