Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* do not pass useless errnos around because they aren't ↵Arthur de Jong2007-09-1513-105/+43
| | | | | | used anymore git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@404 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove unused includeArthur de Jong2007-09-151-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@403 ef36b2f9-881f-0410-afb5-c4e39611909c
* some type fixes and logic simplificationsArthur de Jong2007-09-151-54/+45
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@402 ef36b2f9-881f-0410-afb5-c4e39611909c
* minor code improvementsArthur de Jong2007-09-151-12/+14
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@401 ef36b2f9-881f-0410-afb5-c4e39611909c
* move the two remaining useful functions from util.c to ↵Arthur de Jong2007-09-1517-575/+218
| | | | | | ldap-nss.c git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@400 ef36b2f9-881f-0410-afb5-c4e39611909c
* move _nss_ldap_dn2uid() from util.c to group.cArthur de Jong2007-09-143-56/+39
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@399 ef36b2f9-881f-0410-afb5-c4e39611909c
* add note about free()ing the returned value and add loggingArthur de Jong2007-09-142-0/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@398 ef36b2f9-881f-0410-afb5-c4e39611909c
* move user2dn() from group.c to passwd_username2dn() in ↵Arthur de Jong2007-09-143-23/+20
| | | | | | passwd.c git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@397 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not flush streams: our caller closes the streams ↵Arthur de Jong2007-09-1410-29/+0
| | | | | | flusing them git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@396 ef36b2f9-881f-0410-afb5-c4e39611909c
* make use of write_*ent() functions consistentArthur de Jong2007-09-149-123/+164
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@395 ef36b2f9-881f-0410-afb5-c4e39611909c
* revert special casing for alias_byname() to other ↵Arthur de Jong2007-09-145-228/+28
| | | | | | functions and some logging strings simplifications git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@394 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove some more references to the old locked functionsArthur de Jong2007-09-141-7/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@393 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove mutex from all LDAP operations because we now ↵Arthur de Jong2007-09-1413-195/+50
| | | | | | have a session and a connection per thread git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@392 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of global session and instead pass the session ↵Arthur de Jong2007-09-1417-664/+558
| | | | | | as a parameter with every request and allocate a session per thread git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@391 ef36b2f9-881f-0410-afb5-c4e39611909c
* some code cleanup and fixes to the layoutArthur de Jong2007-09-121-1191/+606
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@390 ef36b2f9-881f-0410-afb5-c4e39611909c
* change naming of search functions to clearly indicate ↵Arthur de Jong2007-09-094-12/+14
| | | | | | whether the synchronous or the asynchronous interface is used git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@389 ef36b2f9-881f-0410-afb5-c4e39611909c
* some simplifications in the reconnect loging, removing ↵Arthur de Jong2007-09-094-270/+195
| | | | | | the undocumented nss_reconnect_maxconntries configfile option and some work to split out LDAP compatibility code to a separate file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@388 ef36b2f9-881f-0410-afb5-c4e39611909c
* move nss2nslcd() to ldap-nss.cArthur de Jong2007-09-083-23/+15
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@387 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename a function and a little bit of cleanupArthur de Jong2007-09-083-25/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@386 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix endless loop bugArthur de Jong2007-09-081-6/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@385 ef36b2f9-881f-0410-afb5-c4e39611909c
* move base and scope handling to database specific ↵Arthur de Jong2007-09-0818-415/+418
| | | | | | modules, gettting rid of ldap_service_search_descriptor git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@384 ef36b2f9-881f-0410-afb5-c4e39611909c
* move filters definitions to the database modules ↵Arthur de Jong2007-09-0817-364/+370
| | | | | | themselves (and already define base and scope but don't use them yet) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@383 ef36b2f9-881f-0410-afb5-c4e39611909c
* make handling of ent_context consistent and simplerArthur de Jong2007-09-0713-306/+184
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@382 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly initialize all contextsArthur de Jong2007-09-0710-10/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@381 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove struct ldap_args stuffArthur de Jong2007-09-071-55/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@380 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove last usage of struct ldap_args and add FIXMEArthur de Jong2007-09-071-5/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@379 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove the ldap-schema.[ch] files since this is now ↵Arthur de Jong2007-09-0717-234/+0
| | | | | | fully implemented in the database specific files git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@378 ef36b2f9-881f-0410-afb5-c4e39611909c
* also pass search filter for the *_all() functions from ↵Arthur de Jong2007-09-0714-500/+233
| | | | | | the database module instead of doing it in ldap-nss.c git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@377 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename attlst stuff to attrs since that is the name of ↵Arthur de Jong2007-09-0711-132/+132
| | | | | | the parameter that is passed git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@376 ef36b2f9-881f-0410-afb5-c4e39611909c
* move some of the filter code to the database specific ↵Arthur de Jong2007-09-0718-426/+653
| | | | | | modules to be able to reduce complexity of ldap-nss.c later on git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@375 ef36b2f9-881f-0410-afb5-c4e39611909c
* clean generated manual pages in maintainer-clean targetArthur de Jong2007-09-051-3/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@374 ef36b2f9-881f-0410-afb5-c4e39611909c
* include service name in attlst storage and functionsArthur de Jong2007-09-0311-132/+132
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@373 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove sigpipe handling code since sigpipe is ignored ↵Arthur de Jong2007-09-031-69/+2
| | | | | | throughout the program git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@372 ef36b2f9-881f-0410-afb5-c4e39611909c
* always ship docbook sources and generated manual pages ↵Arthur de Jong2007-08-271-2/+4
| | | | | | and always install manual pages (even without docbook2x-man) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@371 ef36b2f9-881f-0410-afb5-c4e39611909c
* upgrade to using automake 1.10Arthur de Jong2007-08-276-153/+399
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@370 ef36b2f9-881f-0410-afb5-c4e39611909c
* use AM_PROG_CC_C_O to have per-target compiler flagsArthur de Jong2007-08-271-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@369 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.3 release0.3Arthur de Jong2007-08-267-28/+429
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@366 ef36b2f9-881f-0410-afb5-c4e39611909c
* workaround for problems splint has in parsing system ↵Arthur de Jong2007-08-261-1/+2
| | | | | | header files git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@365 ef36b2f9-881f-0410-afb5-c4e39611909c
* move enum ldap_map_selector and struct ↵Arthur de Jong2007-08-262-30/+30
| | | | | | ldap_service_search_descriptor from ldap-nss.h to cfg.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@364 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix handling of configfile values with spaces and ↵Arthur de Jong2007-08-251-9/+16
| | | | | | symbols that could cause problems with sed git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@363 ef36b2f9-881f-0410-afb5-c4e39611909c
* change regular expression boundry to | instead of % ↵Arthur de Jong2007-08-251-1/+1
| | | | | | because it is less likely to appear with normal use git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@362 ef36b2f9-881f-0410-afb5-c4e39611909c
* clear password informating in Debconf database if binddn ↵Arthur de Jong2007-08-251-2/+6
| | | | | | is not used git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@361 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some checks for the configuration moduleArthur de Jong2007-08-192-2/+228
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@360 ef36b2f9-881f-0410-afb5-c4e39611909c
* move dict and tio tests into the tests directoryArthur de Jong2007-08-196-58/+12
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@359 ef36b2f9-881f-0410-afb5-c4e39611909c
* include updated Portugese translation by Américo ↵Arthur de Jong2007-08-191-40/+14
| | | | | | Monteiro <a_monteiro@netcabo.pt> git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@358 ef36b2f9-881f-0410-afb5-c4e39611909c
* change Project-Id-Version project nameArthur de Jong2007-08-191-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@357 ef36b2f9-881f-0410-afb5-c4e39611909c
* update Project-Id-Version and Report-Msgid-Bugs-To headersArthur de Jong2007-08-1914-15/+15
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@356 ef36b2f9-881f-0410-afb5-c4e39611909c
* include newer version of acx_pthread.m4Arthur de Jong2007-08-192-13/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@355 ef36b2f9-881f-0410-afb5-c4e39611909c
* add a note about case-sensitivity of NSS and LDAP databasesArthur de Jong2007-08-191-0/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@354 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix some bugs in mangling of configfile and be more ↵Arthur de Jong2007-08-192-32/+14
| | | | | | cautious about replacing values (only replace first occurrence and only match options with the correct number of options) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@353 ef36b2f9-881f-0410-afb5-c4e39611909c