ports/127822: [PATCH] security/sudo: add tuneable variable SUDO_LDAP_CONF

Sergey Skvortsov skv at FreeBSD.org
Fri Oct 3 15:30:04 UTC 2008

>Number:         127822
>Category:       ports
>Synopsis:       [PATCH] security/sudo: add tuneable variable SUDO_LDAP_CONF
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 03 15:30:03 UTC 2008
>Originator:     Sergey Skvortsov
>Release:        FreeBSD 7.1-PRERELEASE i386
System: FreeBSD vega.protey.ru 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Mon Sep  8 18:35:31 MSD

Variable SUDO_LDAP_CONF can be useful to allow "sudo" with LDAP and
"nss_ldap" use the same config file (ex., "nss_ldap.conf").

Note that SUDO_LDAP_CONF set only filename.

Maybe full path to file should be more adequate choice.


--- sudo- begins here ---
Index: Makefile
RCS file: /home/pcvs/ports/security/sudo/Makefile,v
retrieving revision 1.100
diff -u -u -r1.100 Makefile
--- Makefile	21 Aug 2008 06:18:21 -0000	1.100
+++ Makefile	3 Oct 2008 15:14:27 -0000
@@ -52,7 +52,8 @@
 .if defined(WITH_LDAP)
+SUDO_LDAP_CONF?=	ldap.conf
 PLIST_SUB=	LDAP="@comment "
--- sudo- ends here ---


More information about the freebsd-ports-bugs mailing list