nss-pam-ldapd commit: r2085 - nss-pam-ldapd-0.8/nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r2085 - nss-pam-ldapd-0.8/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: r2085 - nss-pam-ldapd-0.8/nslcd
- Date: Sun, 4 May 2014 15:02:44 +0200 (CEST)
Author: arthur
Date: Sun May 4 15:02:43 2014
New Revision: 2085
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=2085&view=revision
Log:
grow DN buffer size (f987891 from 0.9)
Modified:
nss-pam-ldapd-0.8/nslcd/group.c
nss-pam-ldapd-0.8/nslcd/myldap.c
Modified: nss-pam-ldapd-0.8/nslcd/group.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/group.c Sun May 4 14:54:26 2014 (r2084)
+++ nss-pam-ldapd-0.8/nslcd/group.c Sun May 4 15:02:43 2014 (r2085)
@@ -5,7 +5,7 @@
Copyright (C) 1997-2006 Luke Howard
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arthur de Jong
+ Copyright (C) 2006-2014 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -122,9 +122,9 @@
const char *uid,
char *buffer,size_t buflen)
{
- char dn[256];
+ char dn[512];
char safeuid[300];
- char safedn[300];
+ char safedn[600];
/* escape attribute */
if(myldap_escape(uid,safeuid,sizeof(safeuid)))
return -1;
Modified: nss-pam-ldapd-0.8/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/myldap.c Sun May 4 14:54:26 2014 (r2084)
+++ nss-pam-ldapd-0.8/nslcd/myldap.c Sun May 4 15:02:43 2014 (r2085)
@@ -86,7 +86,7 @@
/* the connection */
LDAP *ld;
/* the username to bind with */
- char binddn[256];
+ char binddn[512];
/* the password to bind with if any */
char bindpw[128];
/* timestamp of last activity */
--
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: r2085 - nss-pam-ldapd-0.8/nslcd,
Commits of the nss-pam-ldapd project