Only samba4 is available in ports now, switch to use samba_server for service start/stop.

PR:	229819
Reviewed by:	allanjude
Reported by:	Zhenhua Feng <fengzhenhua1987@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D16299
This commit is contained in:
Guangyuan Yang 2018-07-18 02:54:00 +00:00
parent bc50d29de4
commit be85a807d6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=52015

View file

@ -3987,15 +3987,12 @@ directory mask = 0755</programlisting>
add the following line to
<filename>/etc/rc.conf</filename>:</para>
<programlisting>samba_enable="YES"</programlisting>
<para>To enable Samba4, use:</para>
<programlisting>samba_server_enable="YES"</programlisting>
<para>To start <application>Samba</application> now:</para>
<screen>&prompt.root; <userinput>service samba start</userinput>
Starting SAMBA: removing stale tdbs :
<screen>&prompt.root; <userinput>service samba_server start</userinput>
Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.</screen>
@ -4010,7 +4007,7 @@ Starting smbd.</screen>
<para><application>Samba</application> can be stopped at any
time by typing:</para>
<screen>&prompt.root; <userinput>service samba stop</userinput></screen>
<screen>&prompt.root; <userinput>service samba_server stop</userinput></screen>
<para><application>Samba</application> is a complex software
suite with functionality that allows broad integration with