Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2000 20:50:45 +0930 (CST)
From:      marcd@internode.on.net
To:        freebsd-questions@freebsd.org
Subject:   Slight OT samba problem
Message-ID:  <XFMail.000626205045.marcd@internode.on.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000626205045.marcd>