Subject: pkg/32269: samba 3-0.14a from pkgsrc does not hndle "hide special file" correct
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Charlie Root <root@nagler-company.com>
List: pkgsrc-bugs
Date: 12/08/2005 13:40:01
>Number:         32269
>Category:       pkg
>Synopsis:       samba 3-0.14a from pkgsrc does not hndle "hide special file" correct
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 08 13:40:00 +0000 2005
>Originator:     Wolfgang Stukenbrock
>Release:        NetBSD 2.1 (release)
>Organization:
DR. Nagler & Comapny GmbH
>Environment:
System: NetBSD s040 2.1 NetBSD 2.1 (NSW-MP-Server-Intel) #8: Tue Dec 6 13:01:55 CET 2005 wgstuken@s011:/export/netbsd-2.1/usr/src/sys/arch/i386/compile/NSW-MP-Server-Intel i386
Architecture: i386
Machine: i386
>Description:
	The samba (version 3.0.14a) distributed with NetBSD 2.1 release has a bug interpreting
	the flag "hide special files". If this flag is set only special files (such as block-devies etc.)
	can be accessed. All normal files an directoriies will be hidden.
>How-To-Repeat:
	Just set this flag an see what appens ...
	This problem needs to be send to the samba developent team too.,
>Fix:
	The problem seems to be located in the file "smbd/dir.c". Accetendly it has changed nearly completly
	agains samba version 3.0.10, where this flag was working correctly. (The version we are useing prio
	the last update of pkgsrc ...)
	I've not the time to completely understand the code. So I cannot decide if there is the wrong
	interpretion only at one place or at more thant one. The check happens at several places.
	Version 3.0.14a is not the actual version of samba. Perhaps if wourld be a sollution just to upgrade
	to a more recent stable version of samba in the pkgsrc dstribution.