[Samba] Samba errors

Keith.Stevens at fms.treas.gov Keith.Stevens at fms.treas.gov
Thu Nov 10 09:48:57 MST 2011


We are trying to start and use Samba with a very simple configuration. We 
are just trying to connect to an existing Windows AD Domain and trying to 
mount filesystems from the AIX 5.3TL12 server to a Windows server.

Can someone tell me what the error really means for nmbd and where should 
I start to look to resolve it?


smbd version 3.5.8 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2010
[2011/11/06 18:41:53.813636,  0] smbd/server.c:1165(main)
  standard input is not a socket, assuming -D option


    Failed to open nmb bcast socket on interface for port 
137.  Error was Can't assign requested address
[2011/11/06 18:42:07.034770,  0] nmbd/nmbd.c:963(main)
  ERROR: Failed when creating subnet lists. Exiting.



# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
   workgroup = FMSAD

# server string is the equivalent of the NT Description field
   server string = IR/CMD KROC Samba Server

# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
   security = domain

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.1. 192.168.2. 127.

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
;  load printers = yes

# you may wish to override the location of the printcap file
;   printcap name = /etc/printcap

# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
;   printcap name = lpstat

# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
;   printing = cups
"smb.conf" 276 lines, 9810 characters
;   comment = All Printers
;   path = /usr/spool/samba
;   browseable = no
# Set public = yes to allow user 'guest account' to print
;   guest ok = no
;   writable = no
;   printable = yes

# This one is useful for people to share files
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   writable = no
;   printable = no
;   write list = @staff

# Other examples.
# A private printer, usable only by fred. Spool data will be placed in 
# home directory. Note that fred must have write access to the spool 
# wherever it is.
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
# directory must be writable by the default user. Another user could of 
# be specified, in which case all files would be owned by that user 
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no

# The following two entries demonstrate how to share a directory so that 
# users can place files there that will be owned by the specific users. In 
# setup, the directory should be writable by both users and should have 
# sticky bit set on it to prevent abuse. Obviously this could be extended 
# as many users as required.
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765
   path = /usr/clearcase/ccstg
   public = yes
   writable = yes

Keith Stevens

This E-mail and its attachments (if any) are intended solely for
the use of the addressee(s) and may contain sensitive but
unclassified information. If you are not the intended recipient,
you are hereby notified that any disclosure, copying, distribution,
or use of the information contained herein (including any reliance
thereon) is strictly prohibited.  If you have received this E-mail
in error, please notify the sender immediately and destroy the
E-mail and any attachments.

More information about the samba mailing list