nsmb.conf - configuration file for SMB requests
The configuration hierarchy is made up of several sections, each section containing a few or several lines of parameters and their assigned values. Each of these sections must begin with a section name enclosed within square brackets, similar to:
The end of each section is marked by either the start of a new section, or by the abrupt ending of the file, commonly referred to as the EOF Each section may contain zero or more parameters such as:
where key represents a parameter name, and value would be the parameter's assigned value.
The SMB library uses the following information for section names:
Possible keywords may include:
# Configuration file for example.com [default] workgroup=SALES # The 'FSERVER' is an NT server. [FSERVER] charsets=koi8-r:cp866 addr=fserv.example.com
All lines which begin with the `#' character are comments and will not be parsed. The ``default '' section describes the default workgroup or domain, in this case ``SALES '' The next section depicted here as ``FSERVER '' defines a server section and then assigns it a charset which is only required when Cyrillic characters are not used. The hostname value, ``fserv.example.com '' is also assigned in this section.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |