Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 00:52:29 -0400 (EDT)
From:      marcus@marcuscom.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28028: Fix pam_ldap's configuration file
Message-ID:  <200106110452.f5B4qTU21946@shumai.marcuscom.com>

next in thread | raw e-mail | index | archive | help

>Number:         28028
>Category:       ports
>Synopsis:       Fix pam_ldap's configuration file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 10 22:00:18 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Joe Marcus Clarke
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
MarcusCom
>Environment:
System: FreeBSD shumai.marcuscom.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sun May 6 01:46:59 EDT 2001 root@shumai.marcuscom.com:/usr/src/sys/compile/SHUMAI i386


	
>Description:
	Even with all of David and I's beating on this one, I still managed
to screw up the location of the configuration file.  The config should be 
in ${PREFIX}/etc, and not ${PREFIX}/etc/pam_ldap (as David said, no need
to waste inodes).  The attached patches will clear things up.
>How-To-Repeat:
	
>Fix:

--- Makefile.orig	Mon Jun 11 00:36:36 2001
+++ Makefile	Mon Jun 11 00:36:11 2001
@@ -33,8 +33,8 @@
 
 post-install:
 	@${ECHO} "================================================================================"
-	@${ECHO} "Copy/move/symlink ${PREFIX}/etc/pam_ldap/ldap.conf.dist to"
-	@${ECHO} "${PREFIX}/etc/pam_ldap/ldap.conf to be able to use it."
+	@${ECHO} "Copy/move/symlink ${PREFIX}/etc/ldap.conf.dist to"
+	@${ECHO} "${PREFIX}/etc/ldap.conf to be able to use it."
 	@${ECHO} "Add lines like the following to /etc/pam.conf"
 	@${ECHO} "to get things going:"
 	@${ECHO} ""

--- patch-ab.orig	Mon Jun 11 00:35:48 2001
+++ patch-ab	Mon Jun 11 00:35:56 2001
@@ -5,7 +5,7 @@
    /* configuration file location is configurable; default /etc/ldap.conf */
    if (configFile == NULL)
 -    configFile = "/etc/ldap.conf";
-+    configFile = "/usr/local/etc/pam_ldap/ldap.conf";
++    configFile = "/usr/local/etc/ldap.conf";
  
    fp = fopen (configFile, "r");
  
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106110452.f5B4qTU21946>