DS_SPN_NAME_TYPE enumeration (ntdsapi.h)
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 Value: 0 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: cpp<br>jeffsmith.fabrikam.com<br> |
DS_SPN_DN_HOST Value: 1 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: cpp<br>cn=jeffsmith,ou=computers,dc=fabrikam,dc=com<br> |
DS_SPN_NB_HOST Value: 2 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: cpp<br>jeffsmith-nec<br> |
DS_SPN_DOMAIN Value: 3 The SPN format for a replicable service that provides services to the specified domain. This SPN uses the following format: cpp<br>fabrikam.com<br> |
DS_SPN_NB_DOMAIN Value: 4 The SPN format for a replicable service that provides services to the specified NetBIOS domain. This SPN uses the following format: cpp<br>fabrikam<br> |
DS_SPN_SERVICE Value: 5 The SPN format for a specified service. This SPN uses the following formats, depending on which service is used: cpp<br>cn=anRpcService,cn=RPC Services,cn=system,dc=fabrikam,dc=com<br> cpp<br>cn=aWsService,cn=Winsock Services,cn=system,dc=fabrikam,dc=com<br> cpp<br>cn=aService,dc=itg,dc=fabrikam,dc=com<br> cpp<br>www.fabrikam.com, ftp.fabrikam.com, ldap.fabrikam.com<br> cpp<br>products.fabrikam.com<br> |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Header | ntdsapi.h |