LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-16-2012, 11:17 PM   #1
tar1827
LQ Newbie
 
Registered: Jun 2007
Location: West Michigan, USA
Distribution: Fedora
Posts: 9

Rep: Reputation: 0
Samba log files with strange messages


Hello All:
I am running Samba on a Fedora 17 server and it seems to be working fine; however, I am wondering if I have a problem with the way I set it up that could be adversely affecting either performance or security (or something else). There are messages in the log files that I don't understand and cannot seem to learn about via Googling for hours.


Here is my smb.conf followed by some log file examples...
Code:
[global]
        workgroup = MYENTERPRISE
        netbios name = Oudebok
        server string = LAN Fileserver
        log file = /var/log/samba/%m.log
        max log size = 50
        security = user
        encrypt passwords = yes
        browseable = yes
#       hosts allow = 172.16.1.
# Modified to allow for VPN connections to Samba shares
        hosts allow = 172.16.1. 10.123.214. localhost
        bind interfaces only = true
        interfaces = eth0 172.16.1. tap0 10.123.214. lo 127.0.0.1
# Modified to eliminate getpeername error
        smb ports = 139
# Added to ensure that Oudebok is the primary source for browseable Samba resources
        local master = Yes
        preferred master = Yes
        os level = 17

[homes]
        comment = Oudebok Home Directories
        valid users = %S
        read only = No
        browseable = No
#       guest ok = No

[printers]
        comment = All Printers
        path = /usr/spool/samba
        printable = Yes
        browseable = No

[FILESHARE]
        comment = Oudebok Fileshare Directory
        path = /fileshare
        read only = No
Code:
tail -20 /var/log/samba/log.nmbd
[2012/12/16 23:01:32,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
[2012/12/16 23:06:35,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
[2012/12/16 23:11:37,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
[2012/12/16 23:16:37,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
[2012/12/16 23:21:27,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
[2012/12/16 23:26:37,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
[2012/12/16 23:31:37,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
[2012/12/16 23:36:37,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
[2012/12/16 23:41:38,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
[2012/12/16 23:46:38,  0] nmbd/nmbd_packets.c:759(queue_query_name)
  queue_query_name: interface 1 has NULL IP address !
Can anyone here help me figure out what is going on with these errors, or what else I can post to investigate this?
Thanks in advance!
Tom

Last edited by tar1827; 12-21-2012 at 08:42 AM.
 
Old 12-20-2012, 06:35 PM   #2
tar1827
LQ Newbie
 
Registered: Jun 2007
Location: West Michigan, USA
Distribution: Fedora
Posts: 9

Original Poster
Rep: Reputation: 0
Given that nobody has posted a suggestion, perhaps someone can suggest a more suitable resource for assistance???
Thank you!
 
Old 12-28-2012, 08:46 AM   #3
tar1827
LQ Newbie
 
Registered: Jun 2007
Location: West Michigan, USA
Distribution: Fedora
Posts: 9

Original Poster
Rep: Reputation: 0
Smile

A very helpful reply was posted to my (same) question at linuxforums.org:

Quote:
Samba's nmbd process replicates NetBIOS-type broadcasts/name resolution for "Windows for Workgroups." Your log is nmbd telling you that one of your interfaces (NIC's) has a "null" IP address. Whether or not this is valid may depend on your config. Try pasting your error message into Google. The "lo" and 127.0.0.1 are redundant - I'd remove the "lo" based on the bug report.
I removed "lo" from my interfaces line in smb.conf and the error that was being logged in the log.nmbd went away.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange messages in the Secure log baldur2630 Linux - Security 1 05-12-2011 03:53 PM
Strange sshd log messages sorenp Linux - Security 3 04-19-2007 12:58 PM
Strange "martian source" messages in my linux gateway log files Dr3am3r Linux - Networking 2 12-09-2006 08:57 AM
strange system log messages ? deft Linux - Security 23 11-13-2004 09:47 AM
Messages log, strange Equis Linux - Security 1 03-28-2004 04:48 AM


All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration