次の方法で共有


3.3.3 Initialization

When the CIFS server is started, the following values MUST be initialized:

  • Server.Enabled MUST be set to FALSE.

  • Server.Paused MUST be set to FALSE.

  • All of the members in the Server.Statistics ADM element MUST be set to zero.

  • Server.ShareLevelAuthentication MUST be set based on system policy and implementation capabilities.<219>

  • Server.SupportDialects MUST be set to the list of dialects identifiers that the server supports, presented in section 1.7.<220>

  • Values for Server.PlaintextAuthenticationPolicy, Server.LMAuthenticationPolicy, and Server.NTLMAuthenticationPolicy MUST be set based on system policy and implementation capabilities, and MUST be one of the possible values listed in Server Global (section 3.3.1.1).<221>

  • Server.ConnectionTable MUST be initialized to an empty list.

  • Server.ShareTable SHOULD be initialized to an empty list.

  • Server.MaxBufferSize MUST be initialized based on local policy or implementation configuration. Server.MaxBufferSize MUST have a minimum value of 1024 (0x00000400) bytes (1Kbyte).<222>

  • Server.MaxMpxCount MUST be initialized based on local policy or implementation configuration.<223>

  • Server.MessageSigningPolicy MUST be initialized based on local policy or implementation capabilities and configuration.<224>

  • Server.AutodisconnectTimeout MUST be set to zero.

  • Server.MaxVcNumber MUST be set to zero.

  • Server.MaxRawSize MUST be initialized based on local policy or implementation configuration.<225>

  • Server.OplockTimeout MUST be set to zero.

  • Server.EnableOplock MUST be set to FALSE.

  • Server.SrvSearchMaxTimeout MUST be set to zero.

  • Server.SrvMaxSessionTableSize MUST be set to zero.

  • Server.MaxSearches MUST be initialized based on local policy or implementation configuration.<226>

The CIFS server MUST notify the server service that initialization is complete by invoking the Server Notifies Completion of Initialization ([MS-SRVS] section 3.1.6.14) event, providing the string "CIFS" as the input parameter.