Enum ldap3::LdapUrlExt
source · pub enum LdapUrlExt<'a> {
Bindname(Cow<'a, str>),
XBindpw(Cow<'a, str>),
Credentials(Cow<'a, str>),
SaslMech(Cow<'a, str>),
StartTLS,
Unknown(Cow<'a, str>),
}
Expand description
LDAP URL extensions.
Historically, very few extensions have been described in the LDAP standards, and extension support is very library- and application-specific. This crate recognizes two widely implemented extensions (bindname and x-bindpw), as well as several experimental ones.
Variants§
Bindname(Cow<'a, str>)
Bindname, the DN for the Simple Bind operation. Originally specified in RFC 2256, but dropped from its successor, RFC 4516 (“lack of known implementations”).
XBindpw(Cow<'a, str>)
X-bindpw, the password for Simple Bind. Never standardized, and not recommended because of security implications.
Credentials(Cow<'a, str>)
1.3.6.1.4.1.10094.1.5.1, experimental.
SaslMech(Cow<'a, str>)
1.3.6.1.4.1.10094.1.5.2, experimental.
StartTLS
1.3.6.1.4.1.1466.20037, StartTLS extended operation. Has no value. Should signal to the application to use StartTLS when connecting.
Unknown(Cow<'a, str>)
Unknown extension.
Trait Implementations§
source§impl<'a> Clone for LdapUrlExt<'a>
impl<'a> Clone for LdapUrlExt<'a>
source§fn clone(&self) -> LdapUrlExt<'a>
fn clone(&self) -> LdapUrlExt<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more