ports/56994: security/pam_smb can not read conf file
Andrew Thompson
andy at fud.org.nz
Fri Sep 19 09:40:19 UTC 2003
>Number: 56994
>Category: ports
>Synopsis: security/pam_smb can not read conf file
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 19 02:40:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Andrew Thompson
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD grace.fud.org.nz 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Aug 26 23:57:50 NZST 2003 andy at grace.fud.org.nz:/usr/obj/usr/src/sys/GRACE i386
>Description:
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.
>How-To-Repeat:
>Fix:
Reinstate the patch:
--- 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"
-#define CONFFILE "/etc/pam_smb.conf"
+#define CONFFILE "%%PREFIX%%/etc/pam_smb.conf"
int smb_readpamconf(domain_list *);
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list