Export (0) Print
Expand All

3.1.3 Initialization

The server SHOULD listen on the well-known endpoints defined for this RPC interface in section 2.1.

The server MUST perform initialization according to the following rules, when calling an RPC notification method on the client:

  • Create an RPC binding handle to the server RPC endpoint (the client implements a server endpoint for this protocol in order to process notifications), or use an RPC context handle, as specified in [C706-Ch2Intro].

  • Use RPC handles of the following types:

    • Context handles that are used across multiple calls to the client, for methods taking a PRINTER_HANDLE.

    • Handles that are bound to a single call to the client, for name-based methods taking a STRING_HANDLE. A STRING_HANDLE_BIND method MUST be implemented by the server.

  • When creating the RPC binding handle on the named pipe \pipe\spoolss, the server MUST specify an ImpersonationLevel of 2 (Impersonation), as specified in [MS-SMB2], section 2.2.13.

If Active Directory is available, the server SHOULD perform according to the rules described in section 2.3.3.4 when starting additional initialization.

Both the server and the client MUST ignore all LDAP operation failures that occur during their initialization. For example, if LDAP initialization for one print queue fails, the server MUST ignore this failure and SHOULD continue to execute the remaining LDAP initializations for the remaining print queues.<292>

 
Show:
© 2014 Microsoft