DS_SPN_NAME_TYPE enumeration

The DS_SPN_NAME_TYPE enumeration is used by the DsGetSPN function to identify the format for composing SPNs.

Syntax


typedef enum  { 
  DS_SPN_DNS_HOST   = 0,
  DS_SPN_DN_HOST    = 1,
  DS_SPN_NB_HOST    = 2,
  DS_SPN_DOMAIN     = 3,
  DS_SPN_NB_DOMAIN  = 4,
  DS_SPN_SERVICE    = 5
} DS_SPN_NAME_TYPE;

Constants

DS_SPN_DNS_HOST

The SPN format for the distinguished name service of the host-based service, which provides services identified with its host computer. This SPN uses the following format:


jeffsmith.fabrikam.com

DS_SPN_DN_HOST

The SPN format for the distinguished name of the host-based service, which provides services identified with its host computer. This SPN uses the following format:


cn=jeffsmith,ou=computers,dc=fabrikam,dc=com

DS_SPN_NB_HOST

The SPN format for the NetBIOS service of the host-based service, which provides services identified with its host computer. This SPN uses the following format:


jeffsmith-nec

DS_SPN_DOMAIN

The SPN format for a replicable service that provides services to the specified domain. This SPN uses the following format:


fabrikam.com

DS_SPN_NB_DOMAIN

The SPN format for a replicable service that provides services to the specified NetBIOS domain. This SPN uses the following format:


fabrikam

DS_SPN_SERVICE

The SPN format for a specified service. This SPN uses the following formats, depending on which service is used:


cn=anRpcService,cn=RPC Services,cn=system,dc=fabrikam,dc=com


cn=aWsService,cn=Winsock Services,cn=system,dc=fabrikam,dc=com


cn=aService,dc=itg,dc=fabrikam,dc=com


www.fabrikam.com, ftp.fabrikam.com, ldap.fabrikam.com


products.fabrikam.com

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Ntdsapi.h

See also

DsGetSPN
Enumerations in Active Directory Domain Services

 

 

Show: