[Samba] still can't print to samba printer from winxp

Jeff D. Hamann jeff_hamann at hamanndonald.com
Tue Mar 18 00:27:28 GMT 2003


I have upgraded samba to 2.2.7a and cannot print to my printer attached to
my BSD machine. I can use the share dirs, etc, but cannot print. My log file
contains:

[2003/03/17 16:17:19, 0] lib/util_sock.c:open_socket_in(804)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use
[2003/03/17 16:18:02, 0] smbd/service.c:make_connection(252)
50163099sp (204.250.145.147) couldn't find service c
[2003/03/17 16:20:46, 0] lib/util_sock.c:open_socket_in(804)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use
[2003/03/17 16:22:22, 0] lib/util_sock.c:open_socket_in(804)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use


I'm not sure what this means:
bind failed on port 139 socket_addr = 0.0.0.0.

which socket_addr? client or server?


Here's my smb.conf file:

[global]
workgroup = skookum
server string = Samba Server [FreeBSD 2.2.7a]
load printers = yes
printcap name = /etc/printcap
log file = /var/log/log.%m
max log size = 50
encrypt passwords = yes
security = user
socket options = TCP_NODELAY
disable spoolss = yes
log file = /var/log/samba.log
max log size = 50000

#============================ Share Definitions
==============================
[homes]
comment = Home Directories
browseable = no
writeable = no
printable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writeable = no
printable = yes





More information about the samba mailing list