ldap

package
v0.0.0-...-7bf004b Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DB is the shared (via connection pooling) database connection; goroutine-safe
	DB *sqlx.DB
)

Functions

func Listen

func Listen(database *sqlx.DB, config Config)

Listen performs setup and runs the LDAP server (blocking)

Types

type Config

type Config struct {
	BaseDN   string
	UserOU   string
	GroupOU  string
	ListenTo string
}

Config is used to pass required configuration options for the LDAP server

Jump to

Keyboard shortcuts

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