DS_NAME_FLAGS

DS_NAME_FLAGS enumeration

The DS_NAME_FLAGS enumeration is used to define how the name syntax will be cracked. These flags are used by the DsCrackNames function.

Syntax


typedef enum  { 
  DS_NAME_NO_FLAGS               = 0x0,
  DS_NAME_FLAG_SYNTACTICAL_ONLY  = 0x1,
  DS_NAME_FLAG_EVAL_AT_DC        = 0x2,
  DS_NAME_FLAG_GCVERIFY          = 0x4,
  DS_NAME_FLAG_TRUST_REFERRAL    = 0x8
} DS_NAME_FLAGS;

Constants

DS_NAME_NO_FLAGS

Indicates that there are no associated flags.

DS_NAME_FLAG_SYNTACTICAL_ONLY

Performs a syntactical mapping at the client without transferring over the network. The only syntactic mapping supported is from DS_FQDN_1779_NAME to DS_CANONICAL_NAME or DS_CANONICAL_NAME_EX. DsCrackNames returns the DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING flag if a syntactical mapping is not possible.

DS_NAME_FLAG_EVAL_AT_DC

Forces a trip to the domain controller for evaluation, even if the syntax could be cracked locally.

DS_NAME_FLAG_GCVERIFY

The call fails if the domain controller is not a global catalog server.

DS_NAME_FLAG_TRUST_REFERRAL

Enables cross forest trust referral.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Ntdsapi.h

See also

DsCrackNames
DS_NAME_FORMAT
Enumerations in Active Directory Domain Services

 

 

Show:
© 2016 Microsoft