Bug 56994 - security/pam_smb can not read conf file
Summary: security/pam_smb can not read conf file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-19 10:40 UTC by Andrew Thompson
Modified: 2003-09-20 09:53 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!