Changeset 7cae14c
- Timestamp:
- 07/29/2013 12:45:52 AM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 2054004
- Parents:
- ec837b8
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
rec837b8 r7cae14c 450 450 <!ENTITY rpcbind-version "0.2.0"> 451 451 <!ENTITY rsync-version "3.0.9"> 452 <!ENTITY samba-version " 3.6.12">452 <!ENTITY samba-version "4.0.7"> 453 453 <!ENTITY wget-version "1.14"> 454 454 <!ENTITY wireless-tools-version "29"> -
introduction/welcome/changelog.xml
rec837b8 r7cae14c 48 48 <itemizedlist> 49 49 <listitem> 50 <para>[bdubbs] - Update to samba-4.0.7.</para> 51 </listitem> 52 <listitem> 50 53 <para>[krejzi] - Updated GNOME Core packages to latest ones.</para> 51 54 </listitem> -
networking/netprogs/samba.xml
rec837b8 r7cae14c 7 7 <!ENTITY samba-download-http "http://ftp.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz"> 8 8 <!ENTITY samba-download-ftp "ftp://ftp.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz"> 9 <!ENTITY samba-md5sum " 430fd21a1acd26964d3ccf366df8709a">10 <!ENTITY samba-size " 34MB">11 <!ENTITY samba-buildsize " 535 MB (includes running the test suite)">12 <!ENTITY samba-time " 2.7 SBU (additionall 1.4 SBU to run the test suite)">9 <!ENTITY samba-md5sum "d887c1383654fc60b7bb1b74d273a826"> 10 <!ENTITY samba-size "21 MB"> 11 <!ENTITY samba-buildsize "479 MB (up to 900MB additional for all tests)"> 12 <!ENTITY samba-time "8.4 SBU (up to 110 SBU to run all tests)"> 13 13 ]> 14 14 … … 32 32 <para>The <application>Samba</application> package provides file and print 33 33 services to SMB/CIFS clients and Windows networking to Linux clients. 34 <application>Samba</application> can also be configured as a Windows NT 35 4.0 Domain Controller replacement (with caveats working with NT PDC's and 36 BDC's), a file/print server acting as a member of a Windows NT 4.0 or 34 <application>Samba</application> can also be configured as a Windows Domain 35 Controller replacement, a file/print server acting as a member of a Windows 37 36 Active Directory domain and a NetBIOS (rfc1001/1002) nameserver (which 38 among stother things provides LAN browsing support).</para>39 40 &lfs7 2_checked;37 among other things provides LAN browsing support).</para> 38 39 &lfs73_checked; 41 40 42 41 <bridgehead renderas="sect3">Package Information</bridgehead> … … 62 61 </itemizedlist> 63 62 64 <!--<bridgehead renderas="sect3">Additional Downloads</bridgehead>65 <itemizedlist spacing="compact">66 <listitem>67 <para>Required patch: <ulink68 url="http://us3.samba.org/samba/patches/patches-&samba-version;/spoolss.diff"/></para>69 </listitem>70 </itemizedlist> -->71 72 63 <bridgehead renderas="sect3">Samba Dependencies</bridgehead> 73 64 74 65 <bridgehead renderas="sect4">Required</bridgehead> 75 <para role="required"><xref linkend="libtirpc"/></para> 66 <para role="required"> 67 <xref linkend="libtirpc"/> 68 </para> 76 69 77 70 <bridgehead renderas="sect4">Optional</bridgehead> 78 <para role="optional"><xref linkend="popt"/>, 79 <xref linkend="linux-pam"/>, 80 <xref linkend="cups"/>, 81 <xref linkend="openldap"/>, 82 <xref linkend="gamin"/>, 83 <xref linkend="acl"/>, 84 <xref linkend="xfsprogs"/>, 85 <xref linkend="mitkrb"/>, 86 <xref linkend="python2"/> (used only in parts of the test suite), 87 <ulink url="http://tdb.samba.org/">tdb</ulink>, 88 <ulink url="http://ctdb.samba.org/">ctdb</ulink>, 89 <xref linkend="libcap2"/>, 90 <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>, 91 <xref linkend="avahi"/>, 92 <ulink url="http://www.openafs.org/">OpenAFS</ulink>, 93 and <ulink url="http://valgrind.org/">Valgrind</ulink> (optionally 94 used by the test suite)</para> 95 96 <para>You will need to install one of the kerberos packages if you plan 97 on using your system to join a Windows NT domain.</para> 98 99 <!-- <bridgehead renderas="sect4">Optional for Samba4 Support</bridgehead> 100 <para role="optional"><xref linkend="gnutls"/> (recommended), 101 <xref linkend="python2"/>, and 102 <xref linkend="sqlite"/></para> --> 71 <para role="optional"> 72 <xref linkend="popt"/>, 73 <xref linkend="linux-pam"/>, 74 <xref linkend="cups"/>, 75 <xref linkend="openldap"/>, 76 <xref linkend="gamin"/>, 77 <xref linkend="acl"/>, 78 <xref linkend="xfsprogs"/>, 79 <xref linkend="mitkrb"/>, 80 <xref linkend="python2"/> (used only in parts of the test suite), 81 <xref linkend="libxslt"/> (used only for documentation), 82 <ulink url="http://tdb.samba.org/">tdb</ulink>, 83 <ulink url="http://ctdb.samba.org/">ctdb</ulink>, 84 <xref linkend="libcap2"/>, 85 <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>, 86 <xref linkend="avahi"/>, 87 <ulink url="http://www.openafs.org/">OpenAFS</ulink>, and 88 <ulink url="http://valgrind.org/">Valgrind</ulink> (optionally 89 used by the test suite)</para> 103 90 104 91 <para condition="html" role="usernotes">User Notes: … … 112 99 <note> 113 100 <para>If you wish to run the test suite after the binaries are built, 114 you must add the <option>--enable-socket-wrapper</option> parameter to 101 you must add the <option>--enable-socket-wrapper</option> 102 and <option>--enable-selftest</option> parameters to 115 103 the <command>configure</command> script below. You may want to run 116 104 <command>configure</command> with the <option>--help</option> parameter … … 122 110 commands:</para> 123 111 124 <screen><userinput>cd source3 && 125 126 sed -i -e "s/python2.6 python2.5/python2.7 &/" \ 127 -e "s/python2.6-config python2.5-config/python2.7-config &/" \ 128 configure && 112 <screen><userinput>sed -i -e "/dmapi_lib/s/$/ldflags='-ltirpc',/" source3/wscript_build && 129 113 130 114 ./configure \ … … 135 119 --with-pammodulesdir=/lib/security \ 136 120 --with-fhs \ 137 --enable-nss-wrapper \ 138 --enable-socket-wrapper && 139 sed -i "s/-ldl/& -ltirpc -lpthread/" Makefile && 121 --enable-nss-wrapper && 122 140 123 make</userinput></screen> 141 124 142 <para>To test the results, issue: <command>make test</command>. If you have 143 <application>Linux-PAM</application> installed and built the PAM library 144 modules, you can perform a dlopen test by issuing: 145 <command>make test_pam_modules</command>.</para> 146 147 <!-- <para>This program dose not come with a functional test suite.</para> --> 125 <para>To test the results, as the <systemitem 126 class="username">root</systemitem> user,issue: <command>make 127 quicktest</command> (about 8 SBU). There are other targets (test, 128 subunit-test) available, but take a very long (over 100 SBU) time.</para> 148 129 149 130 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> … … 151 132 <screen role="root"><userinput>make install && 152 133 153 install -v -m644 pkgconfig/*.pc /usr/lib/pkgconfig && 154 install -v -m755 ../nsswitch/libnss_win{s,bind}.so /lib && 155 ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 && 156 ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 && 157 158 install -v -m644 ../examples/smb.conf.default /etc/samba && 159 160 if [ -d /etc/openldap/schema ]; then 161 install -v -m644 ../examples/LDAP/README \ 162 /etc/openldap/schema/README.LDAP && 163 install -v -m644 ../examples/LDAP/samba* \ 164 /etc/openldap/schema && 165 install -v -m755 ../examples/LDAP/{convert*,get*,ol*} \ 166 /etc/openldap/schema && 167 fi && 134 mv -v /usr/lib/libnss_win{s,bind}.so* /lib && 135 ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so && 136 ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so && 137 138 install -v -m644 ../examples/smb.conf.default /etc/samba && 139 140 mkdir -pv /etc/openldap/schema && 141 142 install -v -m644 examples/LDAP/README \ 143 /etc/openldap/schema/README.LDAP && 144 145 install -v -m644 examples/LDAP/samba* \ 146 /etc/openldap/schema && 147 148 install -v -m755 examples/LDAP/{convert*,get*,ol*} \ 149 /etc/openldap/schema && 168 150 169 151 install -v -m755 -d /usr/share/doc/samba-&samba-version; && 170 install -v -m644 ../docs/*.pdf \ 152 153 install -v -m644 lib/ntdb/doc/design.pdf \ 171 154 /usr/share/doc/samba-&samba-version; && 155 172 156 ln -v -s ../../samba/swat /usr/share/doc/samba-&samba-version;</userinput></screen> 157 158 <para>To create the html documents needed for <command>swat</command> 159 (<xref linkend='libxslt'/> required), do the following:</para> 160 161 <screen><userinput>cd docs-xml && 162 autoreconf && 163 ./configure && 164 make htmlman</userinput></screen> 165 166 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 167 168 <screen role="root"><userinput>mkdir -pv /usr/share/samba/swat/help/manpages && 169 cp output/htmldocs/manpages/*.html /usr/share/samba/swat/help/manpages</userinput></screen> 173 170 174 171 </sect2> … … 177 174 <title>Command Explanations</title> 178 175 179 <!-- <para><option>-enable-merged-build</option>: Use this parameter to build 180 the (alpha) Samba4 components (GnuTLS is recommended).</para> --> 181 182 <para><command>sed -i -e "s/python2.6 ...</command>: Make Samba checking 183 for newer Python versions too</para> 176 <para><command>sed ... source3/wscript_build</command>: 177 This command enables the build to complete when using libtirpc instead of 178 the deprecated glibc rpc functions.</para> 184 179 185 180 <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration … … 197 192 library.</para> 198 193 199 <para><parameter>--enable-socket-wrapper</parameter>: This options is 200 required to run the test suite.</para> 201 202 <para><command>sed -i "s/-ldl/& -ltirpc -lpthread/" Makefile</command>: 203 This command enables the build to complete when using libtirpc instead of 204 the deprecated GLibC rpc functions.</para> 205 206 <para><command>cp pkgconfig/wbclient.pc /usr/lib/pkgconfig</command>: 207 Install a file omitted by the install procedure.</para> 208 209 <para><command>install -v -m755 nsswitch/libnss_win{s,bind}.so /lib</command>: 210 The nss libraries are not installed by default. If you intend to use 211 winbindd for Windows NT domain authentication, and/or WINS name resolution, 212 you need these libraries.</para> 213 214 <para><command>ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2</command> 215 and <command>ln -v -sf libnss_wins.so /lib/libnss_wins.so.2</command>: 216 These symlinks are required by <application>Glibc</application> to use the 217 NSS libraries.</para> 218 219 <para><command>if [ -d /etc/openldap/schema ]; then ...; fi</command>: 220 These commands are used to see if you have an OpenLDAP installation, and if 221 so, they copy sample Samba schemas to the OpenLDAP 194 <para><parameter>--enable-socket-wrapper</parameter> and 195 <parameter>--enable-selftest</parameter>: These options are required to run 196 the test suite.</para> 197 198 <para><command>mv -v /usr/lib/libnss_win{s,bind}.so* /lib</command>: 199 The nss libraries are installed in /usr/lib by default. Move them to 200 /lib.</para> 201 202 <para><command>ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so</command> 203 and <command>ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so</command>: 204 These symlinks are required when applicates build against these libraries.</para> 205 206 <para><command>install -v -m644 examples/LDAP/* /etc/openldap/schema</command>: 207 These commands are used to copy sample Samba schemas to the OpenLDAP 222 208 <filename class='directory'>schema</filename> directory.</para> 223 209 … … 399 385 400 386 <para>More complex scenarios involving domain control or membership are 401 possible if the right flags are passed to the ./configure script when 402 the package is built. Such setups are advanced topics and cannot be 403 adequately covered in BLFS. Many complete books have been written on 404 these topics alone. It should be noted, however, that a 405 <application>Samba</application> BDC cannot be used as a fallback 406 for a Windows PDC, and conversely, a Windows BDC cannot be used as a 407 fallback for a <application>Samba</application> PDC. Also in some 408 domain membership scenarios, the <command>winbindd</command> daemon and 409 the corresponding bootscript are needed.</para> 387 possible. Such setups are advanced topics and cannot be adequately 388 covered in BLFS. Many complete books have been written on these topics 389 alone. Note that in some domain membership scenarios, the 390 <command>winbindd</command> daemon and the corresponding bootscript are 391 needed.</para> 410 392 411 393 <para>There is quite a bit of documentation available which covers many … … 417 399 <listitem> 418 400 <para>Using Samba, 2nd Edition; a popular book published by O'Reilly 419 <ulink url=" file:///usr/share/samba/swat/using_samba/toc.html"/></para>401 <ulink url="http://www.samba.org/samba/docs/using_samba/toc.html"/></para> 420 402 </listitem> 421 403 <listitem> 422 404 <para>The Official Samba HOWTO and Reference Guide <ulink 423 url=" file:///usr/share/samba/swat/help/Samba-HOWTO-Collection/index.html"/>405 url="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/"/> 424 406 </para> 425 407 </listitem> 426 408 <listitem> 427 409 <para>Samba-3 by Example 428 <ulink url=" file:///usr/share/samba/swat/help/Samba-Guide/index.html"/>410 <ulink url="http://www.samba.org/samba/docs/man/Samba-Guide/"/> 429 411 </para> 430 412 </listitem> 431 413 <listitem> 432 414 <para>The Samba-3 man Pages 433 <ulink url="file:///usr/share/samba/swat/help/ samba.7.html"/></para>415 <ulink url="file:///usr/share/samba/swat/help/manpages/samba.7.html"/></para> 434 416 </listitem> 435 417 </itemizedlist> … … 496 478 <primary sortas="g-configuring-SWAT">Configuring SWAT</primary> 497 479 </indexterm> 498 <!-- 499 <sect4> 500 <title>Setting up SWAT using inetd</title> 501 502 <indexterm zone="samba samba-swat-config"> 503 <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary> 504 </indexterm> 505 506 <indexterm zone="samba samba-swat-config"> 507 <primary sortas="e-etc-services">/etc/services</primary> 508 </indexterm> 509 510 <warning> 511 <para>BLFS does not recommend using these procedures because of the 512 security risk involved. However, in a home network environment and 513 disclosure of the <systemitem class='username'>root</systemitem> 514 password is an acceptable risk, the following 515 instructions are provided for your convenience.</para> 516 </warning> 517 518 <para>First you must add an entry to <filename>/etc/services</filename> 519 and modify the <command>inetd</command> configuration. Add this entry 520 with the following command issued as the <systemitem 521 class="username">root</systemitem> user:</para> 522 523 <screen role="root"><userinput>echo "swat 905/tcp" >> /etc/services</userinput></screen> 524 525 <para>Now add this entry to the <filename>/etc/inetd.conf</filename> 526 file, again as the <systemitem class="username">root</systemitem> 527 user:</para> 528 529 <screen role="root"><userinput>echo "swat stream tcp nowait.5 root /usr/sbin/swat swat >> /etc/inetd.conf</userinput></screen> 530 531 <para>Issue a <command>killall -HUP inetd</command> to reread the 532 changed <filename>inetd.conf</filename> file.</para> 533 534 <para>SWAT can be launched by pointing your web browser to 535 http://localhost:905.</para> 536 537 </sect4> 538 --> 480 539 481 <sect4> 540 482 <title>Setting up SWAT using xinetd</title> … … 655 597 656 598 <seglistitem> 657 <seg>eventlogadm, findsmb, ldbadd, ldbdel, ldbedit, 658 ldbmodify, ldbrename, ldbsearch, net, nmbd, 659 nmblookup, ntlm_auth, pdbedit, profiles, rpcclient, sharesec, smbcacls, 660 smbclient, smbcontrol, smbcquotas, smbd, smbget, smbpasswd, smbspool, 661 smbstatus, smbtar, smbtree, swat, testparm, wbinfo, 662 winbindd, and (if not using system TDB) tdbbackup, tdbdump, and 663 tdbtool</seg> 599 600 <seg>cifsdd, dbwrap_tool, eventlogadm, gentest, ldbadd, ldbdel, 601 ldbedit, ldbmodify, ldbrename, ldbsearch, locktest, masktest, ndrdump, 602 net, nmbd, nmblookup, nmblookup4, ntlm_auth, oLschema2ldif, pdbedit, 603 pidl, profiles, regdiff, regpatch, regshell, regtree, rpcclient, samba, 604 samba_dnsupdate samba_kcc, samba_spnupdate, samba-tool, 605 samba_upgradedns, sharesec, smbcacls, smbclient, smbclient4, 606 smbcontrol, smbcquotas, smbd, smbget, smbpasswd, smbspool, smbstatus, 607 smbta-util, smbtar, smbtree, smbtorture, swat, testparm, tdbbackup, 608 tdbdump, tdbrestore, and tdbtool, winbindd, and wbinfo</seg> 609 664 610 <seg>libnss_winbind.so, libnss_wins.so, libnetapi.so, libsmbclient.so, 665 libsmbsharemodes.so, lib talloc.so, libwbclient.so, the pam_winbind.so611 libsmbsharemodes.so, libwbclient.so, the pam_winbind.so 666 612 and pam_smbpass.so PAM libraries, and assorted character set, 667 613 filesystem and support modules.</seg> 668 <seg>/etc/samba, /usr/lib/samba, /usr/share/doc/samba-&samba-version;, 669 /usr/share/samba, /var/lib/samba, /var/log/samba (if configured), and 670 /var/nmbd</seg> 614 615 <seg>/etc/samba, /usr/include/samba-4.0, /usr/lib/samba, 616 /usr/share/samba, /var/cache/samba, /var/lib/samba, 617 /var/log/samba, /var/lock/samba, and /var/run/samba</seg> 618 671 619 </seglistitem> 672 620 </segmentedlist> … … 689 637 </varlistentry> 690 638 691 <varlistentry id="findsmb">692 <term><command>findsmb</command></term>693 <listitem>694 <para>lists information about machines that respond to695 SMB name queries on a subnet.</para>696 <indexterm zone="samba findsmb">697 <primary sortas="b-findsmb">findsmb</primary>698 </indexterm>699 </listitem>700 </varlistentry>701 702 639 <varlistentry id="ldbadd"> 703 640 <term><command>ldbadd</command></term>
Note:
See TracChangeset
for help on using the changeset viewer.