Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss
Commit message (Collapse)AuthorAgeFilesLines
...
| * move _nss_ldap_initgroups_dyn() definition to the end to ↵Arthur de Jong2010-10-141-24/+24
| | | | | | | | | | | | have more logical order git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1272 ef36b2f9-881f-0410-afb5-c4e39611909c
| * link local modules before .a files from common directory ↵Arthur de Jong2010-10-131-1/+1
| | | | | | | | | | | | to pick symbols up in correct order git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1270 ef36b2f9-881f-0410-afb5-c4e39611909c
* | also try to support older Solaris releases that do not ↵Arthur de Jong2010-10-119-20/+123
| | | | | | | | | | | | have the returnlen member of struct nss_XbyY_args git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1262 ef36b2f9-881f-0410-afb5-c4e39611909c
* | generate Solaris NSS functions using same macros that ↵Arthur de Jong2010-10-1012-1432/+655
| | | | | | | | | | | | are used for Glibc, splitting functionality to make a string representation into a single function per NSS map git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1258 ef36b2f9-881f-0410-afb5-c4e39611909c
* | merge changes from trunkArthur de Jong2010-10-101-10/+10
|\| | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1257 ef36b2f9-881f-0410-afb5-c4e39611909c
| * make use of UNUSED() consistent throughout the codeArthur de Jong2010-10-101-1/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1256 ef36b2f9-881f-0410-afb5-c4e39611909c
| * correctly name shared file handleArthur de Jong2010-10-101-5/+5
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1255 ef36b2f9-881f-0410-afb5-c4e39611909c
| * put all logic on how to run linker for NSS and PAM ↵Arthur de Jong2010-10-103-6/+25
| | | | | | | | | | | | components in configure script (remove stuff from Makefile.ams) and add Solaris version script (renaming version scripts as needed) (r1250 from -solaris branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1253 ef36b2f9-881f-0410-afb5-c4e39611909c
| * correctly name shared file handleArthur de Jong2010-10-081-6/+5
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1245 ef36b2f9-881f-0410-afb5-c4e39611909c
* | put all locgic on how to link in configure script ↵Arthur de Jong2010-10-102-12/+1
| | | | | | | | | | | | (remove stuff from Makefile.ams) and make choice for NSS and PAM components independently (renaming and removing version scripts as needed) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1250 ef36b2f9-881f-0410-afb5-c4e39611909c
* | have one shared file handle per flavour instead of one ↵Arthur de Jong2010-10-099-38/+42
| | | | | | | | | | | | global one (for now) and re-introduce some other minor changes that got lost in r1247 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1249 ef36b2f9-881f-0410-afb5-c4e39611909c
* | re-introduce rename of protoentfp to serventfp which was ↵Arthur de Jong2010-10-091-9/+9
| | | | | | | | | | | | introduced in r1246 and accidentally lost in r1247 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1248 ef36b2f9-881f-0410-afb5-c4e39611909c
* | nss-pam-ldapd fixes for solaris 10 buildTed Cheng2010-10-099-53/+54
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1247 ef36b2f9-881f-0410-afb5-c4e39611909c
* | re-introduce {set,get,end}**ent() file handle in Solaris ↵Arthur de Jong2010-10-0810-14/+46
| | | | | | | | | | | | code path and some other miscellaneous small fixes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1246 ef36b2f9-881f-0410-afb5-c4e39611909c
* | merge changes from trunkArthur de Jong2010-10-0412-43/+105
|\| | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1242 ef36b2f9-881f-0410-afb5-c4e39611909c
| * improve consistency of code layoutArthur de Jong2010-10-0412-37/+132
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1240 ef36b2f9-881f-0410-afb5-c4e39611909c
| * merge some of the changes for Solaris portability to ↵Arthur de Jong2010-10-045-21/+24
| | | | | | | | | | | | ease merging, adding --with-pam-seclib-dir, --with-pam-ldap-soname and --with-nss-flavour options and having some auto-detection for SONAMEs and NSS flavour git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1239 ef36b2f9-881f-0410-afb5-c4e39611909c
* | try to make use of UNUSED() consistentArthur de Jong2010-10-0410-77/+77
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1241 ef36b2f9-881f-0410-afb5-c4e39611909c
* | first attempt to split Solaris and Glibc code more and ↵Arthur de Jong2010-10-0315-887/+894
| | | | | | | | | | | | determine NSS flavour in configure script git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1236 ef36b2f9-881f-0410-afb5-c4e39611909c
* | import Solaris support developed by Ted C. Cheng of ↵Arthur de Jong2010-09-3016-43/+2247
|/ | | | | | Symas Corporation merged against SVN head (parts remain to be cleaned up) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1232 ef36b2f9-881f-0410-afb5-c4e39611909c
* have a way to limit which NSS maps should be builtArthur de Jong2010-09-251-5/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1215 ef36b2f9-881f-0410-afb5-c4e39611909c
* switch to using nss_status_t throughout the code and ↵Arthur de Jong2010-09-2413-125/+125
| | | | | | provide compatibility code to use whatever nss_status type is used on the system git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1214 ef36b2f9-881f-0410-afb5-c4e39611909c
* use htons() instead of ntohs() (thanks Ted C. Cheng)Arthur de Jong2010-07-271-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1167 ef36b2f9-881f-0410-afb5-c4e39611909c
* use -h linker flag instead of -soname which seems more ↵Arthur de Jong2010-07-181-1/+1
| | | | | | portable git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1164 ef36b2f9-881f-0410-afb5-c4e39611909c
* allow configuring NSS module's SONAME from configure and ↵Arthur de Jong2010-07-071-7/+3
| | | | | | use this in nslcd to dlopen() the correct library (thanks to Alexander V. Chernikov for the idea) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1161 ef36b2f9-881f-0410-afb5-c4e39611909c
* have more compatibility code for NSS module and move ↵Arthur de Jong2010-06-172-61/+2
| | | | | | compatibility code to compat directory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1146 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename symbol map files and check for the linker option ↵Arthur de Jong2010-06-152-3/+5
| | | | | | to specify the file with git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1143 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a global symbol inside the NSS module to allow ↵Arthur de Jong2010-06-146-4/+43
| | | | | | 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
* make include guard names consistent throughout the ↵Arthur de Jong2010-06-142-6/+6
| | | | | | source and avoid conflicts with system headers git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1140 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove some unused include statementsArthur de Jong2010-06-1411-11/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1139 ef36b2f9-881f-0410-afb5-c4e39611909c
* simple improvement for FreeBSDArthur de Jong2010-01-231-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1054 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix missing argument (problem in r1039)Arthur de Jong2009-12-281-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1040 ef36b2f9-881f-0410-afb5-c4e39611909c
* Glibc changed the addr parameter of getnetbyaddr_r() ↵Arthur de Jong2009-12-281-5/+7
| | | | | | from network-byte-order to host-byte-order git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1039 ef36b2f9-881f-0410-afb5-c4e39611909c
* also use compat/ether.h for nss functionsArthur de Jong2009-12-211-4/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1032 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't pass an empty parameter to a macroArthur de Jong2009-10-081-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1002 ef36b2f9-881f-0410-afb5-c4e39611909c
* re-organise configure script and only run tests for ↵Arthur de Jong2009-10-081-1/+1
| | | | | | parts that are enabled git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1001 ef36b2f9-881f-0410-afb5-c4e39611909c
* some simple changes in includes to make FreeBSD diff smallerArthur de Jong2009-09-041-0/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@986 ef36b2f9-881f-0410-afb5-c4e39611909c
* merge r934 from trunkArthur de Jong2009-06-061-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@935 ef36b2f9-881f-0410-afb5-c4e39611909c
* refactor protocol reading and writing macros to the ↵Arthur de Jong2009-05-2114-196/+50
| | | | | | 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
* merge r885 from trunkArthur de Jong2009-05-161-5/+12
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@886 ef36b2f9-881f-0410-afb5-c4e39611909c
* merge r882 from trunkArthur de Jong2009-05-092-7/+33
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@883 ef36b2f9-881f-0410-afb5-c4e39611909c
* merge r865 from trunkArthur de Jong2009-05-081-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@866 ef36b2f9-881f-0410-afb5-c4e39611909c
* merge r834 from trunkArthur de Jong2009-04-192-4/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@836 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
* remove comment about limitation that has now been removedArthur de Jong2008-05-161-4/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@737 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
* remove checking for first entry and always return ↵Arthur de Jong2008-05-022-14/+7
| | | | | | NSS_STATUS_RETURN when no more data is available in the netgroup (this has the side effect of not returning NSS_STATUS_NOTFOUND for non-existing netgroups but seems to be what other NSS modules do) to properly handle empty netgroups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@720 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix comment of return value of NSS_STATUS_TRYAGAINArthur de Jong2008-05-011-4/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@714 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
* correctly implement buffer handling in ↵Arthur de Jong2008-04-051-21/+39
| | | | | | _nss_ldap_initgroups_dyn() to grow buffer when needed, check limits and handle extra group parameter (had a closer look at nis-initgroups.c) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@660 ef36b2f9-881f-0410-afb5-c4e39611909c