188.8.131.52 A Local Client Application Initiates a Server Session
The local client application provides:
The name of the server.
Credentials to be used to connect to the server.
The client MUST first connect to the server as specified in section 184.108.40.206.1.
Next, the client MUST negotiate the protocol by any of the methods specified in [MS-SMB2] section 220.127.116.11.2, initially offering the highest protocol supported by the local client implementation.
Authenticate the user by invoking the processing logic specified in section 18.104.22.168.4, providing the credentials supplied by the caller; next, the client MUST connect to the IPC$ share by invoking the processing logic specified in section 22.214.171.124.5
Any error incurred during the processing of the preceding steps MUST be returned to the caller.
Upon successful completion, a new ClientGenericContext structure MUST be initialized as follows and returned to the caller.
The ClientGenericContext.ProtocolDialect field MUST be set to an implementation-specific identifier indicating the protocol (either that specified by [MS-CIFS] or by [MS-SMB2]).
The ClientGenericContext.ProtocolSpecificOpen field MUST be set to the protocol-specific Client.Session obtained by the processing logic specified in section 126.96.36.199.4.