ldap

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInfo

type UserInfo struct {
	// contains filtered or unexported fields
}

func New

func New(urlList []string, bindUsername string, bindPassword string,
	groupSearchFilter string, groupSearchBaseDNs []string,
	userSearchFilter string, userSearchBaseDNs []string,
	timeoutSecs uint, rootCAs *x509.CertPool, logger log.DebugLogger) (
	*UserInfo, error)

func (*UserInfo) GetGroupUsers added in v0.0.3

func (uinfo *UserInfo) GetGroupUsers(groupName string) ([]string, error)

func (*UserInfo) GetUserGroups

func (uinfo *UserInfo) GetUserGroups(username string) ([]string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL