2007-03-21 23:48:00 +03:00
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<refentry id= "idmap_ad.8" >
<refmeta >
<refentrytitle > idmap_ad</refentrytitle>
<manvolnum > 8</manvolnum>
2008-04-07 00:26:45 +04:00
<refmiscinfo class= "source" > Samba</refmiscinfo>
<refmiscinfo class= "manual" > System Administration tools</refmiscinfo>
<refmiscinfo class= "version" > 3.2</refmiscinfo>
2007-03-21 23:48:00 +03:00
</refmeta>
<refnamediv >
<refname > idmap_ad</refname>
<refpurpose > Samba's idmap_ad Backend for Winbind</refpurpose>
</refnamediv>
<refsynopsisdiv >
<title > DESCRIPTION</title>
2007-03-22 00:23:17 +03:00
<para > 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
classess and relative attribute/value pairs to the users and
groups objects in AD</para>
2007-03-21 23:48:00 +03:00
</refsynopsisdiv>
<refsect1 >
<title > IDMAP OPTIONS</title>
2007-03-22 00:23:17 +03:00
<variablelist >
<varlistentry >
<term > range = low - high</term>
<listitem > <para >
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.
</para> </listitem>
2007-03-22 00:45:10 +03:00
</varlistentry>
2007-04-18 02:12:48 +04:00
<varlistentry >
<term > schema_mode = < rfc2307 | sfu > </term>
<listitem > <para >
2007-08-21 02:47:12 +04:00
Defines the schema that idmap_ad should use when querying
2007-04-18 02:38:52 +04:00
Active Directory regarding user and group information.
2007-04-18 02:12:48 +04:00
This can either the RFC2307 schema support included
in Windows 2003 R2 or the Service for Unix (SFU) schema.
</para> </listitem>
</varlistentry>
2007-03-22 00:45:10 +03:00
</variablelist>
2007-03-21 23:48:00 +03:00
</refsect1>
<refsect1 >
<title > EXAMPLES</title>
2007-03-22 00:23:17 +03:00
<para >
The following example shows how to retrieve idmappings from our principal and
and trusted AD domains. All is needed is to set default to yes. If trusted
domains are present id conflicts must be resolved beforehand, there is no
2007-09-12 16:16:36 +04:00
guarantee on the order conflicting mappings would be resolved at this point.
2007-03-22 00:23:17 +03:00
This example also shows how to leave a small non conflicting range for local
2007-11-27 13:11:21 +03:00
id allocation that may be used in internal backends like BUILTIN.
2007-03-22 00:23:17 +03:00
</para>
<programlisting >
[global]
2008-07-17 16:05:57 +04:00
idmap backend = tdb
idmap uid = 1000000-1999999
idmap gid = 1000000-1999999
2007-03-22 00:23:17 +03:00
2008-07-17 16:05:57 +04:00
idmap config CORP : backend = ad
idmap config CORP : range = 1000-999999
2007-03-22 00:23:17 +03:00
</programlisting>
2007-03-21 23:48:00 +03:00
</refsect1>
<refsect1 >
<title > AUTHOR</title>
<para >
2007-08-21 02:47:12 +04:00
The original Samba software and related utilities
2007-03-21 23:48:00 +03:00
were created by Andrew Tridgell. Samba is now developed
2007-08-21 02:47:12 +04:00
by the Samba Team as an Open Source project similar
2007-03-21 23:48:00 +03:00
to the way the Linux kernel is developed.
2007-08-21 02:47:12 +04:00
</para>
2007-03-21 23:48:00 +03:00
</refsect1>
</refentry>