Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2001 18:18:19 -0400
From:      Leonard Zettel <zettel@acm.org>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Simple? Samba problem
Message-ID:  <3AFF082B.B9D92BA3@acm.org>

next in thread | raw e-mail | index | archive | help
OK, this clueless newbie is totally lost.
I have two (2) local machines, one which for purposes of this
discussion runs freeBSD, the other of which will be a Win98 box
for the foreseeable future.  The immediate goal is to let the
Win box print to the laserjet on the freeBSD box.

So far, I take the following from 
/var/log/samba/log.smb to indicate I am missing something:
[2001/05/13 17:05:29, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 10000 open files, 1054 are available.
[2001/05/13 17:05:29, 0] lib/util_sock.c:open_socket_in(827)
  Get_Hostbyname: Unknown host Oz

/etc/conf is as follows:
# /etc/rc.conf
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# Enable network daemons for user convenience.
# -- sysinstall generated deltas -- #
moused_port="/dev/psm0"
moused_flags="-3"
#------------------------------------------------
# Line below removed by Len Zettel April 14, 2001
#ifconfig_dc0="DHCP"
#------------------------------------------------
#-----------------------------------------------------------------------
# line below changed by Len Zettel March 8, 2001
# hostname="Narnia"
hostname="Oz"
#-----------------------------------------------------------------------
linux_enable="YES"
sendmail_enable="YES"
moused_type="auto"
moused_enable="YES"
ipv6_enable="YES"
sshd_enable="YES"
portmap_enable="YES"
nfs_client_enable="YES"
inetd_enable="YES"
usbd_enable="YES"
#---------------------------------------------------
# Line below added by Len Zettel March 2, 2001
# following the directions in 
# www.freebsd.org/handbook/printing-intro-setup.html
# 9.3.1.4.7 Turn on lpd
#----------------------------------------------------
lpd_enable="YES"
#----------------------------------------------------
    (end of file)

/usr/local/etc/smb.conf is
#/usr/local/etc/smb.conf
# Created by Len Zettel 4/8/01
#
# Lines below per Special Edition Using Samba pp 69-70
#
[global]
     workgroup      = sambanet
#    server string  = Samba server
# Line below changed by Len Zettel 5/13/01
#    server string  = Oz
     server string  = Oz.
     guest account  = pcguest
     log file       = /var/log/samba/log.%m
     password level = 8
# Line below added 4/11/01 by Len Zettel per
# httP;//us2.samba.org/samba/docs/DIAGNOSIS.html
     dns proxy      = no     
[homes]
     comment    = Home Directories
     browseable = no
     writeable  = yes

[public]
     comment   = Public share
     path      = /home/samba
     browsable = yes
     writeable = yes
(end of file)

BTW, hostname returns "Oz" (without quotes).

So what am I missing?  What is the minimum I can do to get
samba running?  Is there anything else that is so downright
stupid I will have grief later?

thanks
 -LenZ-

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?3AFF082B.B9D92BA3>