[Samba] printing server

Christoph Scheeder christoph.scheeder at scheeder.de
Wed Dec 8 13:56:42 GMT 2004


Okay,
lets see if i understand this correct.... ;-)
you have a network with:
1 gateway/firewall to the internet (ip 192.168.0.1)
1 linux-pc which shall share his printer to the local network
   (ip 192.168.0.4)
several other linux/windows pc's which shall be able to print.
all trafic is *not* passing through the gateway.

[snip]
> # Global parameters
> [global]
>         workgroup = MYGROUP
>         server string = Samba Server
>         interfaces = 192.168.0.4/24, 192.168.0.1/24

then this line is complete rubish.
it should read

	interfaces = 192.168.0.4/24, 127.0.0.1/8

>         log file = /var/log/samba/%m.log
>         max log size = 50

samba is telling you that (if my rudimentary frech doesn't fool me...)

[snip]
> [2004/12/08 03:03:54, 0] lib/util_sock.c:open_socket_in(708)
>   bind failed on port 137 socket_addr = 192.168.0.1.
>   Error = Ne peut attribuer l'adresse demandée

it trys to open a socket on an interface with adress 192.168.0.1,
which will not succeed as it has no such interface.
Christoph


More information about the samba mailing list