ldap

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 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