~ubuntu-branches/ubuntu/wily/nss-pam-ldapd/wily

« back to all changes in this revision

Viewing changes to nslcd/protocol.c

  • Committer: Package Import Robot
  • Author(s): Arthur de Jong
  • Date: 2013-05-05 20:00:00 UTC
  • mfrom: (16.1.6) (14.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20130505200000-nhg39y204kr141mz
Tags: 0.8.13-1
* New upstream release
  - include an extra sanity check to ensure not too many file
    descriptors are open
  - fix handling of gid configuration option if it listed before the uid
    option
  - return NSS_STATUS_TRYAGAIN on zero-length (but not-NULL) buffer (thanks
    Jakub Hrozek)
  - provide an _nss_ldap_version symbol in the NSS module to help debug
    problems with a newer nslcd
  - retry updating the lastChange attribute with the normal nslcd LDAP
    connection if the update with the user's connection failed
  - avoid processing passwd_byuid requests for uids below nss_min_uid
  - fix a few minor or very unlikely to occur memory leaks
  - miscellaneous minor changes, fixes and compatibility improvements
* drop 01-fix-set-usec-instead-of-sec.patch which is part of 0.8.13
* remove compatibility code that converted nss-ldapd.conf to nslcd.conf
  for upgrading from pre-0.7 versions of nss-ldapd (thanks Dominik George)
* remove code for fixing permissions when upgrading from a pre-0.6.7.1
  version
* updated Turkish debconf translation by Atila KOÇ (closes: #701067)
* drop Richard A Nelson from uploaders
* add build dependency on autotools-dev to ensure config.sub and
  config.guess are automatically updated during build

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <stdio.h>
29
29
#include <stdlib.h>
30
30
#include <string.h>
 
31
#ifdef HAVE_STDINT_H
31
32
#include <stdint.h>
 
33
#endif /* HAVE_STDINT_H */
32
34
 
33
35
#include "common.h"
34
36
#include "log.h"
170
172
NSLCD_HANDLE(
171
173
  protocol,byname,
172
174
  char name[256];
173
 
  char filter[1024];
 
175
  char filter[4096];
174
176
  READ_STRING(fp,name);
175
177
  log_setrequest("protocol=\"%s\"",name);,
176
178
  NSLCD_ACTION_PROTOCOL_BYNAME,
181
183
NSLCD_HANDLE(
182
184
  protocol,bynumber,
183
185
  int protocol;
184
 
  char filter[1024];
 
186
  char filter[4096];
185
187
  READ_INT32(fp,protocol);
186
188
  log_setrequest("protocol=%d",protocol);,
187
189
  NSLCD_ACTION_PROTOCOL_BYNUMBER,