sdl

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGroup

func GetGroup(header *HEADER, sd string) (groupSID string)

func LookupSID

func LookupSID(conn *ldap.Conn, baseDN string, SID string) (resolvedSID string, err error)

Types

type ACCESS_ALLOWED_ACE

type ACCESS_ALLOWED_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type ACCESS_ALLOWED_CALLBACK_ACE

type ACCESS_ALLOWED_CALLBACK_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type ACCESS_ALLOWED_CALLBACK_OBJECT_ACE

type ACCESS_ALLOWED_CALLBACK_OBJECT_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type ACCESS_ALLOWED_OBJECT_ACE

type ACCESS_ALLOWED_OBJECT_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type ACCESS_DENIED_ACE

type ACCESS_DENIED_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type ACCESS_DENIED_CALLBACK_ACE

type ACCESS_DENIED_CALLBACK_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type ACCESS_DENIED_CALLBACK_OBJECT_ACE

type ACCESS_DENIED_CALLBACK_OBJECT_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type ACCESS_DENIED_OBJECT_ACE

type ACCESS_DENIED_OBJECT_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type ACEFLAGS

type ACEFLAGS struct {
	// contains filtered or unexported fields
}

type ACEHEADER

type ACEHEADER struct {
	ACEType      string
	ACEFlags     string
	AceSizeBytes string
}

type ACEMASK

type ACEMASK struct {
	// contains filtered or unexported fields
}

type ACESList

type ACESList struct {
	SamAccountName        string
	GENERIC_ALL           bool
	GENERIC_WRITE         bool
	WRITE_OWNER           bool
	WRITE_DACL            bool
	FORCE_CHANGE_PASSWORD bool
	ADD_MEMBER            bool
}

func ParseSD

func ParseSD(conn *ldap.Conn, baseDN string, SD string) (acesList []ACESList)

type ACLHEADER

type ACLHEADER struct {
	ACLRevision  string
	Sbz1         string
	ACLSizeBytes string
	ACECount     string
	Sbz2         string
}
type HEADER struct {
	Revision    string
	Sbz1        string
	Control     string
	OffsetOwner string
	OffsetGroup string
	OffsetSacl  string
	OffsetDacl  string
}

type SYSTEM_AUDIT_ACE

type SYSTEM_AUDIT_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type SYSTEM_AUDIT_CALLBACK_ACE

type SYSTEM_AUDIT_CALLBACK_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type SYSTEM_AUDIT_CALLBACK_OBJECT_ACE

type SYSTEM_AUDIT_CALLBACK_OBJECT_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type SYSTEM_AUDIT_OBJECT_ACE

type SYSTEM_AUDIT_OBJECT_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type SYSTEM_MANDATORY_LABEL_ACE

type SYSTEM_MANDATORY_LABEL_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type SYSTEM_RESOURCE_ATTRIBUTE_ACE

type SYSTEM_RESOURCE_ATTRIBUTE_ACE struct {
	SID string
	// contains filtered or unexported fields
}

type SYSTEM_SCOPED_POLICY_ID_ACE

type SYSTEM_SCOPED_POLICY_ID_ACE struct {
	SID string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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