From: Volker Lendecke Date: Mon, 19 Jul 2010 10:22:05 +0000 (+0200) Subject: s3-docs: Add more verbose description of "username map cache time". X-Git-Url: http://git.samba.org/?p=idra%2Fsamba.git;a=commitdiff_plain;h=4c0f760edfa9ccdfe0340af46c27e388457ae9af s3-docs: Add more verbose description of "username map cache time". --- diff --git a/docs-xml/smbdotconf/security/usernamemapcachetime.xml b/docs-xml/smbdotconf/security/usernamemapcachetime.xml index 5461cb1a6c8..4361b1896d8 100644 --- a/docs-xml/smbdotconf/security/usernamemapcachetime.xml +++ b/docs-xml/smbdotconf/security/usernamemapcachetime.xml @@ -4,13 +4,22 @@ type="integer" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This option controls if and how long the result of the - and - across smbds in gencache. - If set to non-zero, it denotes the number of seconds the output of - both mappings will be cached. - This option is mainly useful for heavy-weight - scripts. + + Mapping usernames with the + or + features of Samba can be relatively expensive. + During login of a user, the mapping is done several times. + In particular, calling the + can slow down logins if external databases have to be queried from + the script being called. + + + + The parameter + 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. + 0