Versions in this module Expand all Collapse all v1 v1.0.1 Jun 9, 2021 v1.0.0 Jun 9, 2021 Changes in this version + const EnvGroupSearchBaseDN + const EnvGroupSearchFilter + const EnvLookupBindDN + const EnvLookupBindPassword + const EnvSTSExpiry + const EnvServerAddr + const EnvServerInsecure + const EnvServerStartTLS + const EnvTLSSkipVerify + const EnvUserDNSearchBaseDN + const EnvUserDNSearchFilter + const EnvUsernameFormat + const GroupSearchBaseDN + const GroupSearchFilter + const LookupBindDN + const LookupBindPassword + const STSExpiry + const ServerAddr + const ServerInsecure + const ServerStartTLS + const TLSSkipVerify + const UserDNSearchBaseDN + const UserDNSearchFilter + const UsernameFormat + var DefaultKVS = config.KVS + var Help = config.HelpKVS + func Enabled(kvs config.KVS) bool + func SetIdentityLDAP(s config.Config, ldapArgs Config) + type Config struct + Enabled bool + GroupSearchBaseDistName string + GroupSearchBaseDistNames []string + GroupSearchFilter string + LookupBindDN string + LookupBindPassword string + STSExpiryDuration string + ServerAddr string + UserDNSearchBaseDN string + UserDNSearchFilter string + UsernameFormat string + UsernameFormats []string + func Lookup(kvs config.KVS, rootCAs *x509.CertPool) (l Config, err error) + func (l *Config) Bind(username, password string) (string, []string, error) + func (l *Config) Connect() (ldapConn *ldap.Conn, err error) + func (l *Config) LookupUserDN(username string) (string, []string, error) + func (l Config) GetExpiryDuration() time.Duration