activedirectoryupstreamwatcher

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package activedirectoryupstreamwatcher implements a controller which watches ActiveDirectoryIdentityProviders.

Index

Constants

View Source
const (

	// PwdLastSetAttribute is the date and time that the password for this account was last changed.
	// https://docs.microsoft.com/en-us/windows/win32/adschema/a-pwdlastset
	PwdLastSetAttribute = "pwdLastSet"
	// UserAccountControlAttribute represents a bitmap of user properties.
	// https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/useraccountcontrol-manipulate-account-properties
	UserAccountControlAttribute = "userAccountControl"
	// UserAccountControlComputedAttribute represents a bitmap of user properties.
	// https://docs.microsoft.com/en-us/windows/win32/adschema/a-msds-user-account-control-computed
	UserAccountControlComputedAttribute = "msDS-User-Account-Control-Computed"
)

Variables

This section is empty.

Functions

func GroupSAMAccountNameWithDomainSuffix

func GroupSAMAccountNameWithDomainSuffix(entry *ldap.Entry) (string, error)

func MicrosoftUUIDFromBinary

func MicrosoftUUIDFromBinary(attributeName string) func(entry *ldap.Entry) (string, error)

func New

New instantiates a new controllerlib.Controller which will populate the provided UpstreamActiveDirectoryIdentityProviderICache.

func ValidComputedUserAccountControl

func ValidComputedUserAccountControl(entry *ldap.Entry, _ provider.StoredRefreshAttributes) error

func ValidUserAccountControl

func ValidUserAccountControl(entry *ldap.Entry, _ provider.StoredRefreshAttributes) error

Types

type UpstreamActiveDirectoryIdentityProviderICache

type UpstreamActiveDirectoryIdentityProviderICache interface {
	SetActiveDirectoryIdentityProviders([]provider.UpstreamLDAPIdentityProviderI)
}

UpstreamActiveDirectoryIdentityProviderICache is a thread safe cache that holds a list of validated upstream LDAP IDP configurations.

Jump to

Keyboard shortcuts

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