PATCH: security/pam_smb
Andrew Thompson
andy at fud.org.nz
Wed Sep 17 18:41:52 PDT 2003
Hi,
pam_smb is currently broken from when it was upgraded to 2.0.0.r5.
pamsmbd tries to read the conf file from /etc while the sample is
installed into $PREFIX/etc
The file files/patch-aa needs to be reinstated.
--- 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 *);
thanks,
Andrew
More information about the freebsd-ports
mailing list