ldap

package
v1.1000.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdditionalLdapAttributes []message.LDAPString

Functions

func GetFilteredGroups added in v1.489.0

func GetFilteredGroups(m *ldap.Message, baseDN string, filterStr string) ([]*object.Group, int)

func GetFilteredOrganizations added in v1.489.0

func GetFilteredOrganizations(m *ldap.Message) ([]*object.Organization, int)

func GetFilteredUsers

func GetFilteredUsers(m *ldap.Message) (filteredUsers []*object.User, code int)

func StartLdapServer

func StartLdapServer()

Types

type AttributeMapper added in v1.462.0

type AttributeMapper func(user *object.User) message.AttributeValue

type FieldRelation added in v1.462.0

type FieldRelation struct {
	// contains filtered or unexported fields
}

func (FieldRelation) GetAttributeValue added in v1.462.0

func (rel FieldRelation) GetAttributeValue(user *object.User) message.AttributeValue

func (FieldRelation) GetField added in v1.462.0

func (rel FieldRelation) GetField() (string, error)

Jump to

Keyboard shortcuts

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