ldap

package
v1.0.1-0...-373c8f8 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client ldap wrapper

func NewClient

func NewClient(host string, port int, dn, password, userSearch string) (client *Client, err error)

NewClient New LDAP client

func (*Client) CheckUserPassword

func (c *Client) CheckUserPassword(username, password string) (err error)

CheckUserPassword auth user

func (*Client) Close

func (c *Client) Close()

Close close ldap connection

Jump to

Keyboard shortcuts

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