Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Macros map[string]string = map[string]string{
`nisSchema`: `1.3.6.1.1.1`,
}
Macros defines a single name-to-numericOID macro allowing support for RFC 2307 definitions which do not specify explicit numeric OIDs.
Functions ¶
This section is empty.
Types ¶
type AttributeTypeDefinition ¶
type AttributeTypeDefinition string
var ( UIDNumber AttributeTypeDefinition GIDNumber AttributeTypeDefinition Gecos AttributeTypeDefinition HomeDirectory AttributeTypeDefinition LoginShell AttributeTypeDefinition ShadowLastChange AttributeTypeDefinition ShadowMin AttributeTypeDefinition ShadowMax AttributeTypeDefinition ShadowWarning AttributeTypeDefinition ShadowInactive AttributeTypeDefinition ShadowExpire AttributeTypeDefinition ShadowFlag AttributeTypeDefinition MemberUID AttributeTypeDefinition MemberNISNetgroup AttributeTypeDefinition NISNetgroupTriple AttributeTypeDefinition IPServicePort AttributeTypeDefinition IPServiceProtocol AttributeTypeDefinition IPProtocolNumber AttributeTypeDefinition ONCRPCNumber AttributeTypeDefinition IPHostNumber AttributeTypeDefinition IPNetworkNumber AttributeTypeDefinition IPNetmaskNumber AttributeTypeDefinition MACAddress AttributeTypeDefinition BootParameter AttributeTypeDefinition BootFile AttributeTypeDefinition NISMapName AttributeTypeDefinition NISMapEntry AttributeTypeDefinition )
type AttributeTypeDefinitions ¶
type AttributeTypeDefinitions []AttributeTypeDefinition
var (
AllAttributeTypes AttributeTypeDefinitions
)
func (AttributeTypeDefinitions) Len ¶
func (r AttributeTypeDefinitions) Len() int
type LDAPSyntaxDefinition ¶
type LDAPSyntaxDefinition string
LDAPSyntaxDefinition is a struct type that stores the raw RFC2307 syntax definition, along with a boolean value indicative of whether the syntax is considered human-readable.
var ( NISNetgroupTripleSyntax LDAPSyntaxDefinition BootParameterSyntax LDAPSyntaxDefinition )
type LDAPSyntaxDefinitions ¶
type LDAPSyntaxDefinitions []LDAPSyntaxDefinition
LDAPSyntaxDefinitiones is a slice type designed to store LDAPSyntaxDefinition instances.
var AllLDAPSyntaxes LDAPSyntaxDefinitions
AllLDAPSyntaxes contains slices of all instances of LDAPSyntaxDefinition defined in this package.
func (LDAPSyntaxDefinitions) Len ¶
func (r LDAPSyntaxDefinitions) Len() int
type MatchingRuleDefinition ¶
type MatchingRuleDefinition string
MatchingRuleDefinition is a string type designed to store a raw MatchingRule definition.
var (
CaseExactIA5SubstringsMatch MatchingRuleDefinition // No, technically this didn't come from RFC2307
)
type MatchingRuleDefinitions ¶
type MatchingRuleDefinitions []MatchingRuleDefinition
MatchingRuleDefinitions is a slice type designed to store instances of MatchingRuleDefinition.
var AllMatchingRules MatchingRuleDefinitions
AllMatchingRules contains slices of all instances of MatchingRuleDefinition defined in this package.
func (MatchingRuleDefinitions) Len ¶
func (r MatchingRuleDefinitions) Len() int
type ObjectClassDefinition ¶
type ObjectClassDefinition string
var ( POSIXAccount ObjectClassDefinition ShadowAccount ObjectClassDefinition POSIXGroup ObjectClassDefinition IPService ObjectClassDefinition IPProtocol ObjectClassDefinition ONCRPC ObjectClassDefinition IPHost ObjectClassDefinition IPNetwork ObjectClassDefinition NISNetgroup ObjectClassDefinition NISMap ObjectClassDefinition NISObject ObjectClassDefinition IEEE802Device ObjectClassDefinition BootableDevice ObjectClassDefinition )
type ObjectClassDefinitions ¶
type ObjectClassDefinitions []ObjectClassDefinition
var (
AllObjectClasses ObjectClassDefinitions
)
func (ObjectClassDefinitions) Len ¶
func (r ObjectClassDefinitions) Len() int