New setup - Errors in Logs

Ed Kasky ed at esson.net
Wed Feb 21 17:00:27 GMT 2001


I am a new samba user and am searching for some help on a few things.  Any 
help / advice on the following is appreciated.

We have a small network with 95/98/2000 workstations, one Redhat 6.0 server 
running Samba 2.07 and one Novell 5.0 box that we use as a dns and dhcp 
server as well as a firewall. There is one workgroup, ET and no domains.  I 
want samba to be the local master browser for the wg ET.

I just installed, configured (I thought) and started smbd and nmbd, checked 
the logs and noticed the following in nmb.log.  Should I concern myself 
with these and if so which ones?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2001/02/20 16:58:16, 0] nmbd/nmbd.c:main(747)
   Incorrect program usage - is the command line correct?
[2001/02/20 16:58:39, 0] nmbd/nmbd.c:main(747)
   Incorrect program usage - is the command line correct?
[2001/02/20 19:39:44, 1] nmbd/nmbd.c:main(757)
   Netbios nameserver version 2.0.7 started.
   Copyright Andrew Tridgell 1994-1998
[2001/02/20 19:39:44, 0] nmbd/asyncdns.c:start_async_dns(150)
   started asyncdns process 2598
[2001/02/20 21:10:03, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(405)
   *****

   Samba name server YODA is now a local master browser for workgroup ET on 
subnet 10.0.0.3

   *****
[2001/02/20 21:10:03, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(360)
   find_domain_master_name_query_fail:
   Unable to find the Domain Master Browser name ET<1b> for the workgroup ET.
   Unable to sync browse lists in this workgroup.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(The unable to find Domain Master repeats at regular intervals.  )

And from smbd:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2001/02/20 19:39:37, 1] smbd/server.c:main(641)
   smbd version 2.0.7 started.
   Copyright Andrew Tridgell 1992-1998
[2001/02/20 19:39:37, 1] smbd/files.c:file_init(216)
   file_init: Information only: requested 10000 open files, 1014 are available.
[2001/02/20 23:19:52, 0] lib/util_sock.c:set_socket_options(151)
   Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2001/02/20 23:19:52, 0] lib/util_sock.c:set_socket_options(151)
   Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2001/02/20 23:19:52, 0] lib/util_sock.c:set_socket_options(151)
   Failed to set socket option SO_RCVBUF (Error Bad file descriptor)
[2001/02/20 23:19:52, 0] lib/util_sock.c:set_socket_options(151)
   Failed to set socket option SO_SNDBUF (Error Bad file descriptor)
log.smb (END)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The socket options are confusing as I thought I was using the defaults.

and lastly my samba.conf:

# Date: 2001/02/21 08:56:48

# Global parameters
[global]
         coding system =
         client code page = 850
         workgroup = ET
         netbios name = YODA
         netbios aliases =
         netbios scope =
         server string = Samba 2.0.7 at %h
         interfaces = eth0
         bind interfaces only = No
         security = USER
         encrypt passwords = No
         update encrypted = No
         allow trusted domains = Yes
         hosts equiv =
         min password length = 5
         map to guest = Never
         null passwords = No
         password server =
         smb passwd file = /etc/smbpasswd
         root directory = /
         passwd program = /bin/passwd
         passwd chat = *new*password* %n\n *new*password* %n\n *changed*
         passwd chat debug = No
         username map =
         password level = 0
         username level = 0
         unix password sync = No
         restrict anonymous = No
         use rhosts = No
         debug level = 1
         syslog = 1
         syslog only = No
         log file = /var/log/samba/log.%m
         max log size = 5000
         debug timestamp = Yes
         debug hires timestamp = No
         debug pid = No
         debug uid = No
         protocol = NT1
         read bmpx = No
         read raw = Yes
         write raw = Yes
         nt smb support = Yes
         nt pipe support = Yes
         nt acl support = Yes
         announce version = 4.2
         announce as = NT
         max mux = 50
         max xmit = 65535
         name resolve order = lmhosts host wins bcast
         max ttl = 259200
         max wins ttl = 518400
         min wins ttl = 21600
         time server = No
         change notify timeout = 60
         deadtime = 0
         getwd cache = Yes
         keepalive = 300
         lpq cache time = 10
         max disk size = 0
         max open files = 10000
         read prediction = No
         read size = 16384
         shared mem size = 1048576
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         stat cache size = 50
         load printers = Yes
         printcap name = /etc/printcap
         printer driver file = /etc/printers.def
         strip dot = No
         character set =
         mangled stack = 50
         stat cache = Yes
         domain groups =
         domain admin group =
         domain guest group =
         domain admin users =
         domain guest users =
         machine password timeout = 604800
         add user script =
         delete user script =
         logon script =
         logon path = \\%N\%U\profile
         logon drive =
         logon home = \\%N\%U
         domain logons = No
         os level = 65
         lm announce = Auto
         lm interval = 60
         preferred master = No
         local master = Yes
         domain master = No
         browse list = Yes
         dns proxy = No
         wins proxy = No
         wins server =
         wins support = Yes
         wins hook =
         kernel oplocks = Yes
         ole locking compatibility = Yes
         oplock break wait time = 10
         smbrun = /usr/bin/smbrun
         config file =
         auto services =
         lock directory = /var/lock/samba
         default service =
         message command =
         dfree command =
         valid chars =
         remote announce =
         remote browse sync =
         socket address = 0.0.0.0
         homedir map =
         time offset = 0
         unix realname = No
         NIS homedir = No
         source environment =
         panic action =
         comment =
         path =
         revalidate = No
         username =
         guest account = nobody
         invalid users =
         valid users =
         admin users =
         read list =
         write list =
         force user =
         force group =
         writeable = No
         create mask = 0744
         force create mode = 00
         security mask = -1
         force security mode = -1
         directory mask = 0755
         force directory mode = 00
         directory security mask = -1
         force directory security mode = -1
         inherit permissions = No
         guest only = No
         guest ok = No
         only user = No
         hosts allow =
         hosts deny =
         status = Yes
         max connections = 0
         min print space = 0
         strict sync = No
         sync always = No
         write cache size = 0
         printable = No
         postscript = No
         printing = bsd
         print command = lpr -r -P%p %s
         lpq command = lpq -P%p
         lprm command = lprm -P%p %j
         lppause command =
         lpresume command =
         queuepause command =
         queueresume command =
         printer =
         printer driver = NULL
         printer driver location =
         default case = lower
         case sensitive = No
         preserve case = Yes
         short preserve case = Yes
         mangle case = No
         mangling char = ~
         hide dot files = Yes
         delete veto files = No
         veto files =
         hide files =
         veto oplock files =
         map system = No
         map hidden = No
         map archive = Yes
         mangled names = Yes
         mangled map =
         browseable = Yes
         blocking locks = Yes
         fake oplocks = No
         locking = Yes
         oplocks = Yes
         level2 oplocks = No
         oplock contention limit = 2
         strict locking = No
         share modes = Yes
         copy =
         include =
         preexec =
         preexec close = No
         postexec =
         root preexec =
         root preexec close = No
         root postexec =
         available = Yes
         volume =
         fstype = NTFS
         set directory = No
         wide links = Yes
         follow symlinks = Yes
         dont descend =
         magic script =
         magic output =
         delete readonly = No
         dos filetimes = No
         dos filetime resolution = No
         fake directory create times = No

[homes]
         comment = Home Directories
         writeable = Yes
         browseable = No

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

[cdrom]
         comment = Cd Contents
         path = /mnt/cdrom






More information about the samba mailing list