diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2012-04-09 14:50:00 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2012-04-09 14:50:00 +0200 |
commit | 4e87f4a8b5673a6fcd453f094ccc6c387c8708a4 (patch) | |
tree | 6e3109b3528be7d7a597b88577f9b88a5820f3ed | |
parent | 5d82b429bb81be5932f51e7c10b8abb1bd38f86f (diff) |
increase buffer for pam_authz_search as suggested by Chris J Arges (r1643 from 0.8 branch)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.7@1648 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | nslcd/pam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/pam.c b/nslcd/pam.c index f7ef6a7..608512c 100644 --- a/nslcd/pam.c +++ b/nslcd/pam.c @@ -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 const char *autzsearch_var_get(const char *name,void *expander_attr) 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]; |