ldap

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(ldapConfs models.LdapConf, dn string, password string) error

Bind establish a connection to ldap based on ldapConfs and bind the user with given parameters.

func MakeFilter

func MakeFilter(username string, ldapFilter string, ldapUID string) string

MakeFilter ...

func SearchUser

func SearchUser(ldapConfs models.LdapConf) ([]models.LdapUser, error)

SearchUser ...

func ValidateLdapConf

func ValidateLdapConf(ldapConfs models.LdapConf) (models.LdapConf, error)

ValidateLdapConf ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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