rpms/nss_ldap/devel nss_ldap-257-slash.patch, NONE, 1.1 nss_ldap.spec, 1.83, 1.84

Nalin Somabhai Dahyabhai (nalin) fedora-extras-commits at redhat.com
Fri Aug 24 15:35:30 UTC 2007


Author: nalin

Update of /cvs/pkgs/rpms/nss_ldap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17953

Modified Files:
	nss_ldap.spec 
Added Files:
	nss_ldap-257-slash.patch 
Log Message:
- construct LDAP URIs correctly during DNS autoconfiguration (upstream #338)


nss_ldap-257-slash.patch:

--- NEW FILE nss_ldap-257-slash.patch ---
diff -up nss_ldap-257/dnsconfig.c nss_ldap-257/dnsconfig.c
--- nss_ldap-257/dnsconfig.c	2007-08-24 11:27:22.000000000 -0400
+++ nss_ldap-257/dnsconfig.c	2007-08-24 11:27:30.000000000 -0400
@@ -165,7 +165,7 @@ _nss_ldap_mergeconfigfromdns (ldap_confi
     {
       if (rr->type == T_SRV)
 	{
-	  snprintf (uribuf, sizeof(uribuf), "ldap%s:%s:%d",
+	  snprintf (uribuf, sizeof(uribuf), "ldap%s://%s:%d",
 	    (rr->u.srv->port == LDAPS_PORT) ? "s" : "",
 	    rr->u.srv->target,
 	    rr->u.srv->port);


Index: nss_ldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nss_ldap/devel/nss_ldap.spec,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- nss_ldap.spec	22 Aug 2007 19:49:19 -0000	1.83
+++ nss_ldap.spec	24 Aug 2007 15:34:58 -0000	1.84
@@ -2,7 +2,7 @@
 Summary: NSS library and PAM module for LDAP
 Name: nss_ldap
 Version: 257
-Release: 1
+Release: 2
 Source0: ftp://ftp.padl.com/pub/nss_ldap-%{version}.tar.gz
 Source1: ftp://ftp.padl.com/pub/pam_ldap-%{pam_ldap_version}.tar.gz
 Source3: nss_ldap.versions
@@ -20,6 +20,7 @@
 Patch7: pam_ldap-182-manpointer.patch
 Patch8: nss_ldap-254-soname.patch
 Patch9: nss_ldap-256-resolver.patch
+Patch10: nss_ldap-257-slash.patch
 
 URL: http://www.padl.com/
 License: LGPLv2+
@@ -63,6 +64,7 @@
 #%patch6 -p1 -b .over-recursion
 %patch8 -p1 -b .soname
 %patch9 -p1 -b .resolver
+%patch10 -p1 -b .slash
 autoreconf
 popd
 
@@ -183,9 +185,13 @@
 %doc pam_ldap-%{pam_ldap_version}/ldapns.schema
 
 %changelog
+* Fri Aug 24 2007 Nalin Dahyabhai <nalin at redhat.com> - 257-2
+- construct LDAP URIs correctly during DNS autoconfiguration (upstream #338)
+
 * Tue Aug 21 2007 Nalin Dahyabhai <nalin at redhat.com> - 257-1
 - update to nss_ldap 257
 - look harder when we're looking for symbols provided by the resolver library
+  (upstream #337)
 - clarify license (both under LGPLv2 or later)
 
 * Thu Jul 19 2007 Nalin Dahyabhai <nalin at redhat.com> - 256-1




More information about the fedora-extras-commits mailing list