From shelton@sentry.granch.ru  Mon May  3 05:27:57 2004
Return-Path: <shelton@sentry.granch.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BCD4C16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 May 2004 05:27:57 -0700 (PDT)
Received: from sentry.granch.ru (sentry.granch.ru [212.20.5.55])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EA4AF43D3F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 May 2004 05:27:55 -0700 (PDT)
	(envelope-from shelton@sentry.granch.ru)
Received: from sentry.granch.ru (IDENT:1000@localhost.granch.ru [127.0.0.1])
	by sentry.granch.ru (8.12.11/8.12.11) with ESMTP id i43CRq33064582
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 3 May 2004 19:27:52 +0700 (NOVST)
	(envelope-from shelton@sentry.granch.ru)
Received: (from shelton@localhost)
	by sentry.granch.ru (8.12.11/8.12.11/Submit) id i43CRq6i064581;
	Mon, 3 May 2004 19:27:52 +0700 (NOVST)
	(envelope-from shelton)
Message-Id: <200405031227.i43CRq6i064581@sentry.granch.ru>
Date: Mon, 3 May 2004 19:27:52 +0700 (NOVST)
From: "Rashid N. Achilov" <shelton@sentry.granch.ru>
Reply-To: "Rashid N. Achilov" <shelton@sentry.granch.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Samba 3.0.3 don't show homedir share when smb.conf.username exists
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         66201
>Category:       ports
>Synopsis:       Samba 3.0.3 don't show homedir share when smb.conf.username exists
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 03 05:30:26 PDT 2004
>Closed-Date:    Sun May 09 12:14:26 PDT 2004
>Last-Modified:  Sun May 09 12:14:26 PDT 2004
>Originator:     Rashid N. Achilov
>Release:        FreeBSD 4.10-PRERELEASE i386
>Organization:
Granch Ltd.
>Environment:
System: FreeBSD sentry.granch.ru 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #10: Sat Apr 24 10:59:10 NOVST 2004 shelton@sentry.granch.ru:/usr/src/sys/compile/Sentry i386
>Description:
There are a bunch of bugs: passdb.tdb doesn't create automatically, when
hide unreadable = yes, access denied to directory with permissions 0700 and
user is not in admin users = ... list, and MOSTLY BUG -
when exist smb.conf.username cannot see username in shares list as home directory
>How-To-Repeat:
1. Install Samba, select passdb backend = tdbsam, set debug = 10, try to use,
check on "Failed to open TDB database..." in logs, see passdb.tdb with zero
length
2. Set hide unreadable = yes, delete smb.conf.username, when exists, create
directory with permissions 0700 and login from another Samba/Windows as
user username - you'll cannot see created directory
3. Add include file = .../smb.conf.%U in smb.conf and create smb.conf.username
(even zero length), login s user username - you'll cannot see username in shares
list (as home directory). Delete smb.conf.username and restart Samba - now you'll
see it.
>Fix:
hide unreadable = no
rm -f smb.conf.*
tdbtool for manually creating TDB files
pkg_delete Samba-3.0.3 and install Samba-2.2.8a :-)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun May 9 12:12:55 PDT 2004 
State-Changed-Why:  
1. This is expected behaviour 
2.+3. These are not FreeBSD specific. Please report these issues 
to Samba developers. Also note that 3.0.x is still "development" 
version of Samba and authors suggest 2.2.8 for general use. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66201 
>Unformatted:
