Documentation ¶
Index ¶
- func AttributesToPrincipal(attribs []*ldapv2.EntryAttribute, ...) (*v3.Principal, error)
- func AuthenticateServiceAccountUser(serviceAccountPassword string, serviceAccountUsername string, ...) error
- func FindNonDuplicateBetweenGroupPrincipals(newGroupPrincipals []v3.Principal, groupPrincipals []v3.Principal, ...) []v3.Principal
- func GatherParentGroups(groupPrincipal v3.Principal, searchDomain string, groupScope string, ...) error
- func GetGroupSearchAttributes(memberOfAttribute, ObjectClass string, config *v3.ActiveDirectoryConfig) []string
- func GetGroupSearchAttributesForLDAP(ObjectClass string, config *v3.LdapConfig) []string
- func GetUserExternalID(username string, loginDomain string) string
- func GetUserSearchAttributes(memberOfAttribute, ObjectClass string, config *v3.ActiveDirectoryConfig) []string
- func GetUserSearchAttributesForLDAP(ObjectClass string, config *v3.LdapConfig) []string
- func HasPermission(attributes []*ldapv2.EntryAttribute, userObjectClass string, ...) bool
- func IsType(search []*ldapv2.EntryAttribute, varType string) bool
- func Min(a int, b int) int
- func NewLDAPConn(servers []string, TLS bool, port int64, connectionTimeout int64, ...) (*ldapv2.Conn, error)
- type ConfigAttributes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttributesToPrincipal ¶
func GatherParentGroups ¶
func GetGroupSearchAttributes ¶
func GetGroupSearchAttributes(memberOfAttribute, ObjectClass string, config *v3.ActiveDirectoryConfig) []string
func GetGroupSearchAttributesForLDAP ¶
func GetGroupSearchAttributesForLDAP(ObjectClass string, config *v3.LdapConfig) []string
func GetUserExternalID ¶
func GetUserSearchAttributes ¶
func GetUserSearchAttributes(memberOfAttribute, ObjectClass string, config *v3.ActiveDirectoryConfig) []string
func GetUserSearchAttributesForLDAP ¶
func GetUserSearchAttributesForLDAP(ObjectClass string, config *v3.LdapConfig) []string
func HasPermission ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.