Documentation ¶
Index ¶
- func ModifyGroupMembersRequest(dn string, add, delete, replace []string, memberAttribute attributes.Attribute) *ldap.ModifyRequest
- func ModifyPasswordRequest(dn, newPassword string, passwordAttribute attributes.Attribute) *ldap.ModifyRequest
- func Search(conn *auth.Connection, args SearchArguments, bar *progressbar.ProgressBar) (results attributes.Maps, requests *ldif.LDIF, err error)
- type SearchArguments
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 ¶
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
Click to show internal directories.
Click to hide internal directories.