ldapmdl

package
v1.2.17 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateOnLDAP

func AuthenticateOnLDAP(loginID, password string) (int, error)

AuthenticateOnLDAP authenticates user with LDAP server

func CheckLDAPConfig

func CheckLDAPConfig() error

CheckLDAPConfig checks of LDAP configuration is initialized or not

func InitLDAP

func InitLDAP(configFilePath string) error

InitLDAP get LDAP server configuration

Types

type LDAPConfig

type LDAPConfig struct {
	BaseDN               string
	LDAPServerIPWithPort string
	FilterDN             string
	LDAPUsername         string
	LDAPPassword         string
}

LDAPConfig to get read and store LDAP server configuration

Jump to

Keyboard shortcuts

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