From owner-freebsd-doc@FreeBSD.ORG Tue Jul 4 09:50:11 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 910F116A4E7 for ; Tue, 4 Jul 2006 09:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81D1743D53 for ; Tue, 4 Jul 2006 09:50:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k649oA3O079691 for ; Tue, 4 Jul 2006 09:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k649oAVQ079690; Tue, 4 Jul 2006 09:50:10 GMT (envelope-from gnats) Resent-Date: Tue, 4 Jul 2006 09:50:10 GMT Resent-Message-Id: <200607040950.k649oAVQ079690@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cheng-Lung Sung Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2826216A4DA for ; Tue, 4 Jul 2006 09:41:14 +0000 (UTC) (envelope-from clsung@FreeBSD.csie.nctu.edu.tw) Received: from FreeBSD.csie.nctu.edu.tw (freebsd.csie.nctu.edu.tw [140.113.17.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C7BA43D45 for ; Tue, 4 Jul 2006 09:41:13 +0000 (GMT) (envelope-from clsung@FreeBSD.csie.nctu.edu.tw) Received: from localhost (localhost.csie.nctu.edu.tw [127.0.0.1]) by FreeBSD.csie.nctu.edu.tw (Postfix) with ESMTP id EF0A97E915 for ; Tue, 4 Jul 2006 17:42:50 +0800 (CST) Received: from FreeBSD.csie.nctu.edu.tw ([127.0.0.1]) by localhost (FreeBSD.csie.nctu.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B66XUWSVGv6I for ; Tue, 4 Jul 2006 17:42:50 +0800 (CST) Received: by FreeBSD.csie.nctu.edu.tw (Postfix, from userid 1038) id 416787E93D; Tue, 4 Jul 2006 17:42:50 +0800 (CST) Message-Id: <20060704094250.416787E93D@FreeBSD.csie.nctu.edu.tw> Date: Tue, 4 Jul 2006 17:42:50 +0800 (CST) From: Cheng-Lung Sung To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/99768: [patch] Handbook 25.9 make_smbpasswd is useless to mapping passwd X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cheng-Lung Sung List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2006 09:50:11 -0000 >Number: 99768 >Category: docs >Synopsis: [patch] Handbook 25.9 make_smbpasswd is useless to mapping passwd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 04 09:50:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD.csie.nctu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #9: Thu May 11 14:31:45 CST 2006 root@FreeBSD.csie.nctu.edu.tw:/home/usr.obj/usr/src/sys/FREEBSD i386 >Description: - /etc/passwd contains fake passwd, and encrypted passwd can not be used for make_smbpasswd, too. - also point the document url. >How-To-Repeat: >Fix: Index: network-servers/chapter.sgml =================================================================== RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml,v retrieving revision 1.87 diff -u -r1.87 chapter.sgml --- network-servers/chapter.sgml 25 Jun 2006 07:08:13 -0000 1.87 +++ network-servers/chapter.sgml 4 Jul 2006 09:34:36 -0000 @@ -4455,15 +4455,16 @@ backend is used, the /usr/local/private/smbpasswd file must be created to allow Samba to - authenticate clients. If you would like to give all of + authenticate clients. If you would like to give your &unix; user accounts access from &windows; clients, use the following command: - &prompt.root; grep -v "^#" /etc/passwd | make_smbpasswd > /usr/local/private/smbpasswd -&prompt.root; chmod 600 /usr/local/private/smbpasswd + &prompt.root; smbpasswd -a username - Please see the Samba - documentation for additional information about configuration + Please see the + Official Samba HOWTO + for additional information about configuration options. With the basics outlined here, you should have everything you need to start running Samba. >Release-Note: >Audit-Trail: >Unformatted: