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.
You mentioned the magic word - DNS When Windows machines use dns to lookup windows names they can try all sorts of combinations of hostname and domainname (NT domainname included) ideally, tell the samba server not to act as a DNS proxy and if possible, don't let your windows clients use dns at all. All-in-all it's very tricky thing, running windows clients on a dial-on-demand link - as I have found out to my cost. I surmised on all the occations I attempted that if windows machines find themselves on a network they assume that it is for accessing the internet and I can verify that this actually happend on an NT 4.5 SBS machine as well. Martyn Ranyard On Sunday 03 March 2002 12:36, Tim Preece wrote:> 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.
Tim Preece <tim@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/sambaHi 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
Thanks Caio, It was indeed the interfaces configuration that was missing, however I have not needed to implement the bind interfaces only option. Is it possible to set samba ( 2.2.3a ) up as a password server for windows 2000. Regards Tim Preece. On Sun, 2002-03-03 at 16:03, Oliver Six wrote:> Tim Preece <tim@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 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Tim Preece <tim@cpio.nildram.co.uk> wrote on 03.03.2002 17:41:51:> >Thanks Caio, > >It was indeed the interfaces configuration that was missing, however I >have not needed to implement the bind interfaces only option. > >Is it possible to set samba ( 2.2.3a ) up as a password server for >windows 2000. > >Regards > >Tim Preece. >Hi Tim, of course. Have a look at the Samba-HOWTO-Collection.pdf in the docs subdir of the source tree. Chapter 8 is "How to Configure Samba 2.2 as a Primary Domain Controller". 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