Server Software Unfriendly

Charles Brian Hill cbhill at sprintmail.com
Thu Sep 3 13:40:30 GMT 1998


Hi all,

I have just upgraded my version of samba from 1.9.16 to 1.9.18p10.  When
I reconfigured everything, I began experiencing problems.  I have been
running through the process outlined in the DIAGNOSIS.txt file, but
haven't had much luck.

The first test that fails is test 3.  I get the "Your server software is
being unfriendly" message.  Here is the output from log.smb:

nognus:/usr/local/samba/var:(15)# cat log.smb
doing parameter hosts allow = 192.168.1. 127. 206.133.
doing parameter load printers = yes
doing parameter max log size = 500
doing parameter security = user
doing parameter socket options = TCP_NODELAY
doing parameter interfaces = 192.168.1.1/255.255.255.0
doing parameter os level = 33
doing parameter dns proxy = no
Processing section "[homes]"
doing parameter comment = Home Directories
doing parameter browseable = yes
doing parameter writable = yes
Processing section "[printers]"
doing parameter comment = All Printers
doing parameter path = /usr/spool/samba
doing parameter browseable = yes
doing parameter guest ok = yes
doing parameter writable = no
doing parameter printable = yes
Processing section "[tmp]"
doing parameter comment = Temporary file space
doing parameter path = /tmp
doing parameter read only = no
doing parameter public = yes
pm_process() returned Yes
adding printer service ascii
adding printer service lp2
adding printer service raw
adding IPC service
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf 
last mod_time: Thu Sep  3 08:10:10 1998

Added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
Adding chars 0x84 0x8e (l->u = True) (u->l = True)
Adding chars 0x86 0x8f (l->u = True) (u->l = True)
Adding chars 0x91 0x92 (l->u = True) (u->l = True)
Adding chars 0x87 0x80 (l->u = True) (u->l = True)
Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
Adding chars 0x82 0x90 (l->u = True) (u->l = True)
Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
Adding chars 0x8d 0xde (l->u = True) (u->l = True)
Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
Adding chars 0x94 0x99 (l->u = True) (u->l = True)
Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
Adding chars 0x97 0xeb (l->u = True) (u->l = True)
Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
Adding chars 0x96 0xea (l->u = True) (u->l = True)
Adding chars 0x81 0x9a (l->u = True) (u->l = True)
Adding chars 0xec 0xed (l->u = True) (u->l = True)
Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
1998/09/03 09:30:21 loaded services
Trying sysv shmem open of size 102400
shm_initialize : initializing shmem size 102400
shm_alloc : allocated 112 bytes at offset 48
Initialised IPC area of size 102400
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf 
last mod_time: Thu Sep  3 08:10:10 1998

1998/09/03 09:30:21 changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
open_oplock ipc: pid = 27939, oplock_port = 1828
priming nmbd 
sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
Serverzone is 14400
got message type 0x81 of len 0x48
1998/09/03 09:31:18 Transaction 0 of length 76
netbios connect: name1=NOGNUS           name2=NOGNUS
Trying username nognuS
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf 
last mod_time: Thu Sep  3 08:10:10 1998

1998/09/03 09:31:18 init msg_type=0x81 msg_flags=0x0
write_socket(4,4)
write_socket(4,4) wrote 4
receive_smb error (Broken pipe) exiting
Closing connections
1998/09/03 09:31:18 Server exit  (normal exit)

******

When I watched the log interactively, I noticed that the server seemed
to hang right after printing "priming nmbd" to the log file.  I
undefined PRIME_NMBD in the local.h file, and I was able to connect from
my clients.  But then I was not able to browse my network from the
windows machines as I was before I upgraded to the new version.

I can still use smbclient to connect to my Windows machines, and
nmblookup to lookup all of the machines on the network.

Any help / information would be greatly appreciated.

Thanks,

-Brian Hill

--
Charles Brian Hill
cbhill at sprintmail.com


More information about the samba mailing list