Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2003 13:41:46 +1200
From:      Andrew Thompson <andy@fud.org.nz>
To:        obraun@freebsd.org
Cc:        ports@freebsd.org
Subject:   PATCH: security/pam_smb
Message-ID:  <03Sep18.013947nzst.336018@homer.fire.org.nz>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03Sep18.013947nzst.336018>