• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/docs/htmldocs/manpages/
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>idmap_hash</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="idmap_hash.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>idmap_hash &#8212; Samba's idmap_hash Backend for Winbind</p></div><div class="refsynopsisdiv"><h2>DESCRIPTION</h2><p>The idmap_hash plugin implements a hashing algorithm used to map
2	  SIDs for domain users and groups to 31-bit uids and gids, respectively.
3	  This plugin also implements the nss_info API and can be used
4	  to support a local name mapping files if enabled via the
5	  "winbind normalize names" and "winbind nss info"
6	  parameters in smb.conf.
7	</p></div><div class="refsect1" lang="en"><a name="id2522906"></a><h2>IDMAP OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">name_map</span></dt><dd><p>
8		    Specifies the absolute path to the name mapping
9		    file used by the nss_info API.  Entries in the file
10		    are of the form "<em class="replaceable"><code>unix name</code></em>
11		    = <em class="replaceable"><code>qualified domain name</code></em>".
12		    Mapping of both user and group names is supported.
13		</p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2522937"></a><h2>EXAMPLES</h2><p>The following example utilizes the idmap_hash plugin for
14	  the idmap and nss_info information.
15	</p><pre class="programlisting">
16	[global]
17	idmap backend = hash
18	idmap uid = 1000-4000000000
19	idmap gid = 1000-4000000000
20
21	winbind nss info = hash
22	winbind normalize names = yes
23	idmap_hash:name_map = /etc/samba/name_map.cfg
24	</pre></div><div class="refsect1" lang="en"><a name="id2483327"></a><h2>AUTHOR</h2><p>
25	The original Samba software and related utilities
26	were created by Andrew Tridgell. Samba is now developed
27	by the Samba Team as an Open Source project similar
28	to the way the Linux kernel is developed.
29	</p></div></div></body></html>
30