From nobody@FreeBSD.org  Tue Nov  9 06:28:22 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8623816A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  9 Nov 2004 06:28:22 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 72EE543D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  9 Nov 2004 06:28:22 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iA96SM7C093556
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 9 Nov 2004 06:28:22 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id iA96SM6P093555;
	Tue, 9 Nov 2004 06:28:22 GMT
	(envelope-from nobody)
Message-Id: <200411090628.iA96SM6P093555@www.freebsd.org>
Date: Tue, 9 Nov 2004 06:28:22 GMT
From: bob frazier <bobf@mrp3.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Samba 'obey pam restrictions' causes PANIC in Samba 3
X-Send-Pr-Version: www-2.3

>Number:         73703
>Category:       ports
>Synopsis:       Samba 'obey pam restrictions' causes PANIC in Samba 3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 09 06:30:21 GMT 2004
>Closed-Date:    Sat Dec 11 12:19:36 GMT 2004
>Last-Modified:  Sat Dec 11 12:19:36 GMT 2004
>Originator:     bob frazier
>Release:        RELENG_5 (5.3-STABLE #1)
>Organization:
SFT Inc.
>Environment:
FreeBSD BSDServer.SFT.local 5.3-STABLE FreeBSD 5.3-STABLE #1: Tue Oct 26 20:13:16 PDT 2004     root@:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When attempting to use the latest Samba 3 port (3.0.7), following a portupgrade of all ports (using cvs tag RELEASE_5_3_0), I noticed that all users that had a login without a blank password were unable to list or access any shares.  Blank password users (such as a 'guest' type user without a password) worked ok.  Domain logins still worked properly.  Only access to the shares was affected.  When I commented out the "obey pam restrictions = yes" line in smb.conf, the problem went away.  Rebuilding the port via portupgrade -f (as well as 'make deinstall' / 'make reinstall'), restoring tdb's from backup, etc. had no effect.
>How-To-Repeat:
using FBSD RELENG_5, Samba 3.0.7 and latest ports
a) set up Samba 3 as a domain controller
b) add some shares and users
c) add the line "obey pam restrictions = yes" to the global section of smb.conf
d) attempt to list shares without a user (smbclient -U% -L localhost) and with a user (smbclient -U username -L localhost) where 'username' is a valid user with a password (and not 'root').
e) remove the line "obey pam restrictions = yes" from the global section of smb.conf
f) repeat step d.

>Fix:
remove the line "obey pam restrictions = yes" from the global section of smb.conf to work around the problem.

>Release-Note:
>Audit-Trail:

From: "Timur I. Bakeyev" <timur@gnu.org>
To: freebsd-gnats-submit@FreeBSD.org, bobf@mrp3.com
Cc:  
Subject: Re: ports/73703: Samba 'obey pam restrictions' causes PANIC in Samba
 3
Date: Mon, 22 Nov 2004 02:36:06 +0100

 Did the Samba coredumped? If so, can you provide stacktrace?
 
 Also, please try Samba 3.0.9 - it's possible, that the problem is fixed 
 already...
 
 With regards,
 Timur Bakeyev.
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Sat Dec 11 12:17:08 GMT 2004 
State-Changed-Why:  
Obsoleted. Samba port is 3.0.9 now. 

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