2008-09-23 22:43:05 +04: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_hash.8" >
<refmeta >
<refentrytitle > idmap_hash</refentrytitle>
<manvolnum > 8</manvolnum>
<refmiscinfo class= "source" > Samba</refmiscinfo>
<refmiscinfo class= "manual" > System Administration tools</refmiscinfo>
2017-12-12 11:08:06 +03:00
<refmiscinfo class= "version" > &doc.version; </refmiscinfo>
2008-09-23 22:43:05 +04:00
</refmeta>
<refnamediv >
<refname > idmap_hash</refname>
2017-02-15 10:55:24 +03:00
<refpurpose > DO NOT USE THIS BACKEND</refpurpose>
2008-09-23 22:43:05 +04:00
</refnamediv>
<refsynopsisdiv >
<title > DESCRIPTION</title>
2017-02-15 10:55:24 +03:00
<para > DO NOT USE THIS PLUGIN
The idmap_hash plugin implements a hashing algorithm used to map
2009-03-18 21:05:52 +03:00
SIDs for domain users and groups to 31-bit uids and gids, respectively.
2008-09-23 22:43:05 +04:00
This plugin also implements the nss_info API and can be used
to support a local name mapping files if enabled via the
2009-03-18 21:05:52 +03:00
" winbind normalize names" and " winbind nss info"
2022-06-21 02:44:04 +03:00
parameters in &smb.conf; .
2017-02-15 10:55:24 +03:00
The module divides the range into subranges for each domain that is being
handled by the idmap config.
The module needs the complete UID and GID range to be able to map all
SIDs. The lowest value for the range should be the smallest ID
available in the system. This is normally 1000. The highest ID should
be set to 2147483647.
A smaller range will lead to issues because of the hashing algorithm
used. The overall range to map all SIDs is 0 - 2147483647. Any range
smaller than 0 - 2147483647 will filter some SIDs. As we can normally
only start with 1000, we are not able to map 1000 SIDs. This already
can lead to issues. The smaller the range the less SIDs can be mapped.
We do not recommend to use this plugin. It will be removed in a future
release of Samba.
2008-09-23 22:43:05 +04:00
</para>
</refsynopsisdiv>
<refsect1 >
<title > IDMAP OPTIONS</title>
<variablelist >
<varlistentry >
<term > name_map</term>
<listitem > <para >
Specifies the absolute path to the name mapping
file used by the nss_info API. Entries in the file
are of the form " <replaceable > unix name</replaceable>
2008-12-17 18:28:59 +03:00
= <replaceable > qualified domain name</replaceable> " .
2008-09-23 22:43:05 +04:00
Mapping of both user and group names is supported.
</para> </listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 >
<title > EXAMPLES</title>
<para > The following example utilizes the idmap_hash plugin for
the idmap and nss_info information.
</para>
<programlisting >
[global]
2011-05-31 02:26:21 +04:00
idmap config * : backend = hash
2017-02-15 10:55:24 +03:00
idmap config * : range = 1000-2147483647
2008-09-23 22:43:05 +04:00
winbind nss info = hash
winbind normalize names = yes
idmap_hash:name_map = /etc/samba/name_map.cfg
</programlisting>
</refsect1>
<refsect1 >
<title > AUTHOR</title>
<para >
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.
</para>
</refsect1>
</refentry>