[Samba] Help - samba keeps dialing out

Oliver Six o.six at cahos.net
Sun Mar 3 08:17:03 GMT 2002


Tim Preece <tim at cpio.nildram.co.uk> wrote on 03.03.2002 13:36:55:

>
>Hi,
>
>I have just set up samba on my FreeBSD 4.5 stable box, and have it
>integrating quite nicely with windows 2000 server ( not set up as a PDC
>), however the FreeBSD server keeps dialing out approx every 10 minutes
>or so.
>
>The FreeBSD Server is also acting as a DNS Server ( IPv4 ) and the dial
>up is handled through the tunneling device. This has been working fine
>until I have installed samba and jdk1.3 plus some java tools.
>
>I really cant think that the jdk or the java tools would be calling out,
>as these are not even running, so I presume that it must be samba.
>
>Any help much appreciated.
>
>My smb.conf is as follows ( names adjusted )
>
>// ---------------- BEGIN -------------------
>
>[global]
>    workgroup = workgroup
>    server string = File Server
>    hosts allow = 10.0.0. 127.
>    load printers = no
>    log file = /root/logs/samba
>    max log size = 50
>    security = user
>    encrypt passwords = no
>    socket options = TCP_NODELAY
>    dns proxy = no
>    client code page=850	
>
>[homes]
>   comment = Home Directories
>   browseable = no
>   writeable = yes
>
>[tmp]
>   comment = Temporary file space
>   path = /tmp
>   read only = no
>   public = yes
>
>[backup]
>   comment = Backup directory
>   path = /usr/backups
>   read only = no
>   writable = yes
>   printable = no
>   public = no
>   valid users root
>   create mask = 0600
>
>// ----------------- END --------------------
>
>Regards
>
>Tim Preece.
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

Hi Tim,

I think the dial is caused by the windows broadcasts. Try to give samba a 
"interfaces = your_ethernet" and a "bind interfaces only = yes" lines in 
the [global] section. Another solution might be setting up a firewall and 
disallow outgoing traffic on ports 137-139 tcp and udp via the dialup 
device. 

Ciao Oliver
--
Good programming is 40% experience, 30% skill, 20% RTFM, 10% caffeine, and 
5% attention to detail. 

Oliver Six, CEO
CAHOS GmbH, Cimbernstr. 51, Germany 81377 Muenchen
Phone +49 89 71 01 93 41,  Fax +49 89 71 01 93 42





More information about the samba mailing list