File: idmap_hash.8.html

package info (click to toggle)
samba 2:3.6.6-6+deb7u7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 160,976 kB
  • sloc: ansic: 1,764,536; xml: 114,867; python: 78,119; perl: 27,633; sh: 13,802; makefile: 4,704; asm: 3,281; cpp: 2,281; yacc: 1,949; exp: 1,784; ada: 1,681; pascal: 1,089; cs: 879; awk: 756; lex: 566; csh: 58; sed: 45; php: 6
file content (28 lines) | stat: -rw-r--r-- 2,196 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<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.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="idmap_hash"><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" title="DESCRIPTION"><h2>DESCRIPTION</h2><p>The idmap_hash plugin implements a hashing algorithm used to map
	  SIDs for domain users and groups to 31-bit uids and gids, respectively.
	  This plugin also implements the nss_info API and can be used
	  to support a local name mapping files if enabled via the
	  "winbind normalize names" and "winbind nss info"
	  parameters in smb.conf.
	</p></div><div class="refsect1" title="IDMAP OPTIONS"><a name="id266339"></a><h2>IDMAP OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">name_map</span></dt><dd><p>
		    Specifies the absolute path to the name mapping
		    file used by the nss_info API.  Entries in the file
		    are of the form "<em class="replaceable"><code>unix name</code></em>
		    = <em class="replaceable"><code>qualified domain name</code></em>".
		    Mapping of both user and group names is supported.
		</p></dd></dl></div></div><div class="refsect1" title="EXAMPLES"><a name="id266824"></a><h2>EXAMPLES</h2><p>The following example utilizes the idmap_hash plugin for
	  the idmap and nss_info information.
	</p><pre class="programlisting">
	[global]
	idmap config * : backend = hash
	idmap config * : range = 1000-4000000000

	winbind nss info = hash
	winbind normalize names = yes
	idmap_hash:name_map = /etc/samba/name_map.cfg
	</pre></div><div class="refsect1" title="AUTHOR"><a name="id266842"></a><h2>AUTHOR</h2><p>
	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.
	</p></div></div></body></html>