gworkspace

package
v0.0.0-...-d72ebfb Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneLdapAttribute

func CloneLdapAttribute(input *ldap.EntryAttribute) (out ldap.EntryAttribute)

func CloneLdapEntry

func CloneLdapEntry(input *ldap.Entry) (out ldap.Entry)

func FqdnToLdap

func FqdnToLdap(fqdn string, t string) string

func LogSearchObject

func LogSearchObject(data *ldap.SearchRequest) zerolog.LogObjectMarshaler

Types

type WorkspaceBinder

type WorkspaceBinder struct {
}

func (*WorkspaceBinder) Bind

func (w *WorkspaceBinder) Bind(bindDN, bindSimplePw string, conn net.Conn) (ldap.LDAPResultCode, error)

type WorkspaceSearcher

type WorkspaceSearcher struct {
	MaxGroups int
	// contains filtered or unexported fields
}

func NewSearcher

func NewSearcher(adm *admin.Service, baseDomain string) *WorkspaceSearcher

func (*WorkspaceSearcher) Search

func (s *WorkspaceSearcher) Search(boundDN string, req ldap.SearchRequest, conn net.Conn) (ldap.ServerSearchResult, error)

func (*WorkspaceSearcher) Update

func (s *WorkspaceSearcher) Update(ctx context.Context) error

Jump to

Keyboard shortcuts

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