Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/common.c
Commit message (Collapse)AuthorAgeFilesLines
* define and export an _nss_ldap_version symbol (3155cdf ↵Arthur de Jong2013-04-281-1/+8
| | | | | | and 11283a5 from 0.9) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1945 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a global symbol inside the NSS module to allow ↵Arthur de Jong2010-06-141-0/+22
| | | | | | applications to disable NSS lookups over LDAP and use it in nslcd to avoid deadlocks git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1141 ef36b2f9-881f-0410-afb5-c4e39611909c
* refactor protocol reading and writing macros to the ↵Arthur de Jong2009-05-211-91/+0
| | | | | | common directory, use more logical names and in the PAM module no longer use NSS status codes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@887 ef36b2f9-881f-0410-afb5-c4e39611909c
* increase write buffer size in nslcd to free up threads ↵Arthur de Jong2008-06-061-2/+8
| | | | | | earlier and increase timeout for nslcd to nss communication to one minute (at both places) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@743 ef36b2f9-881f-0410-afb5-c4e39611909c
* grow the read buffer maximum size to 2Mbyte to allow for ↵Arthur de Jong2008-05-161-1/+1
| | | | | | groups with about 150000 members maximum git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@736 ef36b2f9-881f-0410-afb5-c4e39611909c
* increase time out values because now nslcd will error ↵Arthur de Jong2008-04-261-3/+3
| | | | | | out more quickly if the LDAP server is known to be unavailable git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@708 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement resizable I/O buffers and tune buffer sizes to ↵Arthur de Jong2008-02-121-1/+9
| | | | | | normal requests git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@630 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove the nslcd2nss() function because it's not needed ↵Arthur de Jong2008-02-011-12/+0
| | | | | | with the current protocol git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@597 ef36b2f9-881f-0410-afb5-c4e39611909c
* when including stdint.h check if we actually have itArthur de Jong2008-01-271-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@571 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove NSLCD_RESULT_UNAVAIL because it's not needed ↵Arthur de Jong2007-12-251-2/+1
| | | | | | anymore (the connection is broken when an error occurs) and rename NSLCD_RESULT_NOTFOUND into NSLCD_RESULT_END to better match its meaning git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@530 ef36b2f9-881f-0410-afb5-c4e39611909c
* some small improvements to the code based on some source ↵Arthur de Jong2007-09-231-1/+4
| | | | | | code checks git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@418 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement our own stdio-like library that handles IO ↵Arthur de Jong2007-06-091-4/+11
| | | | | | with a simple configurable timeout mechanism with buffering git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@272 ef36b2f9-881f-0410-afb5-c4e39611909c
* code improvements by making type casts explicit, ↵Arthur de Jong2007-03-041-4/+4
| | | | | | flagging ignored return values, renames and flagging of parameters and some miscelanious improvements (thanks to gcc warnings, splint, rats and flawfinder) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@265 ef36b2f9-881f-0410-afb5-c4e39611909c
* change license from GNU Library General Public License ↵Arthur de Jong2007-01-091-7/+7
| | | | | | v.2 to GNU Lesser General Public License v.2.1 with permission from Luke Howard git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@215 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix indentationArthur de Jong2006-12-081-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@148 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of nslcd-client.{c,h} and move it to ↵Arthur de Jong2006-11-271-0/+37
| | | | | | nss/common.{c,h}, this ensures that all code that is needed for the nss part is in the nss directory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@127 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename some constants and switch to a more sane naming ↵Arthur de Jong2006-11-021-3/+3
| | | | | | scheme git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@56 ef36b2f9-881f-0410-afb5-c4e39611909c
* make code consistent by adding headers, removing ↵Arthur de Jong2006-10-311-2/+24
| | | | | | trailing whitespace and proper ifdefs for header files git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@37 ef36b2f9-881f-0410-afb5-c4e39611909c
* clear up protocol macros while implementing getpwuid() ↵Arthur de Jong2006-10-311-1/+0
| | | | | | and {set,get,end}pwent() functions (last not yet on NSS side) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@34 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some basic minimal NSS code that can be generated ↵Arthur de Jong2006-10-251-0/+20
from macros git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@24 ef36b2f9-881f-0410-afb5-c4e39611909c