mode_find

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindConstrainedDelegations

func FindConstrainedDelegations(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, useKerberos bool, distinguishedName string, debug bool) error

FindConstrainedDelegations retrieves constrained delegations for a given domain controller.

Parameters:

domainController (string): The hostname or IP address of the domain controller.
ldapPort (int): The port number to connect to on the LDAP server. Must be in the range 1-65535.
creds (*credentials.Credentials): The credentials for authentication.
useLdaps (bool): A flag indicating whether to use LDAPS (LDAP over SSL).
useKerberos (bool): A flag indicating whether to use Kerberos for authentication.
debug (bool): A flag indicating whether to print debug information.

Returns:

An error if the operation fails, nil otherwise.

func FindConstrainedDelegationsWithProtocolTransition

func FindConstrainedDelegationsWithProtocolTransition(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, useKerberos bool, distinguishedName string, debug bool) error

FindConstrainedDelegationsWithProtocolTransition retrieves constrained delegations with protocol transition for a given domain controller.

Parameters:

domainController (string): The hostname or IP address of the domain controller.
ldapPort (int): The port number to connect to on the LDAP server. Must be in the range 1-65535.
creds (*credentials.Credentials): The credentials for authentication.
useLdaps (bool): A flag indicating whether to use LDAPS (LDAP over SSL).
useKerberos (bool): A flag indicating whether to use Kerberos for authentication.
debug (bool): A flag indicating whether to print debug information.

Returns:

An error if the operation fails, nil otherwise.

func FindRessourceBasedConstrainedDelegations

func FindRessourceBasedConstrainedDelegations(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, useKerberos bool, distinguishedName string, debug bool) error

FindRessourceBasedConstrainedDelegations retrieves resource-based constrained delegations for a given domain controller.

Parameters:

domainController (string): The hostname or IP address of the domain controller.
ldapPort (int): The port number to connect to on the LDAP server. Must be in the range 1-65535.
creds (*credentials.Credentials): The credentials for authentication.
useLdaps (bool): A flag indicating whether to use LDAPS (LDAP over SSL).
useKerberos (bool): A flag indicating whether to use Kerberos for authentication.
debug (bool): A flag indicating whether to print debug information.

Returns:

An error if the operation fails, nil otherwise.

func FindUnconstrainedDelegations

func FindUnconstrainedDelegations(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, useKerberos bool, distinguishedName string, debug bool) error

FindUnconstrainedDelegations retrieves unconstrained delegations for a given domain controller.

Parameters:

domainController (string): The hostname or IP address of the domain controller.
ldapPort (int): The port number to connect to on the LDAP server. Must be in the range 1-65535.
creds (*credentials.Credentials): The credentials for authentication.
useLdaps (bool): A flag indicating whether to use LDAPS (LDAP over SSL).
useKerberos (bool): A flag indicating whether to use Kerberos for authentication.
debug (bool): A flag indicating whether to print debug information.

Returns:

An error if the operation fails, nil otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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