wtmp directory

This parameter is only available if Samba has been configured and compiled with the option --with-utmp. 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. By default this is not set, meaning the system will use whatever utmp file the native system is set to use (usually /var/run/wtmp on Linux).

Example: /var/log/wtmp

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

wtmp directory

Registry PathSoftware\Policies\Samba\smb_conf\wtmp directory
Value Namewtmp directory
Value TypeREG_SZ
Default Value


Administrative Templates (Computers)