Update some info in the Samba section:

- Samba now uses /usr/local/etc/samba instead of /usr/local/private
- Add a note on tdbsam and pdbedit

PR:		docs/126436
Submitted by:	Konstantinos Kapenekakis <ultimatekonstantinos@gmail.com>
Approved by:	gabor (mentor)
This commit is contained in:
Manolis Kiagias 2008-08-14 20:14:30 +00:00
parent e45341cab8
commit a7cd154e63
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32667

View file

@ -4610,6 +4610,16 @@ DocumentRoot /www/someotherdomain.tld
<screen>&prompt.root; <userinput>smbpasswd -a username</userinput></screen>
<note>
<para>Since <application>Samba</application> 3.0.23c, the actual
directory for authentication files is
<filename class="directory">/usr/local/etc/samba</filename>. The
recommended backend is now <literal>tdbsam</literal>, and the
following command should be used to add user accounts:</para>
<screen>&prompt.root; <userinput><command>pdbedit <option>-a</option> <option>-u</option> <replaceable>username</replaceable></command></userinput></screen>
</note>
<para>Please see the
<ulink
url="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/">Official Samba HOWTO</ulink>