Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd
Commit message (Collapse)AuthorAgeFilesLines
* move dict into the common directoryArthur de Jong2007-06-114-225/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@279 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement our own stdio-like library that handles IO ↵Arthur de Jong2007-06-0918-92/+103
| | | | | | 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
* add some comments describing some problems that this ↵Arthur de Jong2007-06-011-0/+5
| | | | | | code may have git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@269 ef36b2f9-881f-0410-afb5-c4e39611909c
* code improvements by making type casts explicit, ↵Arthur de Jong2007-03-0415-116/+130
| | | | | | 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
* remove runtime checking for existance of ↵Arthur de Jong2007-03-021-10/+0
| | | | | | /lib/init/rw/libnss-ldap.bind_policy_soft git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@264 ef36b2f9-881f-0410-afb5-c4e39611909c
* do chmod on file descriptor instead of on file nameArthur de Jong2007-03-021-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@262 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
* add gcc attributes to some functions and parametersArthur de Jong2007-02-175-11/+26
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@250 ef36b2f9-881f-0410-afb5-c4e39611909c
* replace syslog calls to calls with our own logging moduleArthur de Jong2007-02-105-22/+12
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@240 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix list corruption bug in dict_put() and ignore setting ↵Arthur de Jong2007-02-041-3/+6
| | | | | | value to NULL git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@235 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't store const void * as value, just void *Arthur de Jong2007-02-042-7/+7
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@234 ef36b2f9-881f-0410-afb5-c4e39611909c
* declare old dict functions static as thay are only used ↵Arthur de Jong2007-02-012-165/+149
| | | | | | from within util.c git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@233 ef36b2f9-881f-0410-afb5-c4e39611909c
* trim trailing whitespaceArthur de Jong2007-02-012-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@232 ef36b2f9-881f-0410-afb5-c4e39611909c
* add new dictionary module and use it for the attribute ↵Arthur de Jong2007-02-018-99/+283
| | | | | | mapping stuff git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@231 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of xmalloc.[ch]Arthur de Jong2007-02-014-98/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@230 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove a const where it really wasn'tArthur de Jong2007-01-171-4/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@224 ef36b2f9-881f-0410-afb5-c4e39611909c
* move most config code into cfg.c, clean up dictornary ↵Arthur de Jong2007-01-176-1434/+1348
| | | | | | stuff in util.c and do some more smaller restructuring git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@223 ef36b2f9-881f-0410-afb5-c4e39611909c
* move name_list stuff to group.c as that is the only ↵Arthur de Jong2007-01-174-123/+90
| | | | | | place it's used at the moment git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@222 ef36b2f9-881f-0410-afb5-c4e39611909c
* replace __netgrent with mynetgrent removing the fields ↵Arthur de Jong2007-01-171-8/+5
| | | | | | that are not used git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@221 ef36b2f9-881f-0410-afb5-c4e39611909c
* first step to split out all configuration stuff into ↵Arthur de Jong2007-01-178-419/+443
| | | | | | separate file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@220 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of more code that would check if the socket was ↵Arthur de Jong2007-01-172-308/+5
| | | | | | changed from under us by our caller git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@219 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of rebinding-on-fork() logic as our threading ↵Arthur de Jong2007-01-171-184/+1
| | | | | | model is very predictable git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@218 ef36b2f9-881f-0410-afb5-c4e39611909c
* write a final result code of NSLCD_RESULT_NOTFOUND for ↵Arthur de Jong2007-01-101-0/+2
| | | | | | netgroup lookups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@217 ef36b2f9-881f-0410-afb5-c4e39611909c
* change license from GNU Library General Public License ↵Arthur de Jong2007-01-0929-203/+203
| | | | | | 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
* get rid of a few warningsArthur de Jong2006-12-301-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@207 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of debug() function and call log_log() insteadArthur de Jong2006-12-294-164/+129
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@205 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not allocate new memory with malloc() for each ↵Arthur de Jong2006-12-2712-59/+29
| | | | | | 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 rid of NSS_BUFSIZ, rename _nss_ldap_oc_check() to ↵Arthur de Jong2006-12-257-197/+152
| | | | | | has_objectclass(), redo _nss_ldap_escape_string() with simpler logic and slightly different signature and redid layout of some code git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@203 ef36b2f9-881f-0410-afb5-c4e39611909c
* make list of source files a little clearerArthur de Jong2006-12-221-4/+7
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@198 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename server directory to nslcdArthur de Jong2006-12-2131-0/+13054
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@196 ef36b2f9-881f-0410-afb5-c4e39611909c