From clsung@FreeBSD.csie.nctu.edu.tw  Tue Jul  4 09:41:14 2006
Return-Path: <clsung@FreeBSD.csie.nctu.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2826216A4DA
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>;
	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 <clsung@FreeBSD.org>
Reply-To: Cheng-Lung Sung <clsung@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] Handbook 25.9 make_smbpasswd is useless to mapping passwd 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         99768
>Category:       docs
>Synopsis:       [patch] Handbook 25.9 make_smbpasswd is useless to mapping passwd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 04 09:50:10 GMT 2006
>Closed-Date:    Fri Oct 13 09:36:24 GMT 2006
>Last-Modified:  Fri Oct 13 09:40:18 GMT 2006
>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
 	  <filename>/usr/local/private/smbpasswd</filename> file must
 	  be created to allow <application>Samba</application> 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:</para>
 
-	<screen>&prompt.root; <userinput>grep -v "^#" /etc/passwd | make_smbpasswd &gt; /usr/local/private/smbpasswd</userinput>
-&prompt.root; <userinput>chmod 600 /usr/local/private/smbpasswd</userinput></screen>
+	<screen>&prompt.root; <userinput>smbpasswd -a username</userinput></screen>
 
-	<para>Please see the <application>Samba</application>
-	  documentation for additional information about configuration
+	<para>Please see the
+	  <ulink 
+	  url="http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/">Official Samba HOWTO</ulink> 
+	  for additional information about configuration
 	  options.  With the basics outlined here, you should have
 	  everything you need to start running
 	  <application>Samba</application>.</para>

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Oct 13 09:18:20 UTC 2006 
Responsible-Changed-Why:  
I will work on this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99768 
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Fri Oct 13 09:35:51 UTC 2006 
State-Changed-Why:  
I Committed the patch, thanks for the update! 
You will see it within a couple of hours. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99768 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/99768: commit references a PR
Date: Fri, 13 Oct 2006 09:35:37 +0000 (UTC)

 remko       2006-10-13 09:35:31 UTC
 
   FreeBSD doc repository
 
   Modified files:
     en_US.ISO8859-1/books/handbook/network-servers chapter.sgml 
   Log:
   Correct the information for smbpasswd.
   
   PR:             docs/99768
   Submitted by:   clsung
   
   Revision  Changes    Path
   1.90      +6 -5      doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
