IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
<para>This option determines the basic operating mode of a Samba
server and is one of the most important settings in the <filename
moreinfo="none"> smb.conf</filename> file.</para>
<para>The default is <commandmoreinfo="none">server role = auto</command>, as causes
Samba to operate according to the <smbconfoptionname="security"/> setting, or if not
specified as a simple file server that is not connected to any domain.</para>
<para>The alternatives are
<commandmoreinfo="none">server role = standalone</command> or <commandmoreinfo="none">server role = member server
</command>, which support joining Samba to a Windows domain, along with <commandmoreinfo="none">server role = domain controller</command>, which run Samba as a Windows domain controller.</para>
<para>You should use <commandmoreinfo="none">server role = standalone</command> and
<smbconfoptionname="map to guest"/> if you
want to mainly setup shares without a password (guest shares). This
is commonly used for a shared printer server. </para>
<para><anchorid="AUTO"/><emphasis>SERVER ROLE = AUTO</emphasis></para>
<para>This is the default server role in Samba, and causes Samba to consult
the <smbconfoptionname="security"/> parameter (if set) to determine the server role, giving compatable behaviours to previous Samba versions.</para>
<para><anchorid="STANDALONE"/><emphasis>SERVER ROLE = STANDALONE</emphasis></para>
<para>If <smbconfoptionname="security"/> is also not specified, this is the default security setting in Samba.
In standalone operation, a client must first "log-on" with a
valid username and password (which can be mapped using the <smbconfoptionname="username map"/>
parameter) stored on this machine. Encrypted passwords (see the <smbconfoptionname="encrypted passwords"/> parameter) are by default
used in this security mode. Parameters such as <smbconfoptionname="user"/> and <smbconfoption
name="guest only"/> if set are then applied and
may change the UNIX user to use on this connection, but only after
the user has been successfully authenticated.</para>
<para><anchorid="MEMBER SERVER"/><emphasis>SERVER ROLE = MEMBER SERVER</emphasis></para>
<para>This mode will only work correctly if <citerefentry><refentrytitle>net</refentrytitle>
<manvolnum>8</manvolnum></citerefentry> has been used to add this
machine into a Windows Domain. It expects the <smbconfoptionname="encrypted passwords"/>
parameter to be set to <constant>yes</constant>. In this
mode Samba will try to validate the username/password by passing
it to a Windows or Samba Domain Controller, in exactly
the same way that a Windows Server would do.</para>
<para><emphasis>Note</emphasis> that a valid UNIX user must still
exist as well as the account on the Domain Controller to allow
Samba to have a valid UNIX account to map file access to. Winbind can provide this.</para>