Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/docs-xml/Samba3-ByExample/SBE-UpgradingSamba.xml

    r414 r988  
    22<!DOCTYPE chapter PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
    33<chapter id="upgrades">
    4 <title>Updating Samba-3</title>
     4<title>Updating Samba</title>
    55
    66<para>
     
    1717<indexterm><primary>smbpasswd</primary></indexterm>
    1818<indexterm><primary>passdb backend</primary></indexterm>
    19 There has also been much talk about migration of Samba-3 from an smbpasswd
     19There has also been much talk about migration of Samba from an smbpasswd
    2020passdb backend to the use of the tdbsam or ldapsam facilities that are new
    21 to Samba-3.
     21to Samba.
    2222</para>
    2323
     
    232232        <indexterm><primary>SAS</primary></indexterm>
    233233        <indexterm><primary>SID</primary></indexterm>
    234         In Samba-3 on a domain controller (PDC or BDC), the domain name controls the domain
     234        In Samba on a domain controller (PDC or BDC), the domain name controls the domain
    235235        SID. On all prior versions the hostname (computer name, or NetBIOS name) controlled
    236236        the SID. On a standalone server the hostname still controls the SID.
     
    240240        <indexterm><primary>net</primary><secondary>getlocalsid</secondary></indexterm>
    241241        <indexterm><primary>net</primary><secondary>setlocalsid</secondary></indexterm>
    242         The local machine SID can be backed up using this procedure (Samba-3):
     242        The local machine SID can be backed up using this procedure (Samba):
    243243<screen>
    244244&rootprompt; net getlocalsid > /etc/samba/my-local-SID
     
    262262        <para>
    263263        Where the <filename>secrets.tdb</filename> file exists and a version of Samba 2.x or later
    264         has been used, there is no specific need to go through this update process. Samba-3 has the
     264        has been used, there is no specific need to go through this update process. Samba has the
    265265        ability to read the older tdb file and to perform an in-situ update to the latest tdb format.
    266266        This is not a reversible process &smbmdash; it is a one-way upgrade.
     
    296296&rootprompt; rpcclient hostname lsaquery -Uroot%password
    297297</screen>
    298         This can also be done with Samba-3 by executing:
     298        This can also be done with Samba by executing:
    299299<screen>
    300300&rootprompt; net rpc info -Uroot%password
     
    431431        <para>
    432432        <indexterm><primary>compile-time</primary></indexterm>
    433         Samba-3 provides a neat new way to track the location of all control files as well as to
     433        Samba provides a neat new way to track the location of all control files as well as to
    434434        find the compile-time options used as the Samba package was built. Here  is how the dark
    435435        secrets of the internals of the location of control files within Samba executables can
     
    482482        <indexterm><primary>internationalization</primary></indexterm>
    483483        Samba-2.x had no support for Unicode; instead, all national language character-set support in file names
    484         was done using particular locale codepage mapping techniques. Samba-3 supports Unicode in file names, thus
     484        was done using particular locale codepage mapping techniques. Samba supports Unicode in file names, thus
    485485        providing true internationalization support.
    486486        </para>
     
    496496        <para>
    497497        <indexterm><primary>UTF-8</primary></indexterm>
    498         Files that are created with Samba-3 will use UTF-8 encoding. Should the file system ever end up with a
     498        Files that are created with Samba will use UTF-8 encoding. Should the file system ever end up with a
    499499        mix of codepage (unix charset)-encoded file names and UTF-8-encoded file names, the mess will take some
    500500        effort to set straight.
     
    682682        <para>
    683683        <indexterm><primary>parameters</primary></indexterm>
    684         The following parameters are new to Samba-3 and should be correctly configured.
     684        The following parameters are new to Samba and should be correctly configured.
    685685        Please refer to <link linkend="secure"/> through <link linkend="net2000users"/>
    686686        in this book for examples of use of the new parameters shown here:
     
    710710        <indexterm><primary>add user script</primary></indexterm>
    711711        The <parameter>add machine script</parameter> functionality was previously
    712         handled by the <parameter>add user script</parameter>, which in Samba-3 is
     712        handled by the <parameter>add user script</parameter>, which in Samba is
    713713        used exclusively to add user accounts.
    714714        </para>
     
    749749        Samba version 2.x could be compiled for use either with or without LDAP.
    750750        The LDAP control settings in the &smb.conf; file in this old version are
    751         completely different (and less complete) than they are with Samba-3. This
     751        completely different (and less complete) than they are with Samba. This
    752752        means that after migrating the control files, it is necessary to reconfigure
    753753        the LDAP settings entirely.
     
    828828  * ldapsam - attribute rich account storage and retrieval
    829829    backend utilizing an LDAP directory.
    830   * ldapsam_compat - a 2.2 backward compatible LDAP account
    831     backend
    832830
    833831Certain functions of the smbpasswd(8) tool have been split between the
    834832new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
    835833utility.  See the respective man pages for details.
    836 
    837 ######################################################################
    838 LDAP
    839 ####
    840 
    841 This section outlines the new features affecting Samba / LDAP
    842 integration.
    843 
    844 New Schema
    845 ----------
    846 
    847 A new object class (sambaSamAccount) has been introduced to replace
    848 the old sambaAccount.  This change aids us in the renaming of
    849 attributes to prevent clashes with attributes from other vendors.
    850 There is a conversion script (examples/LDAP/convertSambaAccount) to
    851 modify and LDIF file to the new schema.
    852 
    853 Example:
    854 
    855   $ ldapsearch .... -b "ou=people,dc=..." &gt; sambaAcct.ldif
    856   $ convertSambaAccount --sid=&lt;Domain SID&gt; \
    857     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
    858     --changetype=[modify|add]
    859 
    860 The &lt;DOM SID&gt; can be obtained by running 'net getlocalsid
    861 &lt;DOMAINNAME&gt;' on the Samba PDC as root.  The changetype determines
    862 the format of the generated LDIF output--either create new entries
    863 or modify existing entries.
    864 
    865 The old sambaAccount schema may still be used by specifying the
    866 "ldapsam_compat" passdb backend.  However, the sambaAccount and
    867 associated attributes have been moved to the historical section of
    868 the schema file and must be uncommented before use if needed.
    869 The 2.2 object class declaration for a sambaAccount has not changed
    870 in the 3.0 samba.schema file.
    871 
    872 Other new object classes and their uses include:
    873 
    874   * sambaDomain - domain information used to allocate rids
    875     for users and groups as necessary.  The attributes are added
    876     in 'ldap suffix' directory entry automatically if
    877     an idmap uid/gid range has been set and the 'ldapsam'
    878     passdb backend has been selected.
    879 
    880   * sambaGroupMapping - an object representing the
    881     relationship between a posixGroup and a Windows
    882     group/SID.  These entries are stored in the 'ldap
    883     group suffix' and managed by the 'net groupmap' command.
    884 
    885   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
    886     automatically and contains the next available 'idmap uid' and
    887     'idmap gid'
    888 
    889   * sambaIdmapEntry - object storing a mapping between a
    890     SID and a UNIX uid/gid.  These objects are created by the
    891     idmap_ldap module as needed.
    892 
    893   * sambaSidEntry - object representing a SID alone, as a Structural
    894     class on which to build the sambaIdmapEntry.
    895 
    896834
    897835New Suffix for Searching
     
    974912
    975913        <sect2>
    976         <title>Samba-3 to Samba-3 Updates on the Same Server</title>
     914        <title>Samba to Samba-3 Updates on the Same Server</title>
    977915
    978916        <para>
    979917        The guidance in this section deals with updates to an existing
    980         Samba-3 server installation.
     918        Samba server installation.
    981919        </para>
    982920
     
    985923
    986924        <para>
    987         With the provision that the binary Samba-3 package has been built
    988         with the same path and feature settings as the existing Samba-3
    989         package that is being updated, an update of Samba-3 versions 3.0.0
     925        With the provision that the binary Samba package has been built
     926        with the same path and feature settings as the existing Samba
     927        package that is being updated, an update of Samba versions 3.0.0
    990928        through 3.0.4 can be updated to 3.0.5 without loss of functionality
    991929        and without need to change either the &smb.conf; file or, where
     
    1001939        <indexterm><primary>schema</primary></indexterm>
    1002940        <indexterm><primary>LDAP</primary><secondary>schema</secondary></indexterm>
    1003         When updating versions of Samba-3 prior to 3.0.6 to 3.0.6 through 3.0.10,
     941        When updating versions of Samba prior to 3.0.6 to 3.0.6 through 3.0.10,
    1004942        it is necessary only to update the LDAP schema (where LDAP is used).
    1005         Always use the LDAP schema file that is shipped with the latest Samba-3
     943        Always use the LDAP schema file that is shipped with the latest Samba
    1006944        update.
    1007945        </para>
     
    10651003
    10661004        <sect2>
    1067         <title>Migrating Samba-3 to a New Server</title>
     1005        <title>Migrating Samba to a New Server</title>
    10681006
    10691007        <para>
Note: See TracChangeset for help on using the changeset viewer.