- Timestamp:
- 03/28/2010 03:15:31 PM (14 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- d6fd371
- Parents:
- 072e488
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/major/samba3.xml
r072e488 r6dcdcde 5 5 %general-entities; 6 6 7 <!ENTITY samba3-download-http "http:// us1.samba.org/samba/ftp/stable/samba-&samba3-version;.tar.gz">8 <!ENTITY samba3-download-ftp "ftp:// us5.samba.org/pub/samba-ftp/samba-&samba3-version;.tar.gz">9 <!ENTITY samba3-md5sum " d647ec1f34414fa8691f74536dcccfb5">10 <!ENTITY samba3-size " 20 MB">11 <!ENTITY samba3-buildsize " 238MB">12 <!ENTITY samba3-time " 2.3 SBU (additional 1.0SBU to run the test suite)">7 <!ENTITY samba3-download-http "http://samba.org/samba/ftp/stable/samba-&samba3-version;.tar.gz"> 8 <!ENTITY samba3-download-ftp "ftp://samba.org/pub/samba/samba-&samba3-version;.tar.gz"> 9 <!ENTITY samba3-md5sum "60811195b0507fa151b602684cece743"> 10 <!ENTITY samba3-size "30 MB"> 11 <!ENTITY samba3-buildsize "510 MB"> 12 <!ENTITY samba3-time "5 SBU (additional 1.5 SBU to run the test suite)"> 13 13 ]> 14 14 … … 77 77 <xref linkend="gamin"/>, 78 78 <xref linkend="acl"/>, 79 <xref linkend="xfs"/>, 79 80 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>, 80 <xref linkend="python"/> (to build Samba API bindings for the 81 <application>Python</application> installation), 81 <!-- <xref linkend="python"/> (to build Samba API bindings for the 82 <application>Python</application> installation), --> 83 <ulink url="http://tdb.samba.org/">tdb</ulink>, 84 <ulink url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/">libcap2</ulink>, 85 <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>, 86 <ulink url="http://people.redhat.com/dhowells/keyutils/">keyutils</ulink> 87 (required to build the <command>cifs.upcall</command> program), 88 <ulink url="http://www.avahi.org">Avahi</ulink>, 89 <ulink url="http://www.openafs.org/">OpenAFS</ulink>, 82 90 and <ulink url="http://valgrind.org/">Valgrind</ulink> (optionally 83 91 used by the test suite)</para> 92 93 <bridgehead renderas="sect4">Optional for Samba4 Support</bridgehead> 94 <para role="optional"><xref linkend="gnutls"/> (recommended) and 95 <xref linkend="sqlite"/></para> 84 96 85 97 <para condition="html" role="usernotes">User Notes: … … 105 117 <!-- <screen><userinput>for FILENAME in $(ls ../*.diff); do patch -Np1 -i $FILENAME; done && --> 106 118 107 <screen><userinput>cd source &&119 <screen><userinput>cd source3 && 108 120 109 121 ./configure \ … … 114 126 --with-pammodulesdir=/lib/security \ 115 127 --with-fhs \ 116 --with-smbmount && 128 --with-automount \ 129 --with-cifsumount \ 130 --enable-nss-wrapper \ 131 --with-pthreads && 117 132 make</userinput></screen> 118 133 119 <para>You must become the <systemitem class="username">root</systemitem> 120 user to run the test framework. To run the tests, issue: 121 <command>make test</command>. If you have 134 <para>To test the results, issue: <command>make test</command>. If you have 122 135 <application>Linux-PAM</application> installed and built the PAM library 123 136 modules, you can perform a dlopen test by issuing: … … 127 140 128 141 <screen role="root"><userinput>make install && 129 mv -v /usr/lib/samba/libsmbclient.so /usr/lib && 130 ln -v -sf ../libsmbclient.so /usr/lib/samba && 131 ln -v -sf libsmbclient.so /usr/lib/libsmbclient.so.0 && 132 133 chmod -v 644 /usr/include/lib{smbclient,msrpc}.h && 134 135 install -v -m755 nsswitch/libnss_win{s,bind}.so /lib && 136 ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 && 137 ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 && 138 139 install -v -m644 ../examples/smb.conf.default /etc/samba && 142 143 install -v -m755 ../nsswitch/libnss_win{s,bind}.so /lib && 144 ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 && 145 ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 && 146 147 install -v -m644 ../examples/smb.conf.default /etc/samba && 140 148 141 149 install -v -m755 -d /usr/share/doc/samba-&samba3-version; && 142 install -v -m644 ../docs/*.pdf /usr/share/doc/samba-&samba3-version; && 150 install -v -m644 ../docs/*.pdf \ 151 /usr/share/doc/samba-&samba3-version; && 143 152 ln -v -s ../../samba/swat /usr/share/doc/samba-&samba3-version;</userinput></screen> 144 153 145 < para>If you passed the <option>--with-python</option> option to the154 <!-- <para>If you passed the <option>-with-python</option> option to the 146 155 <command>configure</command> script, issue the following command as the 147 156 <systemitem class="username">root</systemitem> user to install the 148 157 <application>Python</application> extensions:</para> 149 158 150 <screen role="root"><userinput>make python_install</userinput></screen> 159 <screen role="root"><userinput>make python_install</userinput></screen> --> 151 160 152 161 </sect2> … … 154 163 <sect2 role="commands"> 155 164 <title>Command Explanations</title> 165 166 <para><option>--enable-merged-build</option>: Use this parameter to build 167 the Samba4 components (GnuTLS is recommended).</para> 156 168 157 169 <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration … … 166 178 a manner compliant with the Filesystem Hierarchy Standard (FHS).</para> 167 179 168 <para><parameter>--with-smbmount</parameter>: Orders the creation of an 180 <para><parameter>--with-automount</parameter>: Includes automounting 181 support.</para> 182 183 <para><parameter>--with-cifsumount</parameter>: Builds the 184 <command>umount.cifs</command> program.</para> 185 186 <para><parameter>--enable-nss-wrapper</parameter>: Builds the nss-wrapper 187 library.</para> 188 189 <para><parameter>--with-pthreads</parameter>: Adds threading support.</para> 190 191 <!-- <para><parameter>-with-smbmount</parameter>: Orders the creation of an 169 192 extra binary for use by the <command>mount</command> command so that 170 193 mounting remote SMB (Windows) shares becomes no more complex than 171 mounting remote NFS shares.</para> 194 mounting remote NFS shares.</para> --> 172 195 173 196 <para><option>--with-pam</option>: Use this parameter to link … … 180 203 <command>man winbindd</command>.</para> 181 204 182 < para><command>mv -v /usr/lib/samba/libsmbclient.so ...; ln -v -sf205 <!-- <para><command>mv -v /usr/lib/samba/libsmbclient.so ...; ln -v -sf 183 206 ../libsmbclient.so ...</command>: The 184 207 <filename class='libraryfile'>libsmbclient.so</filename> library is needed 185 208 by other packages. This command moves it to a location where other packages 186 can find it.</para> 209 can find it.</para> --> 187 210 188 211 <para><command>install -v -m755 nsswitch/libnss_win{s,bind}.so /lib</command>: … … 223 246 224 247 <para>If it is desired for unprivileged users to directly mount (and 225 unmount) SMB and CIFS shares, the <command>smbmnt</command>, 226 <command>smbumount</command>, <command>mount.cifs</command> and 248 unmount) CIFS shares, the <command>mount.cifs</command> and 227 249 <command>umount.cifs</command> commands must be setuid 228 250 <systemitem class='username'>root</systemitem>. Note that users can 229 only mount SMB/CIFS shares on a mount point owned by that user (requires251 only mount CIFS shares on a mount point owned by that user (requires 230 252 write access also). If desired, change these programs to setuid 231 253 <systemitem class='username'>root</systemitem> by issuing the following … … 233 255 user:</para> 234 256 235 <screen role="root"><userinput>chmod -v 4755 /usr/bin/smb{mnt,umount} \ 236 /usr/sbin/{,u}mount.cifs</userinput></screen> 257 <screen role="root"><userinput>chmod -v 4755 /usr/sbin/{,u}mount.cifs</userinput></screen> 237 258 238 259 </sect3> … … 666 687 667 688 <seglistitem> 668 <seg> eventlogadm, findsmb, mount.cifs, mount.smbfs, net, nmbd,689 <seg>cifs.upcall, eventlogadm, findsmb, mount.cifs, mount.smbfs, net, nmbd, 669 690 nmblookup, ntlm_auth, pdbedit, profiles, rpcclient, smbcacls, 670 smbclient, smbcontrol, smbcquotas, smbd, smbget, smbmnt, smbmount,671 smbpasswd, smbspool, smbstatus, smbtar, smbtree, s mbumount, swat,691 smbclient, smbcontrol, smbcquotas, smbd, smbget, 692 smbpasswd, smbspool, smbstatus, smbtar, smbtree, swat, 672 693 tdbbackup, tdbdump, tdbtool, testparm, umount.cifs, wbinfo 673 694 and winbindd</seg> … … 875 896 </varlistentry> 876 897 877 < varlistentry id="smbmnt">898 <!-- <varlistentry id="smbmnt"> 878 899 <term><command>smbmnt</command></term> 879 900 <listitem> … … 900 921 </indexterm> 901 922 </listitem> 902 </varlistentry> 923 </varlistentry> --> 903 924 904 925 <varlistentry id="smbpasswd"> … … 955 976 </varlistentry> 956 977 957 < varlistentry id="smbumount">978 <!-- <varlistentry id="smbumount"> 958 979 <term><command>smbumount</command></term> 959 980 <listitem> … … 964 985 </indexterm> 965 986 </listitem> 966 </varlistentry> 987 </varlistentry> --> 967 988 968 989 <varlistentry id="swat">
Note:
See TracChangeset
for help on using the changeset viewer.