ntdsextract2 1.4.24

Display contents of Active Directory database files (ntds.dit)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use strum::Display;

#[derive(clap::ValueEnum, Clone, Copy, Display, Default, Eq, PartialEq)]
pub enum SdDisplayOption {
    /// don't show the Descurity Descriptor at all
    #[strum(serialize = "hide")]
    #[default]
    Hide,

    /// show the Security Descriptor as SDDL
    #[strum(serialize = "sddl")]
    Sddl,

    /// show the Security Descriptor as SDDL, with the access mask as numeric value
    #[strum(serialize = "sddl-numeric")]
    SddlNumeric
}