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">&doc.version;</refmiscinfo>
15 <refname>idmap_hash</refname>
16 <refpurpose>DO NOT USE THIS BACKEND</refpurpose>
20 <title>DESCRIPTION</title>
21 <para>DO NOT USE THIS PLUGIN
23 The idmap_hash plugin implements a hashing algorithm used to map
24 SIDs for domain users and groups to 31-bit uids and gids, respectively.
25 This plugin also implements the nss_info API and can be used
26 to support a local name mapping files if enabled via the
27 "winbind normalize names" and "winbind nss info"
28 parameters in &smb.conf;.
29 The module divides the range into subranges for each domain that is being
30 handled by the idmap config.
32 The module needs the complete UID and GID range to be able to map all
33 SIDs. The lowest value for the range should be the smallest ID
34 available in the system. This is normally 1000. The highest ID should
37 A smaller range will lead to issues because of the hashing algorithm
38 used. The overall range to map all SIDs is 0 - 2147483647. Any range
39 smaller than 0 - 2147483647 will filter some SIDs. As we can normally
40 only start with 1000, we are not able to map 1000 SIDs. This already
41 can lead to issues. The smaller the range the less SIDs can be mapped.
43 We do not recommend to use this plugin. It will be removed in a future
49 <title>IDMAP OPTIONS</title>
55 Specifies the absolute path to the name mapping
56 file used by the nss_info API. Entries in the file
57 are of the form "<replaceable>unix name</replaceable>
58 = <replaceable>qualified domain name</replaceable>".
59 Mapping of both user and group names is supported.
66 <title>EXAMPLES</title>
67 <para>The following example utilizes the idmap_hash plugin for
68 the idmap and nss_info information.
73 idmap config * : backend = hash
74 idmap config * : range = 1000-2147483647
76 winbind nss info = hash
77 winbind normalize names = yes
78 idmap_hash:name_map = /etc/samba/name_map.cfg
86 The original Samba software and related utilities
87 were created by Andrew Tridgell. Samba is now developed
88 by the Samba Team as an Open Source project similar
89 to the way the Linux kernel is developed.