Samba utmp patch

Giulio Orsero giulioo at pobox.com
Thu Apr 6 14:59:22 GMT 2000


On Thu, 6 Apr 2000 13:55:03 +0100 (BST), hai scritto:

>A typo in the typo-correction.  Should be "u->ut_host".  (Should resemble
>other references (u->...).

ok

1) 
utmp = yes

[2000/04/06 16:45:18, 2] smbd/connection.c:uw_pathname(470)
  uw_pathname: unable to determine pathname
[2000/04/06 16:45:18, 2] smbd/connection.c:utmp_update(491)
  utmp_update: fname:
[2000/04/06 16:45:18, 2] smbd/connection.c:uw_pathname(470)
  uw_pathname: unable to determine pathname
[2000/04/06 16:45:18, 2] smbd/connection.c:utmp_update(504)
  utmp_update: fname:

who/w work, last does not work

2)
utmp = yes
utmp dir = /var/run

[2000/04/06 16:46:37, 2] smbd/connection.c:utmp_update(491)
  utmp_update: fname:/var/run/utmpx
[2000/04/06 16:46:37, 2] smbd/connection.c:utmp_update(504)
  utmp_update: fname:/var/run/wtmpx

who/w work, last does not work

3)
utmp = yes
utmp dir = /var/run
wtmp dir = /var/log

[2000/04/06 16:48:00, 2] smbd/connection.c:utmp_update(491)
  utmp_update: fname:/var/run/utmpx
[2000/04/06 16:48:00, 2] smbd/connection.c:utmp_update(504)
  utmp_update: fname:/var/log/wtmpx

w  who and last all work!!!


4)
utmp = yes
utmp dir = /var/run
wtmp dir = /var/log
utmp consolidate = yes

[2000/04/06 16:51:52, 2] smbd/connection.c:utmp_claim(571)
  utmp_claim: utmp consolidate: 3 entries open

who w and last don't work


Basically w/who/last now work on a redhat system.

-- 
giulioo at pobox.com


More information about the samba-technical mailing list