Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Normalize ¶
func Normalize(dn *ldap.DN) string
Normalize takes an ldap.DN struct and turns it into a "normalized" DN string by cases folding all RDN (attributetypes and values). Note: This currently handles all attributes as caseIgnoreStrings ignoring the Syntax the Attribute Type might have assigned.
func ParseNormalize ¶
ParseNormalize normalizes the passed LDAP DN string by first parsing it (using ldap.ParseDN) and then casefolding all RDN using ldapdn.Normalize(). ParseNormalize will return an error when parsing the DN fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.