[Samba] can't print over samba
David Banning
david at skytracker.ca
Tue Mar 18 02:22:27 GMT 2003
Following a working fine samba install,
I just did a new installation of samba 2.2.8 on FreeBSD 4.8(s)
and while I can explore the network and I can copy files to unix,
I cannot print to unix. Then log.nmbd file says;
[2003/03/17 16:58:10, 0] nmbd/nmbd.c:main(795)
Netbios nameserver version 2.2.8 started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2003/03/17 16:58:10, 1] lib/debug.c:debug_message(258)
INFO: Debug class all level = 2 (pid 60080 from pid 60080)
[2003/03/17 16:58:10, 2] nmbd/nmbd.c:main(833)
Becoming a daemon.
[2003/03/17 16:58:10, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
[2003/03/17 16:58:10, 2] nmbd/nmbd_subnetdb.c:make_subnet(192)
making subnet name:192.168.1.1 Broadcast address:192.168.1.255 Subnet mask:255
.255.255.0
[2003/03/17 16:58:10, 2] nmbd/nmbd_subnetdb.c:make_subnet(192)
making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.
0
[2003/03/17 16:58:10, 2] nmbd/nmbd_subnetdb.c:make_subnet(192)
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet ma
sk:0.0.0.0
[2003/03/17 16:58:14, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 16946 received with no matching recor
d.
[2003/03/17 16:58:14, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 16947 received with no matching recor
My samba file follows then simple smb.conf and looks like this:
[global]
workgroup = WORKGROUP
server string = Samba Server
log level = 2
load printers = yes
log file = /var/log/log.%m
max log size = 50
security = user
socket options = TCP_NODELAY
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writeable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writeable = no
printable = yes
I am wondering about cups_base which seems to want to run as
a daemon in this version. I have an earlier version of samba running on
another machine and there is no cup_base installed.
Do I need it?
I get these errors on log.50163099sp
[2003/03/17 20:46:49, 0] printing/print_cups.c:cups_printername_ok(388)
Unable to get printer status for c - client-error-not-found
[2003/03/17 20:46:49, 0] smbd/service.c:make_connection(252)
50163099sp (65.95.213.114) couldn't find service c
[2003/03/17 20:46:49, 2] smbd/server.c:exit_server(511)
Closing connections
I get this on my log.smbd;
[2003/03/17 20:43:44, 2] smbd/reply.c:reply_special(111)
netbios connect: local=d remote=dale
[2003/03/17 20:43:44, 2] smbd/reply.c:reply_special(92)
netbios connect: name1=D name2=DALE
[2003/03/17 20:43:44, 2] smbd/reply.c:reply_special(111)
netbios connect: local=d remote=dale
[2003/03/17 20:46:49, 2] smbd/reply.c:reply_special(92)
netbios connect: name1=D name2=50163099SP
[2003/03/17 20:46:49, 2] smbd/reply.c:reply_special(111)
netbios connect: local=d remote=50163099sp
[2003/03/17 21:15:05, 2] smbd/reply.c:reply_special(92)
netbios connect: name1=D name2=LOCALHOST
[2003/03/17 21:15:05, 2] smbd/reply.c:reply_special(111)
netbios connect: local=d remote=localhost
I have tried several different versions of smb.conf including then one
from a previous version of samba which worked fine before then upgrade.
More information about the samba
mailing list