Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2001 20:12:05 +1000
From:      chris@aims.com.au
To:        <FreeBSD-gnats-submit@freebsd.org>
Subject:   ports/29120: [PATCH] net/radiusd-cistron: Add PAM support
Message-ID:  <200107211007.f6LA7sv93556@dbserver1.aims.private>

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

>Number:         29120
>Category:       ports
>Synopsis:       [PATCH] net/radiusd-cistron: Add PAM support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 21 03:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chris Knight
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
AIMS Independent Computer Professionals
>Environment:
System: FreeBSD dbserver1.aims.private 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Tue Apr 24 16:52:12 EST 2001
root@dbserver1.aims.private:/usr/obj/usr/src/sys/DBSERVER i386


>Description:
	radiusd-cistron doesn't enable PAM by default, and I couldn't be
	bothered installing and configuring another RADIUS server to get to
	my LDAP database. I've found the following entries in /etc/pam.conf
	to work with security/pam_ldap:

radius	auth	required	/usr/local/lib/pam_ldap.so	try_first_pass
radius	account	required	/usr/local/lib/pam_ldap.so	try_first_pass

>How-To-Repeat:
	N/A

>Fix:

	Replace patch-aa with the following:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/net/radiusd-cistron/files/patch-aa
#
echo x - /usr/ports/net/radiusd-cistron/files/patch-aa
sed 's/^X//' >/usr/ports/net/radiusd-cistron/files/patch-aa << 'END-of-/usr/ports/net/radiusd-cistron/files/patch-aa'
X--- src/Makefile.BSD.orig	Sun Sep 19 08:10:41 1999
X+++ src/Makefile.BSD	Sat Jul 21 18:48:00 2001
X@@ -3,19 +3,19 @@
X #
X #
X
X-CC	= gcc
X-CFLAGS	= -Wall -g -DNOSHADOW
X-LDFLAGS	= # -s #tatic
X+#CC	= gcc
X+CFLAGS	+= -DNOSHADOW -DPREFIX=\"$(PREFIX)\"
X+LDFLAGS	= -s #tatic
X LIBS	=
X LCRYPT	= -lcrypt
X
X DBM     = -DNDBM
X DBMLIB  = #-ldb
X
X-#PAM	= -DPAM
X-#PAMLIB	= -lpam
X+PAM	= -DPAM
X+PAMLIB	= -lpam
X
X-BINDIR  = /usr/local/bin
X-SBINDIR = /usr/local/sbin
X+BINDIR  = $(PREFIX)/bin
X+SBINDIR = $(PREFIX)/sbin
X
X .include "Make.inc"
END-of-/usr/ports/net/radiusd-cistron/files/patch-aa
exit


>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?200107211007.f6LA7sv93556>