st [ ":" port]] ["/" dn ["?" [attributes] ["?" [scope] ["?" [filter] ["?" extensions]]]]] scheme = "ldap" dn = Dn attributes = attrdesc ["," attrdesc] attrdesc = selector ["," selector] selector = attributeSelector (from Section 4.5.1 of RFC4511) scope = "base" / "one" / "sub" extensions = extension ["," extension] extension = ["!"] extype ["=" exvalue] extype = oid (from Section 1.4 of RFC4512) exvalue = LDAPString (from Section 4.1.2 of RFC4511) host = host from Section 3.2.2 of RFC3986 port = port from Section 3.2.3 of RFC3986 filter = filter from Section 3 of RFC 4515 From Section 3.2.1/2 of RFC3986
host = IP-literal / IPv4address / reg-name port = *DIGIT IP-literal = "[" ( IPv6address / IPvFuture ) "]" IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" ) IPv6address = 6( h16 ":" ) ls32 | "::" 5( h16 ":" ) ls32 | [ h16 ] "::" 4( h16 ":" ) ls32 | [ *1( h16 ":" ) h16 ] "::" 3( h16 ":" ) ls32 | [ *2( h16 ":" ) h16 ] "::" 2( h16 ":" ) ls32 | [ *3( h16 ":" ) h16 ] "::" h16 ":" ls32 | [ *4( h16 ":" ) h16 ] "::" ls32 | [ *5( h16 ":" ) h16 ] "::" h16 | [ *6( h16 ":" ) h16 ] "::" IPv4address = dec-octet "." dec-octet "." dec-octet "." dec-octet dec-octet = DIGIT | [1-9] DIGIT | "1" 2DIGIT | "2" [0-4] DIGIT | "25" [0-5] reg-name = *( unreserved / pct-encoded / sub-delims ) unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" pct-encoded = "%" HEXDIG HEXDIG sub-delims = "!" | "$" | "&" | "'" | "(" | ")" | "*" | "+" | "," | ";" | "=" h16 = 1*4HEXDIG ls32 = ( h16 ":" h16 ) / IPv4address DIGIT = 0..9 ALPHA = A-Z / a-z HEXDIG = DIGIT / A-F / a-f
@author
Apache Directory Project