Correct the information for smbpasswd.
PR: docs/99768 Submitted by: clsung
This commit is contained in:
parent
c3bbd98f30
commit
0cb19bcad0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28839
1 changed files with 6 additions and 5 deletions
|
@ -4489,15 +4489,16 @@ DocumentRoot /www/someotherdomain.tld
|
|||
backend is used, the
|
||||
<filename>/usr/local/private/smbpasswd</filename> file must
|
||||
be created to allow <application>Samba</application> to
|
||||
authenticate clients. If you would like to give all of
|
||||
authenticate clients. If you would like to give
|
||||
your &unix; user accounts access from &windows; clients, use the
|
||||
following command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>grep -v "^#" /etc/passwd | make_smbpasswd > /usr/local/private/smbpasswd</userinput>
|
||||
&prompt.root; <userinput>chmod 600 /usr/local/private/smbpasswd</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>smbpasswd -a username</userinput></screen>
|
||||
|
||||
<para>Please see the <application>Samba</application>
|
||||
documentation for additional information about configuration
|
||||
<para>Please see the
|
||||
<ulink
|
||||
url="http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/">Official Samba HOWTO</ulink>
|
||||
for additional information about configuration
|
||||
options. With the basics outlined here, you should have
|
||||
everything you need to start running
|
||||
<application>Samba</application>.</para>
|
||||
|
|
Loading…
Reference in a new issue