nss-pam-ldapd commit: r1522 - in nss-pam-ldapd: . nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1522 - in nss-pam-ldapd: . nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1522 - in nss-pam-ldapd: . nslcd
- Date: Sat, 27 Aug 2011 17:08:41 +0200 (CEST)
Author: arthur
Date: Sat Aug 27 17:08:40 2011
New Revision: 1522
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1522
Log:
pass a statically allocated callback structure to OpenLDAP because it doesn't
make it's own copy (thanks Jakub Hrozek)
Modified:
nss-pam-ldapd/AUTHORS
nss-pam-ldapd/nslcd/myldap.c
Modified: nss-pam-ldapd/AUTHORS
==============================================================================
--- nss-pam-ldapd/AUTHORS Sat Aug 27 16:48:18 2011 (r1521)
+++ nss-pam-ldapd/AUTHORS Sat Aug 27 17:08:40 2011 (r1522)
@@ -110,3 +110,4 @@
Joe Hansen <joedalton2@yahoo.dk>
Denis Doria <denisdoria@gmail.com>
James M. Leddy <james.leddy@redhat.com>
+Jakub Hrozek <jhrozek@redhat.com>
Modified: nss-pam-ldapd/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd/nslcd/myldap.c Sat Aug 27 16:48:18 2011 (r1521)
+++ nss-pam-ldapd/nslcd/myldap.c Sat Aug 27 17:08:40 2011 (r1522)
@@ -538,7 +538,8 @@
int rc;
struct timeval tv;
#ifdef LDAP_OPT_CONNECT_CB
- struct ldap_conncb cb;
+ /* make this static because OpenLDAP doesn't make it's own copy */
+ static struct ldap_conncb cb;
#endif /* LDAP_OPT_CONNECT_CB */
#ifdef LDAP_OPT_X_TLS
int i;
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1522 - in nss-pam-ldapd: . nslcd,
Commits of the nss-pam-ldapd project