共用方式為


6.3.1.2 DS_FLAG Options Bits

The following are the DS_FLAG options bits:


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

F
F

F
D
M

F
D
N
S

X

X

X

X

X

X

X

X

X

X

X

X

X

F
W
9

F
W
8

F
W
S

F
F
S

F
S
S

F
N

F
G
T

F
W

F
C

F
T

F
K

F
D

F
L

F
G

X

F
P

Note The bits are presented in big-endian byte order.

FP (DS_PDC_FLAG, 0x00000001): The server holds the PDC FSMO role (PdcEmulationMasterRole). FSMO roles are defined in section 3.1.1.1.11. Certain updates can be performed only on the holder of the PDC FSMO role (see Updates Performed Only on FSMOs (section 3.1.1.5.1.8)).

FG (DS_GC_FLAG, 0x00000004): The server is a GC server and will accept and process messages directed to it on the global catalog ports (see section 3.1.1.3.1.10).

FL (DS_LDAP_FLAG, 0x00000008): The server is an LDAP server.

FD (DS_DS_FLAG, 0x00000010): The server is a DC.

FK (DS_KDC_FLAG, 0x00000020): The server is running the Kerberos Key Distribution Center service.

FT (DS_TIMESERV_FLAG, 0x00000040): The Win32 Time Service, as specified in [MS-W32T], is present on the server.

FC (DS_CLOSEST_FLAG, 0x00000080): The server is in the same site as the client. This is a hint to the client that it is well-connected to the server in terms of speed.

FW (DS_WRITABLE_FLAG, 0x00000100): Indicates that the server is not an RODC. As described in section 3.1.1.1.9, all NC replicas hosted on an RODC do not accept originating updates.

FGT (DS_GOOD_TIMESERV_FLAG, 0x00000200): The server is a reliable time server.

FN (DS_NDNC_FLAG, 0x00000400): The NC is an application NC.

FSS (DS_SELECT_SECRET_DOMAIN_6_FLAG, 0x00000800): The server is an RODC.

FFS (DS_FULL_SECRET_DOMAIN_6_FLAG, 0x00001000): The server is a writable DC, not running Windows 2000 Server operating system through Windows Server 2003 R2 operating system.

FWS (DS_WS_FLAG, 0x00002000): The Active Directory Web Service, as specified in [MS-ADDM], is present on the server.

FW8 (DS_DS_8_FLAG, 0x00004000): The server is not running Windows 2000 operating system through Windows Server 2008 R2 operating system.

FW9 (DS_DS_9_FLAG, 0x00008000): The server is not running Windows 2000 through Windows Server 2012 operating system.

FDNS (DS_DNS_CONTROLLER_FLAG, 0x20000000): The server has a DNS name.

FDM (DS_DNS_DOMAIN_FLAG, 0x40000000): The NC is a default NC.

FF (DS_DNS_FOREST_FLAG, 0x80000000): The NC is the forest root.

X: Reserved for future expansion. The server MUST return zero, and the client MUST ignore.