summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/misc/wtmpdirectory.xml
blob: bb144473ff3e2ef016664c705e43030a679557ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="WTMPDIRECTORY"/>wtmp directory(G)</term>
		<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.
		
		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>