ldap

package
v0.5.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2016 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backend

func Backend() *framework.Backend

func EscapeLDAPValue added in v0.2.0

func EscapeLDAPValue(input string) string

func Factory

func Factory(conf *logical.BackendConfig) (logical.Backend, error)

Types

type CLIHandler

type CLIHandler struct{}

func (*CLIHandler) Auth

func (h *CLIHandler) Auth(c *api.Client, m map[string]string) (string, error)

func (*CLIHandler) Help

func (h *CLIHandler) Help() string

type ConfigEntry

type ConfigEntry struct {
	Url          string
	UserDN       string
	GroupDN      string
	UPNDomain    string
	UserAttr     string
	Certificate  string
	InsecureTLS  bool
	StartTLS     bool
	BindDN       string
	BindPassword string
	DiscoverDN   bool
}

func (*ConfigEntry) DialLDAP

func (c *ConfigEntry) DialLDAP() (*ldap.Conn, error)

func (*ConfigEntry) GetTLSConfig added in v0.2.0

func (c *ConfigEntry) GetTLSConfig(host string) (*tls.Config, error)

func (*ConfigEntry) SetDefaults

func (c *ConfigEntry) SetDefaults()

type GroupEntry

type GroupEntry struct {
	Policies []string
}

type UserEntry added in v0.3.0

type UserEntry struct {
	Groups []string
}

Jump to

Keyboard shortcuts

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