1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="idmap_nss.8">
6 <refentrytitle>idmap_nss</refentrytitle>
7 <manvolnum>8</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">&doc.version;</refmiscinfo>
15 <refname>idmap_nss</refname>
16 <refpurpose>Samba's idmap_nss Backend for Winbind</refpurpose>
20 <title>DESCRIPTION</title>
22 <para>The idmap_nss plugin provides a means to map Unix users and groups
23 to Windows accounts. This provides a simple means of ensuring that the SID
24 for a Unix user named jsmith is reported as the one assigned to
25 DOMAIN\jsmith which is necessary for reporting ACLs on files and printers
26 stored on a Samba member server.
31 <title>IDMAP OPTIONS</title>
35 <term>range = low - high</term>
37 Defines the available matching UID and GID range for which the
38 backend is authoritative. Note that the range acts as a filter.
39 Returned UIDs or GIDs by NSS modules that fall outside the range
40 are ignored and the corresponding maps discarded. It is intended
41 as a way to avoid accidental UID/GID overlaps between local and
47 <term>use_upn = <yes | no></term>
50 Some NSS modules can return and handle UPNs and/or down-level
51 logon names (e.g., DOMAIN\user or user@REALM).
54 If this parameter is enabled the returned names from NSS will be
55 parsed and the resulting namespace will be used as the authoritative
56 namespace instead of the IDMAP domain name. Also, down-level logon
57 names will be sent to NSS instead of the plain username to give NSS
58 modules a hint about the user's correct domain.
60 <para>Default: no</para>
69 <title>EXAMPLES</title>
72 This example shows how to use idmap_nss to obtain the local account ID's
73 for its own domain (SAMBA) from NSS, whilst allocating new mappings for
74 the default domain (*) and any trusted domains.
79 idmap config * : backend = tdb
80 idmap config * : range = 1000000-1999999
82 idmap config SAMBA : backend = nss
83 idmap config SAMBA : range = 1000-999999
91 The original Samba software and related utilities
92 were created by Andrew Tridgell. Samba is now developed
93 by the Samba Team as an Open Source project similar
94 to the way the Linux kernel is developed.