Bug 196 - netbios name not logged in log.smbd
Summary: netbios name not logged in log.smbd
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.0preX
Hardware: Other Linux
: P2 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-30 09:33 UTC by Björn Jacke
Modified: 2005-02-07 08:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2003-06-30 09:33:44 UTC
samba 2.x used to log like this:
  ps-gurari (9.148.8.114) connect to service c$ as user nobody (uid=65534, 
gid=65533) (pid 1766)

samba3 doesn't log the netbios names:

  9.143.168.226 (9.143.168.226) closed connection to service c$

the netbios name does not appear anywhere.
Comment 1 Björn Jacke 2003-06-30 10:43:42 UTC
%m seems also to have problems when used in preexec ...
Comment 2 Gerald (Jerry) Carter (dead mail address) 2003-06-30 22:10:46 UTC
without full log files, my guess is that these 
are Windows 2k or above clients connecting to
port 445 (smbd in Samba 3.0 supports port 139(netbios)
and port 445(no netbios)) so there is no name to be
logged.  Is this your case?

You can set "smb ports = 139" in smb.conf to force 
netbios only connections.
Comment 3 Björn Jacke 2003-07-02 01:08:13 UTC
yes, sorry, you are right I think. Maybe it would be a good idea to mention 
this in the howto for migrations from samba2 to samba3.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2003-07-02 21:56:29 UTC
no bug
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-02-07 08:38:49 UTC
originally reported against 3.0.0beta1.  CLeaning out 
non-production release versions.