Documentation
¶
Index ¶
- func ClearConstrainedDelegation(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, ...) error
- func ClearConstrainedDelegationWithProtocolTransition(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, ...) error
- func ClearRessourceBasedConstrainedDelegation(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, ...) error
- func ClearUnconstrainedDelegation(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearConstrainedDelegation ¶
func ClearConstrainedDelegation(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, useKerberos bool, distinguishedName string, debug bool) error
ClearConstrainedDelegation clears a constrained delegation from a user or computer account.
Parameters: ldapHost (string): The LDAP host to connect to. ldapPort (int): The LDAP port to connect to. creds (*credentials.Credentials): The credentials to use for the LDAP connection. useLdaps (bool): Whether to use LDAPS for the LDAP connection. useKerberos (bool): Whether to use Kerberos for the LDAP connection. distinguishedName (string): The distinguished name of the user or computer account to clear the constrained delegation from. allowedToDelegateTo ([]string): The list of users or computers that the account is allowed to delegate to. debug (bool): A flag indicating whether to print debug information. Returns: error: An error if the operation fails, nil otherwise.
func ClearConstrainedDelegationWithProtocolTransition ¶
func ClearConstrainedDelegationWithProtocolTransition(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, useKerberos bool, distinguishedName string, debug bool) error
ClearConstrainedDelegationWithProtocolTransition clears a constrained delegation with protocol transition from a user or computer account.
Parameters: ldapHost (string): The LDAP host to connect to. ldapPort (int): The LDAP port to connect to. creds (*credentials.Credentials): The credentials to use for the LDAP connection. useLdaps (bool): Whether to use LDAPS for the LDAP connection. useKerberos (bool): Whether to use Kerberos for the LDAP connection. distinguishedName (string): The distinguished name of the user or computer account to clear the constrained delegation from. allowedToDelegateTo ([]string): The list of users or computers that the account is allowed to delegate to. debug (bool): A flag indicating whether to print debug information. Returns: error: An error if the operation fails, nil otherwise.
func ClearRessourceBasedConstrainedDelegation ¶
func ClearRessourceBasedConstrainedDelegation(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, useKerberos bool, distinguishedName string, debug bool) error
ClearRessourceBasedConstrainedDelegation removes a ressource based constrained delegation from a user or computer account.
Parameters: ldapHost (string): The LDAP host to connect to. ldapPort (int): The LDAP port to connect to. creds (*credentials.Credentials): The credentials to use for the LDAP connection. useLdaps (bool): Whether to use LDAPS for the LDAP connection. useKerberos (bool): Whether to use Kerberos for the LDAP connection. distinguishedName (string): The distinguished name of the user or computer account to remove the ressource based constrained delegation from. allowedToActOnBehalfOfAnotherIdentity ([]string): The list of users or computers that the account is allowed to delegate to. debug (bool): A flag indicating whether to print debug information. Returns: error: An error if the operation fails, nil otherwise.
func ClearUnconstrainedDelegation ¶
func ClearUnconstrainedDelegation(ldapHost string, ldapPort int, creds *credentials.Credentials, useLdaps bool, useKerberos bool, distinguishedName string, debug bool) error
ClearUnconstrainedDelegation removes an unconstrained delegation from a user or computer account.
Parameters: ldapHost (string): The LDAP host to connect to. ldapPort (int): The LDAP port to connect to. creds (*credentials.Credentials): The credentials to use for the LDAP connection. useLdaps (bool): Whether to use LDAPS for the LDAP connection. useKerberos (bool): Whether to use Kerberos for the LDAP connection. distinguishedName (string): The distinguished name of the user or computer account to clear the unconstrained delegation from. debug (bool): A flag indicating whether to print debug information. Returns: error: An error if the operation fails, nil otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.