summaryrefslogtreecommitdiff
path: root/nss/common.c
AgeCommit message (Collapse)Author
2014-10-04remove non-nslcd stuffLuke Shumaker
2013-02-27add missing include statement for NULL definitionArthur de Jong
2013-02-23define and export an _nss_ldap_version symbolArthur de Jong
2012-12-22update C coding style to a more commonly used styleArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-06-14implement a global symbol inside the NSS module to allow applications to ↵Arthur de Jong
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
2009-05-21refactor protocol reading and writing macros to the common directory, use ↵Arthur de Jong
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
2008-06-06increase write buffer size in nslcd to free up threads earlier and increase ↵Arthur de Jong
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
2008-05-16grow the read buffer maximum size to 2Mbyte to allow for groups with about ↵Arthur de Jong
150000 members maximum git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@736 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-04-26increase time out values because now nslcd will error out more quickly if ↵Arthur de Jong
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
2008-02-12implement resizable I/O buffers and tune buffer sizes to normal requestsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@630 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-02-01remove the nslcd2nss() function because it's not needed with the current ↵Arthur de Jong
protocol git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@597 ef36b2f9-881f-0410-afb5-c4e39611909c
2008-01-27when including stdint.h check if we actually have itArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@571 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-12-25remove NSLCD_RESULT_UNAVAIL because it's not needed anymore (the connection ↵Arthur de Jong
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
2007-09-23some small improvements to the code based on some source code checksArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@418 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-06-08implement our own stdio-like library that handles IO with a simple ↵Arthur de Jong
configurable timeout mechanism with buffering git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@272 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-03-04code improvements by making type casts explicit, flagging ignored return ↵Arthur de Jong
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
2007-01-09change license from GNU Library General Public License v.2 to GNU Lesser ↵Arthur de Jong
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
2006-12-08fix indentationArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@148 ef36b2f9-881f-0410-afb5-c4e39611909c
2006-11-27get rid of nslcd-client.{c,h} and move it to nss/common.{c,h}, this ensures ↵Arthur de Jong
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
2006-11-02rename some constants and switch to a more sane naming schemeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@56 ef36b2f9-881f-0410-afb5-c4e39611909c
2006-10-31make code consistent by adding headers, removing trailing whitespace and ↵Arthur de Jong
proper ifdefs for header files git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@37 ef36b2f9-881f-0410-afb5-c4e39611909c
2006-10-31clear up protocol macros while implementing getpwuid() and ↵Arthur de Jong
{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
2006-10-25add some basic minimal NSS code that can be generated from macrosArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@24 ef36b2f9-881f-0410-afb5-c4e39611909c