1 | '\" t
|
---|
2 | .\" Title: idmap_ad
|
---|
3 | .\" Author: [see the "AUTHOR" section]
|
---|
4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
---|
5 | .\" Date: 02/19/2010
|
---|
6 | .\" Manual: System Administration tools
|
---|
7 | .\" Source: Samba 3.5
|
---|
8 | .\" Language: English
|
---|
9 | .\"
|
---|
10 | .TH "IDMAP_AD" "8" "02/19/2010" "Samba 3\&.5" "System Administration tools"
|
---|
11 | .\" -----------------------------------------------------------------
|
---|
12 | .\" * set default formatting
|
---|
13 | .\" -----------------------------------------------------------------
|
---|
14 | .\" disable hyphenation
|
---|
15 | .nh
|
---|
16 | .\" disable justification (adjust text to left margin only)
|
---|
17 | .ad l
|
---|
18 | .\" -----------------------------------------------------------------
|
---|
19 | .\" * MAIN CONTENT STARTS HERE *
|
---|
20 | .\" -----------------------------------------------------------------
|
---|
21 | .SH "NAME"
|
---|
22 | idmap_ad \- Samba\'s idmap_ad Backend for Winbind
|
---|
23 | .SH "DESCRIPTION"
|
---|
24 | .PP
|
---|
25 | The idmap_ad plugin provides a way for Winbind to read id mappings from an AD server that uses RFC2307/SFU schema extensions\&. This module implements only the "idmap" API, and is READONLY\&. Mappings must be provided in advance by the administrator by adding the posixAccount/posixGroup classes and relative attribute/value pairs to the user and group objects in the AD\&.
|
---|
26 | .SH "IDMAP OPTIONS"
|
---|
27 | .PP
|
---|
28 | range = low \- high
|
---|
29 | .RS 4
|
---|
30 | Defines the available matching UID and GID range for which the backend is authoritative\&. Note that the range acts as a filter\&. If specified any UID or GID stored in AD that fall outside the range is ignored and the corresponding map is discarded\&. It is intended as a way to avoid accidental UID/GID overlaps between local and remotely defined IDs\&.
|
---|
31 | .RE
|
---|
32 | .PP
|
---|
33 | schema_mode = <rfc2307 | sfu >
|
---|
34 | .RS 4
|
---|
35 | Defines the schema that idmap_ad should use when querying Active Directory regarding user and group information\&. This can be either the RFC2307 schema support included in Windows 2003 R2 or the Service for Unix (SFU) schema\&.
|
---|
36 | .RE
|
---|
37 | .SH "EXAMPLES"
|
---|
38 | .PP
|
---|
39 | The following example shows how to retrieve idmappings from our principal and and trusted AD domains\&. If trusted domains are present id conflicts must be resolved beforehand, there is no guarantee on the order conflicting mappings would be resolved at this point\&. This example also shows how to leave a small non conflicting range for local id allocation that may be used in internal backends like BUILTIN\&.
|
---|
40 | .sp
|
---|
41 | .if n \{\
|
---|
42 | .RS 4
|
---|
43 | .\}
|
---|
44 | .nf
|
---|
45 | [global]
|
---|
46 | idmap backend = tdb
|
---|
47 | idmap uid = 1000000\-1999999
|
---|
48 | idmap gid = 1000000\-1999999
|
---|
49 |
|
---|
50 | idmap config CORP : backend = ad
|
---|
51 | idmap config CORP : range = 1000\-999999
|
---|
52 |
|
---|
53 | .fi
|
---|
54 | .if n \{\
|
---|
55 | .RE
|
---|
56 | .\}
|
---|
57 | .SH "AUTHOR"
|
---|
58 | .PP
|
---|
59 | The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
|
---|