docs:smbdotconf: make formatting of headers uniform.
[Samba.git] / docs-xml / smbdotconf / security / usernamemapcachetime.xml
blob974026c0b2ba10d68c6f862bfef97883ba1e8a16
1 <samba:parameter name="username map cache time"
2                  context="G"
3                  type="integer"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6         <para>
7         Mapping usernames with the <smbconfoption name="username map"/>
8         or <smbconfoption name="username map script"/>
9         features of Samba can be relatively expensive.
10         During login of a user, the mapping is done several times.
11         In particular, calling the <smbconfoption name="username map script"/>
12         can slow down logins if external databases have to be queried from
13         the script being called.
14         </para>
16         <para>
17         The parameter <smbconfoption name="username map cache time"/>
18         controls a mapping cache. It specifies the number of seconds a
19         mapping from the username map file or script is to be efficiently cached.
20         The default of 0 means no caching is done.
21         </para>
22 </description>
24 <value type="default">0</value>
25 <value type="example">60</value>
26 </samba:parameter>