mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
64b720d284
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
27 lines
964 B
XML
27 lines
964 B
XML
<samba:parameter name="username map cache time"
|
|
context="G"
|
|
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>
|