summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/misc/wtmpdirectory.xml
blob: 2448edfadbb92df1965761ece4ec49214fb43eb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<samba:parameter name="wtmp directory"
                 context="G"
                 advanced="1" developer="1"
                 xmlns:samba="http://samba.org/common">
<listitem>
	<para>This parameter is only available if Samba has 
	been configured and compiled with the option <command moreinfo="none">
	--with-utmp</command>. It specifies a directory pathname that is
	used to store the wtmp or wtmpx files (depending on the UNIX system) that
	record user connections to a Samba server. The difference with
	the utmp directory is the fact that user info is kept after a user 
	has logged out.</para>
		
	<para>See also the <link linkend="UTMP">
	<parameter moreinfo="none">utmp</parameter></link> parameter. By default this is 
	not set, meaning the system will use whatever utmp file the 
	native system is set to use (usually 
	<filename moreinfo="none">/var/run/wtmp</filename> on Linux).</para>

	<para>Default: <emphasis>no wtmp directory</emphasis></para>

	<para>Example: <command moreinfo="none">wtmp directory = /var/log/wtmp</command></para>
</listitem>
</samba:parameter>