Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified vendor/current/docs/manpages/idmap_tdb.8

    r618 r740  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "IDMAP_TDB" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "IDMAP_TDB" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2525The idmap_tdb plugin is the default backend used by winbindd for storing SID/uid/gid mapping tables\&.
    2626.PP
    27 In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&. The allocator can be provided by the idmap_tdb backend itself or by any other allocating backend like idmap_ldap or idmap_tdb2\&. This is configured with the parameter
    28 \fIidmap alloc backend\fR\&.
    29 .PP
    30 Note that in order for this (or any other allocating) backend to function at all, the default backend needs to be writeable\&. The ranges used for uid and gid allocation are the default ranges configured by "idmap uid" and "idmap gid"\&.
    31 .PP
    32 Furthermore, since there is only one global allocating backend responsible for all domains using writeable idmap backends, any explicitly configured domain with idmap backend tdb should have the same range as the default range, since it needs to use the global uid / gid allocator\&. See the example below\&.
     27In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&.
    3328.SH "IDMAP OPTIONS"
    3429.PP
    3530range = low \- high
    3631.RS 4
    37 Defines the available matching uid and gid range for which the backend is authoritative\&. If the parameter is absent, Winbind fails over to use the "idmap uid" and "idmap gid" options from smb\&.conf\&.
     32Defines the available matching uid and gid range for which the backend is authoritative\&.
    3833.RE
    3934.SH "EXAMPLES"
    4035.PP
    41 This example shows how tdb is used as a the default idmap backend\&. It configures the idmap range through the global options for all domains encountered\&. This same range is used for uid/gid allocation\&.
     36This example shows how tdb is used as a the default idmap backend\&. This configured range is used for uid and gid allocation\&.
    4237.sp
    4338.if n \{\
     
    4641.nf
    4742        [global]
    48         # "idmap backend = tdb" is redundant here since it is the default
    49         idmap backend = tdb
    50         idmap uid = 1000000\-2000000
    51         idmap gid = 1000000\-2000000
    52        
    53 .fi
    54 .if n \{\
    55 .RE
    56 .\}
    57 .PP
    58 This (rather theoretical) example shows how tdb can be used as the allocating backend while ldap is the default backend used to store the mappings\&. It adds an explicit configuration for some domain DOM1, that uses the tdb idmap backend\&. Note that the same range as the default uid/gid range is used, since the allocator has to serve both the default backend and the explicitly configured domain DOM1\&.
    59 .sp
    60 .if n \{\
    61 .RS 4
    62 .\}
    63 .nf
    64         [global]
    65         idmap backend = ldap
    66         idmap uid = 1000000\-2000000
    67         idmap gid = 1000000\-2000000
    68         # use a different uid/gid allocator:
    69         idmap alloc backend = tdb
    70 
    71         idmap config DOM1 : backend = tdb
    72         idmap config DOM1 : range = 1000000\-2000000
     43        # "backend = tdb" is redundant here since it is the default
     44        idmap config * : backend = tdb
     45        idmap config * : range = 1000000\-2000000
    7346       
    7447.fi
Note: See TracChangeset for help on using the changeset viewer.