From owner-freebsd-questions Sun May 13 15:18:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bakabaka.bignet.net (bakabaka.bignet.net [64.79.64.12]) by hub.freebsd.org (Postfix) with ESMTP id A4EF437B42C for ; Sun, 13 May 2001 15:18:41 -0700 (PDT) (envelope-from zettel@acm.org) Received: from acm.org (host171.64-79-90.bignet.net [64.79.90.171]) by bakabaka.bignet.net (8.9.3/8.9.3) with ESMTP id SAA03107 for ; Sun, 13 May 2001 18:18:35 -0400 Message-ID: <3AFF082B.B9D92BA3@acm.org> Date: Sun, 13 May 2001 18:18:19 -0400 From: Leonard Zettel X-Mailer: Mozilla 4.75 [en] (Win95; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: Simple? Samba problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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