Bradley W. Langhorst
2003-Feb-17 03:40 UTC
[Samba] logging by name and ip address in 3.0a21
Does anybody else see two sets of logs with log file = /var/log/samba/log.smbd.%m ? i get both logs like log.smbd.192.168.0.3 and log.smbd.testpc when testpc has the ip address 192.168.0.3 I've tried %M and with no obvious effect thanks -- Bradley W. Langhorst <brad@langhorst.com>
On Mon, 2003-02-17 at 14:40, Bradley W. Langhorst wrote:> > Does anybody else see two sets of logs with > log file = /var/log/samba/log.smbd.%m ? > > i get both logs like > log.smbd.192.168.0.3 > and > log.smbd.testpc > > when testpc has the ip address 192.168.0.3 > I've tried %M and with no obvious effectThe problem is that when a client first connects to us, we don't have any details about the client. Previously, this would not be a problem, because very shortly thereafter, the client would send it's first packet - the name exchange. However, now that we open port 445, we don't get that name and so we can only use the IP address. If the logon is via NTLMSSP, we might get the name later, but if it is kerberos, we would never get another name. If you set 'hostname lookups = yes' we will use the reverse DNS name for %m and %M, instead of the IP address. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20030217/c85c4321/attachment.bin
Possibly Parallel Threads
- smbclient says NT_STATUS_PASSWORD_MUST_CHANGE - how to change password?
- OpLock+flat DB corruption (Was: How Samba let us down )
- samba 3.0.2a-Debian +ldapsam +smbldap-tools 3.0rc4-1= newly created users can't log in
- typical performance on 10mbit switched network
- roaming profile fails with NT_STATUS_BUFFER_TOO_SMALL