client

package
v2.6.12 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ModifyGroupMembersRequest

func ModifyGroupMembersRequest(dn string, add, delete, replace []string, memberAttribute attributes.Attribute) *ldap.ModifyRequest

ModifyGroupMembersRequest returns a modify request to add, delete or replace group members

func ModifyPasswordRequest

func ModifyPasswordRequest(dn, newPassword string, passwordAttribute attributes.Attribute) *ldap.ModifyRequest

ModifyPasswordRequest returns a modify request to change a password

func Search(conn *auth.Connection, args SearchArguments, bar *progressbar.ProgressBar) (results attributes.Maps, requests *ldif.LDIF, err error)

Search searches for entries in AD

Types

type SearchArguments

type SearchArguments struct {
	Path       string
	Attributes attributes.Attributes
	Filter     filter.Filter
}

SearchArguments is a struct to hold arguments for search

Jump to

Keyboard shortcuts

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