[][src]Struct ms_pac::KERB_VALIDATION_INFO

pub struct KERB_VALIDATION_INFO {
    pub LogonTime: FILETIME,
    pub LogoffTime: FILETIME,
    pub KickOffTime: FILETIME,
    pub PasswordLastSet: FILETIME,
    pub PasswordCanChange: FILETIME,
    pub PasswordMustChange: FILETIME,
    pub EfectiveName: RPC_UNICODE_STRING,
    pub FullName: RPC_UNICODE_STRING,
    pub LogonScript: RPC_UNICODE_STRING,
    pub ProfilePath: RPC_UNICODE_STRING,
    pub HomeDirectory: RPC_UNICODE_STRING,
    pub HomeDirectoryDrive: RPC_UNICODE_STRING,
    pub LogonCount: USHORT,
    pub BadPasswordCount: USHORT,
    pub UserId: ULONG,
    pub PrimaryGroupId: ULONG,
    pub GroupIds: Vec<GROUP_MEMBERSHIP>,
    pub UserFlags: ULONG,
    pub UserSessionKey: USER_SESSION_KEY,
    pub LogonServer: RPC_UNICODE_STRING,
    pub LogonDomainName: RPC_UNICODE_STRING,
    pub LogonDomainId: PISID,
    pub Reserved1: [u8; 8],
    pub UserAccountControl: ULONG,
    pub SubAuthStatus: ULONG,
    pub LastSuccessfulILogon: FILETIME,
    pub LastFailedILogon: FILETIME,
    pub FailedILogonCount: ULONG,
    pub Reserved3: ULONG,
    pub ExtraSids: Vec<KERB_SID_AND_ATTRIBUTES>,
    pub ResourceGroupDomainSid: Option<PISID>,
    pub ResourceGroupIds: Vec<GROUP_MEMBERSHIP>,
}
typedef struct _KERB_VALIDATION_INFO {
  FILETIME LogonTime;
  FILETIME LogoffTime;
  FILETIME KickOffTime;
  FILETIME PasswordLastSet;
  FILETIME PasswordCanChange;
  FILETIME PasswordMustChange;
  RPC_UNICODE_STRING EffectiveName;
  RPC_UNICODE_STRING FullName;
  RPC_UNICODE_STRING LogonScript;
  RPC_UNICODE_STRING ProfilePath;
  RPC_UNICODE_STRING HomeDirectory;
  RPC_UNICODE_STRING HomeDirectoryDrive;
  USHORT LogonCount;
  USHORT BadPasswordCount;
  ULONG UserId;
  ULONG PrimaryGroupId;
  ULONG GroupCount;
  [size_is(GroupCount)] PGROUP_MEMBERSHIP GroupIds;
  ULONG UserFlags;
  USER_SESSION_KEY UserSessionKey;
  RPC_UNICODE_STRING LogonServer;
  RPC_UNICODE_STRING LogonDomainName;
  PISID LogonDomainId;
  ULONG Reserved1[2];
  ULONG UserAccountControl;
  ULONG SubAuthStatus;
  FILETIME LastSuccessfulILogon;
  FILETIME LastFailedILogon;
  ULONG FailedILogonCount;
  ULONG Reserved3;
  ULONG SidCount;
  [size_is(SidCount)] PKERB_SID_AND_ATTRIBUTES ExtraSids;
  PISID ResourceGroupDomainSid;
  ULONG ResourceGroupCount;
  [size_is(ResourceGroupCount)] PGROUP_MEMBERSHIP ResourceGroupIds;
} KERB_VALIDATION_INFO;

Fields

LogonTime: FILETIMELogoffTime: FILETIMEKickOffTime: FILETIMEPasswordLastSet: FILETIMEPasswordCanChange: FILETIMEPasswordMustChange: FILETIMEEfectiveName: RPC_UNICODE_STRINGFullName: RPC_UNICODE_STRINGLogonScript: RPC_UNICODE_STRINGProfilePath: RPC_UNICODE_STRINGHomeDirectory: RPC_UNICODE_STRINGHomeDirectoryDrive: RPC_UNICODE_STRINGLogonCount: USHORTBadPasswordCount: USHORTUserId: ULONGPrimaryGroupId: ULONGGroupIds: Vec<GROUP_MEMBERSHIP>UserFlags: ULONGUserSessionKey: USER_SESSION_KEYLogonServer: RPC_UNICODE_STRINGLogonDomainName: RPC_UNICODE_STRINGLogonDomainId: PISIDReserved1: [u8; 8]UserAccountControl: ULONGSubAuthStatus: ULONGLastSuccessfulILogon: FILETIMELastFailedILogon: FILETIMEFailedILogonCount: ULONGReserved3: ULONGExtraSids: Vec<KERB_SID_AND_ATTRIBUTES>ResourceGroupDomainSid: Option<PISID>ResourceGroupIds: Vec<GROUP_MEMBERSHIP>

Implementations

impl KERB_VALIDATION_INFO[src]

pub fn build_data(&self) -> Vec<u8>[src]

Creates a binary representation of KERB_VALIDATION_INFO by following the indications of [MS-PAC]

pub fn build(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for KERB_VALIDATION_INFO[src]

impl Debug for KERB_VALIDATION_INFO[src]

impl Default for KERB_VALIDATION_INFO[src]

impl PartialEq<KERB_VALIDATION_INFO> for KERB_VALIDATION_INFO[src]

impl StructuralPartialEq for KERB_VALIDATION_INFO[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.