Date: Mon, 3 May 2004 19:27:52 +0700 (NOVST) From: "Rashid N. Achilov" <shelton@sentry.granch.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/66201: Samba 3.0.3 don't show homedir share when smb.conf.username exists Message-ID: <200405031227.i43CRq6i064581@sentry.granch.ru> Resent-Message-ID: <200405031230.i43CUQmA094677@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 03 05:30:26 PDT 2004 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405031227.i43CRq6i064581>