package
0.0.0-20240717021838-601228c88e2b
Repository: https://github.com/gemini-oss/rego.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
- # Generate {Active Directory,LDAP} Client - @param logger *log.Logger - @return *Client - Example: ```go a := active_directory.NewClient(log.DEBUG) ``` */.
NewLDAPQuery creates a default LDAPQuery with common settings.

# Constants

https://learn.microsoft.com/en-us/windows/win32/adschema/a-accountexpires.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-admincount.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-altsecurityidentities.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-badpasswordtime.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-badpwdcount.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-l.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-codepage.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-cn.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-c.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-countrycode.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-department.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-description.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-displayname.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-distinguishedName.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-division.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-distinguishedName.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-dnshostname.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-dscorepropagationdata.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-employeeid.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-employeenumber.
List all active users.
List all users in privileged groups [Domain Admins, Enterprise Admins, etc.].
List all disabled users.
List all locked users.
To Do: Implement better DN handling.
List all users with passwords that never expire.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-givenname.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-member.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-grouptype.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-instancetype.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-lastlogoff.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-lastlogon.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-lastlogontimestamp.
A match is found only if all bits from the attribute match the value.
A match is found if any bits from the attribute match the value.
This rule is limited to filters that apply to the DN.
Default LDAP port for pure TCP connection.
Default LDAPS port for SSL connection.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-mail.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-managedby.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-manager.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-memberof.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-mobile.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-name.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-objectcategory.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-objectclass.
Enum values for LDAP object classes.
Enum values for LDAP object classes.
Enum values for LDAP object classes.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-objectguid.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-objectsid.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-operatingsystem.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-operatingsystemservicepack.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-operatingsystemversion.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-o.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-ou.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-physicaldeliveryofficename.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-postalcode.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-pwdlastset.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-replpropertymetadata.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-samaccountname.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-samaccounttype.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-serviceprincipalname.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-sn.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-st.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-streetaddress.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-telephonenumber.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-title.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-useraccountcontrol.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-userprincipalname.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-usnchanged.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-usncreated.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-whenchanged.
https://learn.microsoft.com/en-us/windows/win32/adschema/a-whencreated.

# Variables

No description provided by the author
No description provided by the author

# Structs

### Active Directory Client Entities --------------------------------------------------------------------- Client holds Active Directory client data.
Computer represents an AD computer account.
No description provided by the author
No description provided by the author
LDAPQuery holds parameters for LDAP searches.
OrganizationalUnit represents an AD Organizational Unit.
User represents an AD user with detailed fields (AKA: Contact) https://learn.microsoft.com/en-us/windows/win32/adschema/c-user.

# Interfaces

Slice is an interface that ensures T is a slice type.

# Type aliases

Attribute holds possible LDAP attribute constants.
No description provided by the author
No description provided by the author
LDAPObjectClass holds possible LDAP object class constants.
No description provided by the author
### Active Directory Entities ---------------------------------------------------------------------.