Fix samba to install all pkgconfig files and modify samba instructions to match systemd units.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11086 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Krejzi 2013-03-10 21:07:50 +00:00
parent e38cfcac5e
commit a3f7f4b187
2 changed files with 12 additions and 2 deletions

View File

@ -109,6 +109,14 @@
<sect2 role="installation">
<title>Installation of Samba</title>
<para>
First, create a privileged group for <command>winbindd</command>
clients by running the following command as the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>groupadd -g 97 winbindd_priv</userinput></screen>
<note>
<para>If you wish to run the test suite after the binaries are built,
you must add the <option>--enable-socket-wrapper</option> parameter to
@ -131,7 +139,7 @@ sed -i -e "s/python2.6 python2.5/python2.7 &amp;/" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-piddir=/run \
--with-piddir=/run/samba \
--with-pammodulesdir=/lib/security \
--with-fhs \
--enable-nss-wrapper \
@ -150,7 +158,7 @@ make</userinput></screen>
<screen role="root"><userinput>make install &amp;&amp;
cp pkgconfig/wbclient.pc /usr/lib/pkgconfig &amp;&amp;
install -v -m644 pkgconfig/*.pc /usr/lib/pkgconfig &amp;&amp;
install -v -m755 ../nsswitch/libnss_win{s,bind}.so /lib &amp;&amp;
ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 &amp;&amp;
ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 &amp;&amp;

View File

@ -109,6 +109,8 @@
<row><entry>avahi-autoipd</entry><entry>85</entry><entry>85</entry></row>
<row><entry>netdev </entry><entry> </entry><entry>86</entry></row>
<row><entry>ntp </entry><entry>87</entry><entry>87</entry></row>
<row><entry>sambashare</entry><entry> </entry><entry>96</entry></row>
<row><entry>winbindd_priv</entry><entry> </entry><entry>97</entry></row>
<row><entry>anonymous</entry><entry>98</entry><entry> </entry></row>
<row><entry>nobody </entry><entry>99</entry><entry> </entry></row>
<row><entry>nogroup </entry><entry> </entry><entry>99</entry></row>