[Samba] still can't print to samba printer from winxp
John H Terpstra
jht at samba.org
Tue Mar 18 00:35:47 GMT 2003
On Mon, 17 Mar 2003, Jeff D. Hamann wrote:
> 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
This means that a process is already using tcp port 139. You can use:
netstat -ap | grep 139
to find which process that may be.
>
>
> I'm not sure what this means:
> bind failed on port 139 socket_addr = 0.0.0.0.
Have you configured inetd to run smbd?
>
> which socket_addr? client or server?
Server.
Do you have a firewall? It may be blocking access to the loopback address
(127.0.0.1).
- John T.
>
>
> 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
>
>
>
>
--
John H Terpstra
Email: jht at samba.org
More information about the samba
mailing list