From owner-freebsd-questions Mon Jun 26 4:24:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ash25.adelaide.on.net (ash25.internode.on.net [203.16.214.248]) by hub.freebsd.org (Postfix) with ESMTP id F0DFD37BA22 for ; Mon, 26 Jun 2000 04:24:49 -0700 (PDT) (envelope-from marcd@internode.on.net) Received: from zen.dodsworth.org ([150.101.250.224]) by internode.on.net (PMDF V5.2-32 #42627) with ESMTP id <01JR2MCT56OE001NJ5@internode.on.net> for freebsd-questions@freebsd.org; Mon, 26 Jun 2000 20:56:25 +0930 Date: Mon, 26 Jun 2000 20:50:45 +0930 (CST) From: marcd@internode.on.net Subject: Slight OT samba problem To: freebsd-questions@freebsd.org Message-id: MIME-version: 1.0 X-Mailer: XFMail 1.4.0 on FreeBSD Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 8bit X-Priority: 3 (Normal) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I know it's something that might be better on a Samba list but I have a little problem with Samba on a FreeBSD 4.0. The system is running Samba 2.0.7 and also acting as and internet gateway using demand ppp. For some reason the system keeps dialing up a net connecition when it's not supposed. I believe the problem is with nmb. Below is my smb.conf and log.nmb I also have an lmhosts file setup (/usr/local/samba/lib/LMHOSTS) [global] workgroup = Workgroup null passwords = yes log file = /var/log/log.%m max log size = 50 socket options = TCP_NODELAY load printers = yes dns proxy = no security = user printing = bsd server string = Samba Server username map = /usr/local/etc/user.map [global] # workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4 workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = SambaServer hosts allow = 10.0.0. load printers = yes printing = bsd log file = /var/log/log.%m max log size = 50 security = user encrypt passwords = yes socket options = TCP_NODELAY dns proxy = no [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writeable = no printable = yes [Oki] printable = yes writable = yes valid users = k,m,r,f printer = lp path = /var/spool/lpd/printer1-ljetplus-a4-auto-300x300 public = yes Got SIGTERM: going down... [2000/06/26 14:47:37, 1] nmbd/nmbd.c:main(757) Netbios nameserver version 2.0.7 started. Copyright Andrew Tridgell 1994-1998 [2000/06/26 14:53:18, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(405) ***** Samba name server MAIL is now a local master browser for workgroup WORKGROUP on subnet 150.101.250.16 ***** this seems to be a indication of the problem - the above IP address is dynamically assigned from our ISP ***** [2000/06/26 14:53:18, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(405) ***** Samba name server MAIL is now a local master browser for workgroup WORKGROUP on subnet 10.0.0.1 ***** Thankx Marc ------------------ E-Mail: marcd@internode.on.net Date: 26-Jun-00 Time: 20:40:34 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message