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_hash.8">
6 <refentrytitle>idmap_hash</refentrytitle>
7 <manvolnum>8</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">3.6</refmiscinfo>
15 <refname>idmap_hash</refname>
16 <refpurpose>Samba's idmap_hash Backend for Winbind</refpurpose>
20 <title>DESCRIPTION</title>
21 <para>The idmap_hash plugin implements a hashing algorithm used to map
22 SIDs for domain users and groups to 31-bit uids and gids, respectively.
23 This plugin also implements the nss_info API and can be used
24 to support a local name mapping files if enabled via the
25 "winbind normalize names" and "winbind nss info"
26 parameters in smb.conf.
31 <title>IDMAP OPTIONS</title>
37 Specifies the absolute path to the name mapping
38 file used by the nss_info API. Entries in the file
39 are of the form "<replaceable>unix name</replaceable>
40 = <replaceable>qualified domain name</replaceable>".
41 Mapping of both user and group names is supported.
48 <title>EXAMPLES</title>
49 <para>The following example utilizes the idmap_hash plugin for
50 the idmap and nss_info information.
55 idmap config * : backend = hash
56 idmap config * : range = 1000-4000000000
58 winbind nss info = hash
59 winbind normalize names = yes
60 idmap_hash:name_map = /etc/samba/name_map.cfg
68 The original Samba software and related utilities
69 were created by Andrew Tridgell. Samba is now developed
70 by the Samba Team as an Open Source project similar
71 to the way the Linux kernel is developed.