'Resource temporarily unavailable' with 2.0.7 under FBSD 4.0R

James Long james at pbsenv.com
Mon Sep 25 19:02:36 GMT 2000

I'm running Samba 2.0.7 on FreeBSD 4.0R.  I am *not* running smbd via inetd.
It appears that samba will allow one Windows client to connect, and on
subsequent attempts, I get an entry in log.smb that reads something akin to:

[2000/09/21 10:55:51, 0] smbd/oplock.c:open_oplock_ipc(93)
  open_oplock_ipc: Failed to get local UDP socket for address 100007f. Error
 Resource temporarily unavailable

This suggests to me that smbd is having trouble opening a UDP socket on the
localhost (lo0) interface.  Pinging that interface works fine, and I have
the ipfw rules set to allow all traffic on lo0.

How can I eliminate this error?

Also, even with the 'wins server' line and 'name resolve order' set to use
wins only, nmblookup still says:

pbssamba:/usr/local/etc> nmblookup pdx-james
querying pdx-james on pdx-james<00>

This appears to indicate that nmblookup is querying on the broadcast
rather than using the wins server.  How can I get nmbd to talk to the WINS 
server instead of broadcasting?



smb.conf is:

# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not many any basic syntactic errors. 
#======================= Global Settings =================================
   workgroup = XXXXXX
   security = share
#   security = user
#   domain logons = true
#   NetBIOS name = JLRserver
   wins server =
#   name resolve order = wins lmhosts hosts bcast
   name resolve order = wins

  comment = For testing only, please
  path = /usr/ports
  read only = no
  guest ok = yes
  writeable = yes

  path = /
  read only = no
  writeable = yes
  guest ok = yes

# [homes]
#   writeable = yes

# [printer$]
#   path = /usr/local/etc/smb/printers
#   public = yes
#   writeable = no
#   browseable = yes

   comment = All Printers
   path = /var/spool/samba
   browseable = no
# # Set public = yes to allow user 'guest account' to print
   guest ok = yes
   writeable = no
   printable = yes

More information about the samba mailing list