File: usernamemapcachetime.xml

package info (click to toggle)
samba 2%3A4.1.17%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 102,820 kB
  • sloc: ansic: 1,165,393; xml: 114,314; python: 103,454; perl: 28,180; sh: 12,167; asm: 3,281; cpp: 2,281; yacc: 1,949; ada: 1,681; exp: 1,582; makefile: 1,287; pascal: 1,082; cs: 879; lex: 566; awk: 140; csh: 58; sed: 45
file content (27 lines) | stat: -rw-r--r-- 996 bytes parent folder | download | duplicates (6)
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
<samba:parameter name="username map cache time"
                 context="G"
                 advanced="1" developer="0"
				 type="integer"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
	<para>
	Mapping usernames with the <smbconfoption name="username map"/>
	or <smbconfoption name="username map script"/>
	features of Samba can be relatively expensive.
	During login of a user, the mapping is done several times.
	In particular, calling the <smbconfoption name="username map script"/>
	can slow down logins if external databases have to be queried from
	the script being called.
	</para>

	<para>
	The parameter <smbconfoption name="username map cache time"/>
	controls a mapping cache. It specifies the number of seconds a
	mapping from the username map file or script is to be efficiently cached.
	The default of 0 means no caching is done.
	</para>
</description>

<value type="default">0</value>
<value type="example">60</value>
</samba:parameter>