4.1.1.2.1 ConstructReplSpn
-
procedure ConstructReplSpn( dnsHostName: unicodestring, guid: GUID): unicodestring
This procedure returns a replication SPN with the given DNS host name (in dnsHostName) and GUID (in guid). The service class of the resulting SPN is DRS_SPN_CLASS. For example, given dnsHostName = "dc-01.fabrikam.com" and guid being the GUID whose string representation is "{d66e9688-66a5-4a52-8af2-17b110febe0c}", the return value is:
E3514235-4B06-11D1-AB04-00C04FC2DCD2/d66e9688-66a5-4a52-8af2-17b110febe0c/dc-01.fabrikam.com