adminutil.spec | 7 ++++++-
lib/libadmsslutil/admsslutil.c | 5 ++---
2 files changed, 8 insertions(+), 4 deletions(-)
New commits:
commit 535e11cb76ea84c29be14ca0417e5dff1f67fd53
Author: Mark Reynolds <mreynolds(a)redhat.com>
Date: Wed Jan 30 17:07:14 2013 -0500
Bump version to 1.1.8-3
diff --git a/adminutil.spec b/adminutil.spec
index d3b38f6..571d99d 100644
--- a/adminutil.spec
+++ b/adminutil.spec
@@ -7,7 +7,7 @@
Summary: Utility library for directory server administration
Name: adminutil
Version: 1.1.8
-Release: 1%{?dist}
+Release: 3%{?dist}
License: LGPLv2
URL:
http://directory.fedoraproject.org/wiki/AdminUtil
Group: Development/Libraries
@@ -84,6 +84,11 @@ that use %{name}.
%{_includedir}/libadmsslutil
%changelog
+* Wed Jan 30 2013 Mark Reynolds <mareynol(a)redhat.com> - 1.1.8-3
+- Errata Candiate 14430
+- Bump version to 1.1.8.3
+- Bug 856089 - Console logins fail intermittently
+
* Tue Mar 31 2009 Rich Megginson <rmeggins(a)redhat.com> - 1.1.8-1
- this is the 1.1.8 release
commit 8f16c4d6aaae69bbc377e056e6e28f41de1caa63
Author: Mark Reynolds <mreynolds(a)redhat.com>
Date: Wed Jan 30 16:05:45 2013 -0500
Ticket 497 - Console logins fail intermittenly
Bug Description: When there is a connection failure the admin server clears out
the "Users & Groups" data, and tries to rebuild it
binding as
the SIE entry from o=netscaperoot. This bind fails with an
error 53, and then we don't update the "Users &
Groups" info.
Fix Description: If we geti an autentication failure, don't close the connection
but
inext try to bind anonymously. There must be aci's in place to
allow
anonymous searches of the "cn=server group" entries.
https://fedorahosted.org/389/ticket/479
Reviewed by: richm(Thanks!)
diff --git a/lib/libadmsslutil/admsslutil.c b/lib/libadmsslutil/admsslutil.c
index 04a3fa8..6fa6c10 100644
--- a/lib/libadmsslutil/admsslutil.c
+++ b/lib/libadmsslutil/admsslutil.c
@@ -113,10 +113,9 @@ admldapBuildInfoSSL(AdmldapInfo info, int *errorcode)
case LDAP_INAPPROPRIATE_AUTH:
case LDAP_INVALID_CREDENTIALS:
case LDAP_INSUFFICIENT_ACCESS:
+ case LDAP_UNWILLING_TO_PERFORM:
/* authenticate failed: Should not continue */
- ldap_unbind(ld);
- *errorcode = ADMUTIL_LDAP_ERR;
- return 0;
+ break;
case LDAP_NO_SUCH_OBJECT:
case LDAP_ALIAS_PROBLEM:
case LDAP_INVALID_DN_SYNTAX: