pub struct RootDSE {
    pub supported_ldap_version: String,
    pub supported_controls: Vec<ObjectIdentifier>,
    pub supported_extensions: Vec<ObjectIdentifier>,
    pub supported_features: Vec<ObjectIdentifier>,
    pub supported_sasl_mechanisms: Vec<String>,
    pub config_context: String,
    pub naming_contexts: Vec<String>,
    pub subschema_subentry: String,
}
Expand description

represents the object to request from an LDAP server to figure out which features,… it supports

https://ldapwiki.com/wiki/RootDSE

https://ldapwiki.com/wiki/LDAP%20Extensions%20and%20Controls%20Listing

Fields

supported_ldap_version: String

version of the LDAP protocol the server supports

supported_controls: Vec<ObjectIdentifier>

LDAP controls the server supports

https://ldapwiki.com/wiki/SupportedControl

supported_extensions: Vec<ObjectIdentifier>

LDAP extensions the server supports

https://ldapwiki.com/wiki/SupportedExtension

supported_features: Vec<ObjectIdentifier>

LDAP features the server supports

https://ldapwiki.com/wiki/SupportedFeatures

supported_sasl_mechanisms: Vec<String>

SASL mechanisms the server supports for authentication

https://ldapwiki.com/wiki/SupportedSASLMechanisms

config_context: String

the DN of the config context on this server

this is where the LDAP server configuration lives

naming_contexts: Vec<String>

the DNs of naming contexts on this server

each of these is essentially the root of a tree where the actual data on the server lives

https://ldapwiki.com/wiki/NamingContext

subschema_subentry: String

the DN of the subschema subentry

this is essentially where the LDAP schema elements this server supports can be retrieved

https://ldapwiki.com/wiki/SubschemaSubentry

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The number of items that this chain link consists of.
Append the elements in this link to the chain.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more