config

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host     string
	Port     int
	Protocol string

	Organization        string
	Domain              string
	BaseDN              string
	AdminUsername       string
	AdminPassword       string
	ReadOnlyUser        bool
	ReadOnlyUsername    string
	ReadOnlyPassword    string
	ConfigPassword      string
	TLS                 bool
	UseRFC2307BISSchema bool
}

Config contains the configuration of the LDAP server

func NewConfig

func NewConfig() Config

NewConfig creates a default LDAP configuration

func (*Config) URI

func (cfg *Config) URI() string

URI returns the connection URI for the LDAP config

Jump to

Keyboard shortcuts

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