Bug 56994

Summary: security/pam_smb can not read conf file
Product: Ports & Packages Reporter: Andrew Thompson <andy>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Andrew Thompson 2003-09-19 10:40:17 UTC
	When pam_smb was updated to 2.0.0.r5 the file 'files/patch-aa' was removed which is still needed. It patches the location of the conf file from /etc/pam_smb.conf to $PREFIX/etc/pam_smb.conf. Without it pam_smb will not read the correct file.

Fix: Reinstate the patch:




-#define CONFFILE "/etc/pam_smb.conf"
+#define CONFFILE "%%PREFIX%%/etc/pam_smb.conf"

 int smb_readpamconf(domain_list *);--4WTLXEHahEU0frMYViIA6dSSPjcH5JIhBqLkCTpCJVGFEcX5
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- pamsmbd/pam_read_conf.c.orig    Mon Dec 17 10:15:16 2001
+++ pamsmbd/pam_read_conf.c    Mon Dec 17 10:15:40 2001
@@ -25,7 +25,7 @@
 #include "constants.h"
 #include "cache.h"
Comment 1 Oliver Braun freebsd_committer freebsd_triage 2003-09-20 09:33:16 UTC
State Changed
From-To: open->closed

Committed, thanks!