[Samba] Interesting logging issue with W2k and smb 2.2.2

Carl B. Constantine cconstan at csc.UVic.CA
Wed Sep 11 17:22:01 GMT 2002


We're running Samba 2.2.2 on a Solaris 8 (Sparc) machine. It's not
configured as a PDC or BDC, just sharing out home file spaces and
printing access.

I've searched the archives and can't find anything in the list archives
or the bug reports that *quite* matches my "problem". I can't tell if
this is an issue with Samba 2.2.2 which may be fixed in 2.2.5 or if this
is just "the way it is" for Win2k clients.

A little more detail:

I'm writing a perl script to track statistics on our machines, most
usage during a day, etc. With the windows NT clients, it's pretty easy,
there is a clear connect and clear disconnect like this:

[2002/09/11 09:04:50, 1] smbd/service.c:make_connection(610)
  a-speed (142.104.104.151) connect to service whd as user whd (uid=xxx, gid=xx) (pid xxxx)
[2002/09/11 09:13:04, 1] smbd/service.c:close_cnum(650)
  a-speed (142.104.104.151) closed connection to service whd

This user has been on for 9 minutes. 

For our Win2K machines though, I see logs like this:

[2002/09/11 08:50:43, 1] smbd/service.c:make_connection(610)
  c-oswego (142.104.105.123) connect to service chloem as user chloem (uid=xxxx, gid=xx) (pid xxxx)
[2002/09/11 08:50:43, 0] smbd/service.c:make_connection(239)
  c-oswego (142.104.105.123) couldn't find service netlogon
[2002/09/11 08:50:44, 1] smbd/service.c:make_connection(610)
  c-oswego (142.104.105.123) connect to service chloem as user chloem (uid=xxxx, gid=xx) (pid xxxx)
[2002/09/11 08:50:44, 1] smbd/service.c:make_connection(610)
  c-oswego (142.104.105.123) connect to service chloem as user chloem (uid=xxxx, gid=xx) (pid xxxx)
[2002/09/11 08:50:44, 1] smbd/service.c:close_cnum(650)
  c-oswego (142.104.105.123) closed connection to service chloem
[2002/09/11 08:50:44, 1] smbd/service.c:close_cnum(650)
  c-oswego (142.104.105.123) closed connection to service chloem
[2002/09/11 09:12:14, 1] smbd/service.c:make_connection(610)
  c-oswego (142.104.105.123) connect to service chloem as user chloem (uid=xxxx, gid=xx) (pid xxxx)
[2002/09/11 09:12:14, 1] smbd/service.c:close_cnum(650)
  c-oswego (142.104.105.123) closed connection to service chloem
[2002/09/11 09:12:14, 1] smbd/service.c:make_connection(610)
  c-oswego (142.104.105.123) connect to service chloem as user chloem (uid=xxxx, gid=xx) (pid xxxx)
[2002/09/11 09:12:14, 1] smbd/service.c:close_cnum(650)
  c-oswego (142.104.105.123) closed connection to service chloem

This user is actually still logged on to the system but it connects and
disconnects and reconnects the user several times in the same session.

We have "log level = 1" on our smb.conf file. We did use Debug level 3
at one point but I throught to trim it down a bit to see if it made a
difference.

My question:

1) is this a known problem or is it even a problem at all?
2) is there a way to fix this (maybe update our samba version for
example)?

Any insight is greatly appreciated.

-- 
Carl B. Constantine		    University of Victoria
Programmer Analyst		    http://www.uvic.ca
UNIX System Administrator	Victoria, BC, Canada
cconstan at csc.uvic.ca        ELW A220, 721-8753



More information about the samba mailing list