inconsistent log messages

Michael Gerdts Michael.Gerdts at usa.alcatel.com
Tue Jul 24 13:34:52 GMT 2001


When %u and %U differ, open() and close() log different information.
Furthermore, logging is not terribly helpful at determining which user did
what.  

For example, the following is a level 2 debug log of connecting to a share
(authenticated to the domain as mgerdts, force user = blkwolf)

[2001/07/24 09:15:00, 1] smbd/service.c:make_connection(606)
  aural035 (143.209.14.35) connect to service blkwolf as user blkwolf (uid=3581, gid=521) (pid 4502)
[2001/07/24 09:15:04, 2] smbd/open.c:open_file(216)
  mgerdts opened file New Folder/TESTDIR.TMP read=Yes write=Yes (numopen=1)
[2001/07/24 09:15:04, 2] smbd/close.c:close_normal_file(205)
  blkwolf closed file New Folder/TESTDIR.TMP (numopen=0) 

Note that there is no indication that mgerdts attached to the blkwolf
share.  Also note that mgerdts opened the file, blkwolf closed it...



More information about the samba-technical mailing list