Export (0) Print
Expand All

2.2.15 userAccountControl Bits

Bit flags describing various qualities of a security account. The flags are presented in big-endian byte order.

0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1

X

X

X

X

X

P

S

N

A

T

A

P

E

D

R

D

K

N

D

T

D

S

R

X

D

P

X

X

S

T

W

T

I

D

X

N

X

E

T

C

C

N

R

L

H

R

X

D

X

X: Unused. Must be zero and ignored.

D (ADS_UF_ACCOUNT_DISABLE): Specifies that the account is not enabled for authentication.

HR (ADS_UF_HOMEDIR_REQUIRED): Specifies that the homeDirectory attribute is required.

L (ADS_UF_LOCKOUT): Specifies that the account is temporarily locked out.

NR (ADS_UF_PASSWD_NOTREQD): Specifies that the password-length policy, as specified in [MS-SAMR] section 3.1.1.7, does not apply to this user.

CC (ADS_UF_PASSWD_CANT_CHANGE): Specifies that the user cannot change his or her password.

ET (ADS_UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED): Specifies that the cleartext password is to be persisted.

N (ADS_UF_NORMAL_ACCOUNT): Specifies that the account is the default account type that represents a typical user.

ID (ADS_UF_INTERDOMAIN_TRUST_ACCOUNT): Specifies that the account is for a domain-to-domain trust.

WT (ADS_UF_WORKSTATION_TRUST_ACCOUNT): Specifies that the account is a computer account for a computer that is a member of this domain.

ST (ADS_UF_SERVER_TRUST_ACCOUNT): Specifies that the account is a computer account for a DC.

DP (ADS_UF_DONT_EXPIRE_PASSWD): Specifies that the password does not expire for the account.

SR (ADS_UF_SMARTCARD_REQUIRED): Specifies that the account needs a smart card to log in.

TD (ADS_UF_TRUSTED_FOR_DELEGATION): Used by the Kerberos protocol. This bit indicates that the "OK as Delegate" ticket flag, as described in [RFC4120] section 2.8, MUST be set.

ND (ADS_UF_NOT_DELEGATED): Used by the Kerberos protocol. This bit indicates that the ticket-granting tickets (TGTs) of this account and the service tickets obtained by this account are not marked as forwardable or proxiable when the forwardable or proxiable ticket flags are requested. For more information, see [RFC4120].

DK (ADS_UF_USE_DES_KEY_ONLY): Used by the Kerberos protocol. This bit indicates that only des-cbc-md5 or des-cbc-crc keys, as defined in [RFC3961], are used in the Kerberos protocols for this account.

DR (ADS_UF_DONT_REQUIRE_PREAUTH): Used by the Kerberos protocol. This bit indicates that the account is not required to present valid preauthentication data, as described in [RFC4120] section 7.5.2.

PE (ADS_UF_PASSWORD_EXPIRED): Specifies that the password age on the user has exceeded the maximum password age policy.

TA (ADS_UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION): Used by the Kerberos protocol. When set, this bit indicates that the account (when running as a service) obtains an S4U2self service ticket (as specified in [MS-SFU]) with the forwardable flag set. If this bit is cleared, the forwardable flag is not set in the S4U2self service ticket.

NA (ADS_UF_NO_AUTH_DATA_REQUIRED): Used by the Kerberos protocol. This bit indicates that when the Key Distribution Center (KDC) is issuing a service ticket for this account, the Privilege Attribute Certificate (PAC) MUST NOT be included. For more information, see [RFC4120].

PS (ADS_UF_PARTIAL_SECRETS_ACCOUNT): Specifies that the account is a computer account for a read-only domain controller (RODC). If this bit is set, the ADS_UF_WORKSTATION_TRUST_ACCOUNT must also be set. This flag is only interpreted by a DC whose DC functional level is DS_BEHAVIOR_WIN2008 or greater.

Show:
© 2014 Microsoft