Samba utmp patch

Giulio Orsero giulioo at pobox.com
Thu Apr 6 16:35:25 GMT 2000


On Fri, 7 Apr 2000 02:09:55 +1000, hai scritto:

>That's peculiar.  I'd need more details.  The "utmp consolidate" option
>worked OK here.  (As you open and close shares within a connection, these

This is a complete level2 log. The utmp_update is only for the
closing of the connection not for the beginning.

[2000/04/06 18:22:21, 1] smbd/server.c:main(641)
  smbd version 2.0.7-pre3 started.
  Copyright Andrew Tridgell 1992-1998
[2000/04/06 18:22:21, 2] param/loadparm.c:do_section(2481)
  Processing section "[aaa]"
[2000/04/06 18:22:21, 2] param/loadparm.c:do_section(2481)
  Processing section "[bbbbbbb]"
[2000/04/06 18:22:21, 2] param/loadparm.c:do_section(2481)
  Processing section "[dddddd]"
[2000/04/06 18:22:21, 2] param/loadparm.c:do_section(2481)
  Processing section "[homes]"
[2000/04/06 18:22:21, 2] param/loadparm.c:do_section(2481)
  Processing section "[eeeee]"
[2000/04/06 18:22:21, 2] lib/interface.c:add_interface(83)
  added interface ip=10.0.0.x bcast=10.0.0.255 nmask=255.255.255.0
[2000/04/06 18:22:21, 2] lib/interface.c:add_interface(83)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2000/04/06 18:22:21, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1014 are available.
[2000/04/06 18:22:21, 2] smbd/server.c:open_sockets(181)
  waiting for a connection
[2000/04/06 18:22:28, 2] smbd/server.c:main(746)
  Changed root to /
[2000/04/06 18:22:28, 2] lib/access.c:check_access(258)
  Allowed connection from pcXX (10.0.0.XX)
[2000/04/06 18:22:28, 2] smbd/reply.c:reply_special(97)
  netbios connect: name1=XXX               name2=XXX
[2000/04/06 18:22:28, 2] smbd/connection.c:utmp_claim(560)
  utmp_claim: conn NULL
[2000/04/06 18:22:28, 2] lib/access.c:check_access(258)
  Allowed connection from pcXX (10.0.0.XX)
[2000/04/06 18:22:28, 2] smbd/password.c:pass_check_smb(528)
  pass_check_smb failed - invalid password for user [yy]
[2000/04/06 18:22:28, 2] lib/access.c:check_access(258)
  Allowed connection from pcXX (10.0.0.XX)
[2000/04/06 18:22:28, 2] smbd/password.c:pass_check_smb(528)
  pass_check_smb failed - invalid password for user [yy]
[2000/04/06 18:22:28, 2] smbd/connection.c:utmp_claim(571)
  utmp_claim: utmp consolidate: 2 entries open
[2000/04/06 18:22:28, 1] smbd/service.c:make_connection(550)
  yy (10.0.0.XX) connect to service ddddddd as user xyz (uid=100, gid=100) (pid
 1468)
[2000/04/06 18:23:02, 2] smbd/server.c:exit_server(408)
  Closing connections
[2000/04/06 18:23:02, 1] smbd/service.c:close_cnum(583)
 yy (10.0.0.XX) closed connection to service ddddddd
[2000/04/06 18:23:02, 2] smbd/connection.c:utmp_yield(537)
  utmp_yield: conn: user:xyz cnum:2 i:1 (nopen:1)
[2000/04/06 18:23:02, 2] smbd/connection.c:utmp_update(491)
  utmp_update: fname:/var/run/utmpx
[2000/04/06 18:23:02, 2] smbd/connection.c:utmp_update(504)
  utmp_update: fname:/var/log/wtmpx


-- 
giulioo at pobox.com


More information about the samba-technical mailing list