ldap

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLDAP

func NewLDAP(ld *LDAP) (err error)

NewLDAP NewLDAP

Types

type LDAP

type LDAP struct {
	Host     string
	BaseDN   string
	Filter   string
	Attr     string
	BindDN   string
	Password string
	USERS    string
}

LDAP 实例

func (LDAP) GetUsers

func (ld LDAP) GetUsers() (users []string, err error)

GetUsers by filter

Jump to

Keyboard shortcuts

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