Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 21:33:43 -0800
From:      "mike" <mikenoc@mindspring.net>
To:        "Jonathan Chen" <jonathan.chen@itouch.co.nz>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Fw: Samba issues
Message-ID:  <004701c0b291$a928cf80$0200a8c0@mediaone.net>

next in thread | raw e-mail | index | archive | help
 ** With this error
Get_Hostbyname: Unknown host frogger.nuggie.net
> [2001/03/21 07:30:05, 0] lib/util_sock.c:open_socket_in(827)

Since I dont own the domain nuggie.net so frogger.nuggie.net obviosly will
be invalid should I add IP's for the host names of the machines somewhere ?


----- Original Message -----
From: "mike" <mikenoc@mindspring.net>
To: "Jonathan Chen" <jonathan.chen@itouch.co.nz>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Wednesday, March 21, 2001 9:18 PM
Subject: Re: Samba issues


> **  When I try and grep it looks like its not running
>
> frogger# ps ax | grep smbd
> 27726  p4  R+     0:00.00 grep smbd
> frogger#
>
>  *** Heres a copy of /var/log/log.smb
>
> [2001/03/21 07:22:38, 1] smbd/files.c:file_init(216)
>   file_init: Information only: requested 10000 open files, 1054 are
> available.
> [2001/03/21 07:22:38, 0] lib/util_sock.c:open_socket_in(827)
>   Get_Hostbyname: Unknown host frogger.nuggie.net
> [2001/03/21 07:30:04, 1] smbd/server.c:main(641)
>   smbd version 2.0.7 started.
>   Copyright Andrew Tridgell 1992-1998
> [2001/03/21 07:30:04, 1] smbd/files.c:file_init(216)
>   file_init: Information only: requested 10000 open files, 1054 are
> available.
> [2001/03/21 07:30:04, 0] lib/util_sock.c:open_socket_in(827)
>   Get_Hostbyname: Unknown host frogger.nuggie.net
> [2001/03/21 07:36:50, 1] smbd/server.c:main(641)
>   smbd version 2.0.7 started.
>   Copyright Andrew Tridgell 1992-1998
> [2001/03/21 07:36:50, 1] smbd/files.c:file_init(216)
>   file_init: Information only: requested 10000 open files, 1054 are
> available
>
>  **** Heres a copy of /var/log/log.nmb
>
> [2001/03/21 07:30:05, 0] lib/util_sock.c:open_socket_in(827)
>   Get_Hostbyname: Unknown host frogger.nuggie.net
> [2001/03/21 07:30:05, 0] lib/util_sock.c:open_socket_in(827)
>   Get_Hostbyname: Unknown host frogger.nuggie.net
> [2001/03/21 07:36:50, 1] nmbd/nmbd.c:main(757)
>   Netbios nameserver version 2.0.7 started.
>   Copyright Andrew Tridgell 1994-1998
> [2001/03/21 07:36:50, 0] lib/util_sock.c:open_socket_in(827)
>   Get_Hostbyname: Unknown host frogger.nuggie.net
> [2001/03/21 07:36:50, 0] lib/util_sock.c:open_socket_in(827)
>   Get_Hostbyname: Unknown host frogger.nuggie.net
> [2001/03/21 17:13:18, 1] nmbd/nmbd.c:main(757)
>   Netbios nameserver version 2.0.7 started.
>
>  *** It looks like it doesnt like frogger.nuggie.net. monkey is
> the computer name for the 98 machine. frogger is the computer name for the
> BSD machine. nuggie.net is the workgroup. Also when I was going threw the
> setup I named nuggie.net the domain on the BSD box. I put a copy of the
> samba config below.
>
>  I apprecaite youre help Jonathan :)
>
>  **** Here is a copy of some of the Samba config
>
> # workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
>    workgroup = nuggie.net
>
> # server string is the equivalent of the NT Description field
>    server string = Samba Server
>
> # This option is important for security. It allows you to restrict
> # connections to machines which are on your local network. The
> # following example restricts access to two C class networks and
> # the "loopback" interface. For more examples of the syntax see
> # the smb.conf man page
> ;   hosts allow = 192.168.1. 192.168.2. 127.
>
> # You may wish to use password encryption. Please read
> # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
> # Do not enable this option unless you have read those documents
> ;  encrypt passwords = yes
>
> # Using the following line enables you to customise your configuration
> # on a per machine basis. The %m gets replaced with the netbios name
> # of the machine that is connecting
> ;   include = /usr/local/etc/smb.conf.monkey
>
> # Most people will find that this option gives better performance.
> # See speed.txt and the manual pages for details
>    socket options = TCP_NODELAY
>
> # Configure Samba to use multiple interfaces
> # If you have multiple network interfaces then you must list them
>
> ;   interfaces = 192.168.12.2/24 192.168.13.2/24
> ;   interfaces = 192.168.0.2/24 192.168.0.1/24
> # Browser Control Options:
> # set local master to no if you don't want Samba to become a master
> # browser on your network. Otherwise the normal election rules apply
> ;   local master = no
>
> # OS Level determines the precedence of this server in master browser
> # elections. The default value should be reasonable
> # Preferred Master causes Samba to force a local browser election on
startup
> # and gives it a slightly higher chance of winning the election
> ;   preferred master = yes
>
> # Use only if you have an NT server on your network that has been
> # configured at install time to be a primary domain controller.
> #;   domain controller = <NT-Domain-Controller-SMBName>
>
> # Enable this if you want Samba to be a domain logon server for
> # Windows95 workstations.
> ;   domain logons = yes
>
> # if you enable domain logons then you may want a per-machine or
>
>
>
>
> ----- Original Message -----
> From: "Jonathan Chen" <jonathan.chen@itouch.co.nz>
> To: "mike" <mikenoc@mindspring.net>
> Cc: <freebsd-questions@FreeBSD.ORG>
> Sent: Wednesday, March 21, 2001 4:00 PM
> Subject: Re: Samba issues
>
>
> > On Wed, Mar 21, 2001 at 06:28:17PM -0800, mike wrote:
> > > I am having trouble getting Samba working.
> > > I am running 4.1.1 stable and trying to get
> > > samba working with 98. I got the latest version of Samba witch I
believe
> is 2.0.7 and
> > > edited the config file. I get the following error when running
smbstatus
> > > ****
> > >
> > > frogger# smbstatus
> > > Couldn't open status file /var/spool/lock/STATUS..LCK
> > > frogger#
> >
> > This happens if samba isn't running; possibly because you haven't
> > started it yet, or your config file has errors.
> >
> > >
> > > also when I try and run samba by doing a /usr/local/etc/rc.d/samba.sh
> > >
> > > . It wont let me do it unless I am root and it does change the prompt
> from frogger to Sambafrogger. So I dont know if I am close or not to
> > >
> > > get it working.
> >
> > Samba can only be started by root. Once it's running you should be
> > able to do a:
> >
> > # ps ax | grep smbd
> >     257  ??  Is     0:00.01 /usr/local/sbin/smbd -D
> >
> > (process-id may differ, of course)
> >
> > Check out /var/log/log.smb and /var/log/log.nmb for further details if
> > you have other problems.
> > --
> > Jonathan Chen <jonathan.chen@itouch.co.nz>
> > ------------------------------------------------------------------------
> > "We laugh in the face of danger, we drop icecubes down the vest of fear"
> >                                                  - Edmond Blackadder III
>


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?004701c0b291$a928cf80$0200a8c0>