lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1648 - nss-pam-ldapd-0.7/nslcd

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1648 - nss-pam-ldapd-0.7/nslcd



Author: arthur
Date: Mon Apr  9 14:50:00 2012
New Revision: 1648
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1648&view=revision

Log:
increase buffer for pam_authz_search as suggested by Chris J Arges (r1643 from 
0.8 branch)

Modified:
   nss-pam-ldapd-0.7/nslcd/pam.c

Modified: nss-pam-ldapd-0.7/nslcd/pam.c
==============================================================================
--- nss-pam-ldapd-0.7/nslcd/pam.c       Mon Mar 26 21:37:22 2012        (r1647)
+++ nss-pam-ldapd-0.7/nslcd/pam.c       Mon Apr  9 14:50:00 2012        (r1648)
@@ -2,7 +2,7 @@
    pam.c - pam processing routines
 
    Copyright (C) 2009 Howard Chu
-   Copyright (C) 2009, 2010 Arthur de Jong
+   Copyright (C) 2009, 2010, 2012 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
@@ -230,7 +230,7 @@
 
 static int try_autzsearch(MYLDAP_SESSION *session,DICT *dict,const char 
*searchfilter)
 {
-  char filter_buffer[1024];
+  char filter_buffer[4096];
   MYLDAP_SEARCH *search;
   MYLDAP_ENTRY *entry;
   static const char *attrs[2];
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/