Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd-common.h
Commit message (Collapse)AuthorAgeFilesLines
* fix buffer size debug messageArthur de Jong2008-02-011-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@602 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
* get rid of some old code and rename ldap-nss to myldap ↵Arthur de Jong2007-12-091-20/+1
| | | | | | since there is no more NSS-related code in there git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@489 ef36b2f9-881f-0410-afb5-c4e39611909c
* switch to new LDAP entry parsing code that is much ↵Arthur de Jong2007-12-091-0/+18
| | | | | | simpler and more readable git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@488 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement our own stdio-like library that handles IO ↵Arthur de Jong2007-06-091-10/+9
| | | | | | 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
* fix a few bugs found thanks to the new warningsArthur de Jong2007-02-171-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@251 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
* if the string to write is NULL, write an empty stringArthur de Jong2006-12-311-3/+10
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@210 ef36b2f9-881f-0410-afb5-c4e39611909c
* ensure that all arrays that are allocated in the buffer ↵Arthur de Jong2006-12-311-0/+11
| | | | | | are now aligned to the pointer size git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@209 ef36b2f9-881f-0410-afb5-c4e39611909c
* extract some more common macrosArthur de Jong2006-12-311-8/+30
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@208 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not allocate new memory with malloc() for each ↵Arthur de Jong2006-12-271-15/+16
| | | | | | request with a string parameter but use a buffer allocated on the stack instead (this simplifies free()-ing the buffer(s) in case of problems) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@204 ef36b2f9-881f-0410-afb5-c4e39611909c
* get as many files from the root directory as possible, ↵Arthur de Jong2006-11-281-3/+0
| | | | | | moving all server related code to the server directory and moving and splitting the test code to the tests directory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@131 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement more detailed protocol logging (dumping the ↵Arthur de Jong2006-11-281-9/+32
| | | | | | actual byte values read and written) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@128 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix bug that always causes a READ_STRING_ALLOC to read ↵Arthur de Jong2006-11-251-3/+3
| | | | | | to a variable called name git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@122 ef36b2f9-881f-0410-afb5-c4e39611909c
* include stdio for definitions of fread(), fwrite() etcArthur de Jong2006-11-251-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@116 ef36b2f9-881f-0410-afb5-c4e39611909c
* make protocol logging a little more readable and do not ↵Arthur de Jong2006-11-241-22/+31
| | | | | | use fseek() in streams because that is not supported git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@113 ef36b2f9-881f-0410-afb5-c4e39611909c
* add more verbose protocol logging, including logging of ↵Arthur de Jong2006-11-191-15/+39
| | | | | | errors git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@102 ef36b2f9-881f-0410-afb5-c4e39611909c
* add proper copyright headersArthur de Jong2006-11-061-2/+22
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@74 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove testing stuffArthur de Jong2006-11-051-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@72 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix some variable usage bugs in READ_* marcos and change ↵Arthur de Jong2006-11-051-18/+16
| | | | | | protocol debugging marcos to not use variadic arguments git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@71 ef36b2f9-881f-0410-afb5-c4e39611909c
* make SKIP more consistent with READArthur de Jong2006-11-031-1/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@68 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix bogus reuse of tmpint32, introducing tmp3int32Arthur de Jong2006-11-031-9/+10
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@66 ef36b2f9-881f-0410-afb5-c4e39611909c
* split buffer management macros into separate macrosArthur de Jong2006-11-031-15/+26
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@65 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename LOOP to STRINGLIST as that is currently the only ↵Arthur de Jong2006-11-031-5/+26
| | | | | | supported format git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@64 ef36b2f9-881f-0410-afb5-c4e39611909c
* add _nss_ldap_initgroups_dyn() functionArthur de Jong2006-11-031-2/+19
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@63 ef36b2f9-881f-0410-afb5-c4e39611909c
* make loop macros common, create macros for expanding ↵Arthur de Jong2006-11-031-0/+34
| | | | | | {set,get,end}ent() functions and implement {set,get,end}aliasent git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@62 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not try to read and write zero length strings and add ↵Arthur de Jong2006-11-011-7/+26
| | | | | | protocol debugging option git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@40 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement reading of alias information through ↵Arthur de Jong2006-10-311-1/+1
| | | | | | getaliasbyname() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@38 ef36b2f9-881f-0410-afb5-c4e39611909c
* add header file defining read and write macrosArthur de Jong2006-10-311-0/+84
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@35 ef36b2f9-881f-0410-afb5-c4e39611909c