Hi I have configured and make samba to log logins to utmp/wtmp files using --with-utmp and utmp options set in ./configure and smb.conf It works well in sparc/solaris but in linux (2.2.16) it don?t log nothing to wtmp! I did search for info with no success. Can any one, please, point me some away to have it working in linux?? see bellow my smb.conf fragment for linux ### PARA LOGAR ACESSOS NO WTMP E UTMP - USE O COMANDO last PARA VER utmp = True utmp consolidate = yes utmp directory = /var/log utmp directory = /var/log utmp hostname = %M Thank You Roberto
On Mon, 23 Oct 2000 12:39:37 -0200, you wrote:>### PARA LOGAR ACESSOS NO WTMP E UTMP - USE O COMANDO last PARA VER > utmp = True > utmp consolidate = yes > utmp directory = /var/log > utmp directory = /var/log > utmp hostname = %MIf you have the latest utmp patches you don't need any "utmp dir" stuff. So try without any. However, what you are using is wrong, so if it does not work without any parameter, then use utmp directory = /var/run wtmp directory = /var/log Note, this is based on rh6.x which has /var/run/utmp and /var/log/wtmp. -- giulioo@pobox.com
At 13:25 23/10/2000, you wrote:>On Mon, 23 Oct 2000 12:39:37 -0200, you wrote: > >However, what you are using is wrong, so if it does not work without any >parameter, then use >utmp directory = /var/run >wtmp directory = /var/logIt worked! Thank you Roberto>Note, this is based on rh6.x which has /var/run/utmp and /var/log/wtmp. > >-- >giulioo@pobox.com