Printing problem. (nmb related??)

M. Neidorff neidorff at
Mon Aug 28 20:10:57 GMT 2000

Hi Folks,

I've been using linux for the past 4 years. I'm currently running RH 6.2 
and samba 2.0.6.

My goal has been to eliminate MS from my computer and I'm almost there. I'm 
trying to use samba to allow printing to my printer from other W95 & W98 
computers.  I've read the HOWTOs and generated the smb.conf file which is 
at the end of this message.  I used the [test] share to make sure (or so I 
thought) that samba is working and in fact I can copy a file from a W98 
machine to my linux server.

My problem is when I try to print.  The W98 computer says that the 
connection is refused.  I suspect that this is due to nmb (I'm not running 
named), but I don't know how to fix it.  After the smb.conf file I've 
appended a short version of my nmbd.log file (just from 4 minutes of 
operation...from startup to shutdown).  I really don't understand what 
these errors mean and how to fix them.  Would someone please help 
me?  (Sorry for the length of the message, but I wanted to include 
everything that might be helpful to resolving my problem)

Many thanks,


##### smb.conf
# Global parameters
	workgroup = JAGROUP
	netbios name = JAGROUP
	interfaces =
	security = SHARE
	preferred master = Yes
	wins support = Yes
	guest ok = Yes

	comment = This is a test. only a test.
	path = /usr/src/rootvar/var/tmp
	read only = No

	path = /var/spool/lpd/lp
	create mask = 0700
	hosts allow =
	print ok = Yes
	print command = /usr/bin/lpr -r %s
	printer name = lp
	browseable = No

	path = /var/spool/lpd/lp
	read only = No
	create mask = 0700
	hosts allow =
	print ok = Yes
	print command = /usr/bin/lpr -r %s
	printer name = lp
	oplocks = No
	share modes = No
	writable = yes
	printable = yes
	public = yes

##### eof smb.conf

##### log.nmb

[2000/08/28 14:41:47, 1] nmbd/nmbd.c:main(747)
   Netbios nameserver version 2.0.6 started.
   Copyright Andrew Tridgell 1994-1998
[2000/08/28 14:41:47, 0] nmbd/asyncdns.c:start_async_dns(150)
   started asyncdns process 1335
[2000/08/28 14:41:47, 0] nmbd/nmbd_nameregister.c:register_name_response(112)
   register_name_response: server at IP rejected our name 
registration of JAGROUP<00> with error code 5.
[2000/08/28 14:41:47, 0] nmbd/nmbd_workgroupdb.c:fail_register(222)
   fail_register: Failed to register name JAGROUP<00> on subnet UNICAST_SUBNET.
[2000/08/28 14:41:47, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(295)
   standard_fail_register: Failed to register/refresh name JAGROUP<00> on 
[2000/08/28 14:42:10, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(406)

   Samba name server JAGROUP is now a local master browser for workgroup 
JAGROUP on subnet

[2000/08/28 14:42:10, 0] 
   Unable to find the Domain Master Browser name JAGROUP<1b> for the 
workgroup JAGROUP.
   Unable to sync browse lists in this workgroup.
[2000/08/28 14:45:32, 0] nmbd/asyncdns.c:start_async_dns(150)
   started asyncdns process 1468
[2000/08/28 14:45:32, 0] nmbd/nmbd.c:sig_term(67)
   Got SIGTERM: going down...

#### eof log.nmb

More information about the samba mailing list