mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
992f1e6b8f
add the 5 missing chapters from the HOWTO
and add jht's Samba by Example book.
(This used to be commit 9fb5bcb93e
)
75 lines
3.0 KiB
XML
75 lines
3.0 KiB
XML
<samba:parameter name="passdb backend"
|
|
context="G"
|
|
type="list"
|
|
advanced="1" developer="1"
|
|
xmlns:samba="http://samba.org/common">
|
|
<description>
|
|
|
|
<para>This option allows the administrator to chose which backends
|
|
to retrieve and store passwords with. This allows (for example) both
|
|
smbpasswd and tdbsam to be used without a recompile. Multiple
|
|
backends can be specified, separated by spaces. The backends will be
|
|
searched in the order they are specified. New users are always added
|
|
to the first backend specified. </para>
|
|
|
|
<para>This parameter is in two parts, the backend's name, and a 'location'
|
|
string that has meaning only to that particular backed. These are separated
|
|
by a : character.</para>
|
|
|
|
<para>Available backends can include:
|
|
<itemizedlist>
|
|
<listitem>
|
|
<para><command moreinfo="none">smbpasswd</command> - The default smbpasswd
|
|
backend. Takes a path to the smbpasswd file as an optional argument.
|
|
</para>
|
|
</listitem>
|
|
|
|
<listitem>
|
|
<para><command moreinfo="none">tdbsam</command> - The TDB based password storage
|
|
backend. Takes a path to the TDB as an optional argument (defaults to passdb.tdb
|
|
in the <link linkend="PRIVATEDIR">
|
|
<parameter moreinfo="none">private dir</parameter></link> directory.</para>
|
|
</listitem>
|
|
|
|
<listitem>
|
|
<para><command moreinfo="none">ldapsam</command> - The LDAP based passdb
|
|
backend. Takes an LDAP URL as an optional argument (defaults to
|
|
<command moreinfo="none">ldap://localhost</command>)</para>
|
|
|
|
<para>LDAP connections should be secured where possible. This may be done using either
|
|
Start-TLS (see <link linkend="LDAPSSL"><parameter moreinfo="none">ldap ssl</parameter></link>) or by
|
|
specifying <parameter moreinfo="none">ldaps://</parameter> in
|
|
the URL argument. </para>
|
|
|
|
<para>Multiple servers may also be specified in double-quotes, if your
|
|
LDAP libraries supports the LDAP URL notation.
|
|
(OpenLDAP does).
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
<para><command moreinfo="none">nisplussam</command> -
|
|
The NIS+ based passdb backend. Takes name NIS domain as
|
|
an optional argument. Only works with sun NIS+ servers.
|
|
</para>
|
|
</listitem>
|
|
|
|
<listitem>
|
|
<para><command moreinfo="none">mysql</command> -
|
|
The MySQL based passdb backend. Takes an identifier as
|
|
argument. Read the Samba HOWTO Collection for configuration
|
|
details.
|
|
</para></listitem>
|
|
|
|
</itemizedlist>
|
|
</para>
|
|
</description>
|
|
|
|
<value type="default">smbpasswd</value>
|
|
<value type="example">tdbsam:/etc/samba/private/passdb.tdb smbpasswd:/etc/samba/smbpasswd</value>
|
|
<value type="example">ldapsam:ldaps://ldap.example.com</value>
|
|
<value type="example">ldapsam:"ldap://ldap-1.example.com ldap://ldap-2.example.com"</value>
|
|
<value type="example">mysql:my_plugin_args tdbsam</value>
|
|
</samba:parameter>
|