[pam_ldap] - actually fix #735375
Nalin Dahyabhai
nalin at fedoraproject.org
Thu Sep 15 23:10:59 UTC 2011
commit 6a31f6acb154d1cf700894a49c49c7597278ae9d
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date: Thu Sep 15 19:07:39 2011 -0400
- actually fix #735375
pam_ldap-185-dnsconfig.patch | 3 +--
pam_ldap.spec | 5 ++++-
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/pam_ldap-185-dnsconfig.patch b/pam_ldap-185-dnsconfig.patch
index 3cdd5cc..57ba645 100644
--- a/pam_ldap-185-dnsconfig.patch
+++ b/pam_ldap-185-dnsconfig.patch
@@ -52,7 +52,7 @@
AC_CACHE_CHECK(whether gethostbyname_r takes 6 arguments, xad_cv_gethostbyname_r_args, [
--- /dev/null 2004-10-19 17:45:17.794252000 -0400
+++ pam_ldap-176/dnsconfig.c 2004-10-28 17:32:36.915435096 -0400
-@@ -0,0 +1,217 @@
+@@ -0,0 +1,216 @@
+
+/* Copyright (C) 1997-2001 Luke Howard.
+ This file started off as part of the nss_ldap library.
@@ -187,7 +187,6 @@
+
+ /* only reinitialize variables we'll change here */
+ result->host = NULL;
-+ result->base = NULL;
+ result->port = LDAP_PORT;
+#ifdef LDAP_VERSION3
+ result->version = LDAP_VERSION3;
diff --git a/pam_ldap.spec b/pam_ldap.spec
index 74dc89d..78a4503 100644
--- a/pam_ldap.spec
+++ b/pam_ldap.spec
@@ -7,7 +7,7 @@
Summary: PAM module for LDAP
Name: pam_ldap
Version: 185
-Release: 11%{?dist}
+Release: 12%{?dist}
URL: http://www.padl.com/OSS/pam_ldap.html
License: LGPLv2+
Group: System Environment/Base
@@ -131,6 +131,9 @@ fi
%attr(0600,root,root) %ghost %config(noreplace) /etc/%{name}.secret
%changelog
+* Thu Sep 15 2011 Nalin Dahyabhai <nalin at redhat.com> 185-12
+- actually fix #735375
+
* Mon Sep 12 2011 Nalin Dahyabhai <nalin at redhat.com> 185-11
- don't overwrite an explicitly-configured search base when we're using DNS
to locate the server (#735375)
More information about the scm-commits
mailing list