ntdsextract2 1.4.3

Display contents of Active Directory database files (ntds.dit)
use strum::Display;

#[derive(clap::ValueEnum, Clone, Copy, Display, Hash, Eq, PartialEq)]
pub enum MemberOfAttribute {
    /// show the Security ID (SID)
    #[strum(serialize = "sid")]
    Sid,

    /// show the relative distinguished name (RDN) value
    #[strum(serialize = "rdn")]
    Rdn,

    /// show the distinguished name (DN)
    #[strum(serialize = "dn")]
    Dn,

    /// show the samAccountName attribute
    #[strum(serialize = "sam")]
    #[clap(name="sam")]
    SamAccountName,
}