22.214.171.124 RPC Binding Handles for Netlogon Methods
RPC binding is the process of creating a logical connection between a client and a server. The information that composes the binding between client and server is represented by a structure called a binding handle.
All Netlogon RPC methods accept an RPC binding handle as the first parameter. With the exception of the NetrLogonSamLogonEx (section 126.96.36.199.1) method, which uses an RPC primitive binding handle (see [MS-RPCE] section 188.8.131.52.1), all Netlogon RPC methods use a custom binding handle.
This type is declared as follows:
typedef [handle] wchar_t* LOGONSRV_HANDLE;
This custom binding handle is a null-terminated Unicode string of the name of the server that receives the call. The server name can be in either the NetBIOS format or the DNS format. It may or may not be prefixed with two backslashes. There is no prescriptive requirement regarding backslashes. It MAY<208> be NULL, in which case the server is the same as the client (that is, the local machine).