Struct ldap_types::basic::RootDSE
source · [−]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
supported_extensions: Vec<ObjectIdentifier>
LDAP extensions the server supports
supported_features: Vec<ObjectIdentifier>
LDAP features the server supports
supported_sasl_mechanisms: Vec<String>
SASL mechanisms the server supports for authentication
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
subschema_subentry: String
the DN of the subschema subentry
this is essentially where the LDAP schema elements this server supports can be retrieved
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RootDSE
impl<'de> Deserialize<'de> for RootDSE
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RootDSE
impl Send for RootDSE
impl Sync for RootDSE
impl Unpin for RootDSE
impl UnwindSafe for RootDSE
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more