2.2.19.4 SECURITYBINDING

The SECURITYBINDING structure describes an RPC security provider and a service principal name (SPN). A client uses these to communicate with either an object resolver or an object exporter.


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

wAuthnSvc

Reserved (optional)

aPrincName (variable)

...

wAuthnSvc (2 bytes):  An RPC security provider constant, as specified in [MS-RPCE] section 2.2.1.1.7. This field MUST NOT contain the value RPC_C_AUTHN_DEFAULT. Additionally, if this field is RPC_C_AUTHN_NONE, the Reserved and aPrincName fields MUST NOT be present, and this indicates that the client MUST NOT use any security on the ORPC invocations (see section 3.2.4.2). If this field is not RPC_C_AUTHN_NONE, the Reserved and aPrincName fields MUST be present.

Reserved (2 bytes): If present, MUST be set to 0xffff when sent and MUST be ignored on receipt.

aPrincName (variable): An optional null-terminated Unicode string that, if present, MUST contain an SPN. An empty null-terminated Unicode string in this field indicates that no SPN is specified, and the client MUST NOT use an SPN for the ORPC invocations (see section 3.2.4.2).