Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss
Commit message (Collapse)AuthorAgeFilesLines
...
* trip trailing whitespaceArthur de Jong2006-11-252-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@117 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix problem with allocated array for storing addresses, ↵Arthur de Jong2006-11-241-17/+23
| | | | | | properly set h_errnop and check empty address (only addresses of other address family) in nss functions, not in read_hostent() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@114 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement netgroup lookups, including test codeArthur de Jong2006-11-211-16/+43
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@108 ef36b2f9-881f-0410-afb5-c4e39611909c
* write contents of ethernet address not pointerArthur de Jong2006-11-191-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@104 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix bug: the readfn() function was executed twiceArthur de Jong2006-11-191-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@100 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement netgroup lookupsArthur de Jong2006-11-173-6/+121
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@97 ef36b2f9-881f-0410-afb5-c4e39611909c
* do some refactoring in the generated code and add some ↵Arthur de Jong2006-11-1712-80/+124
| | | | | | documentation on generated code in comments in common.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@96 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement reading of services entitiesArthur de Jong2006-11-162-1/+83
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@95 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement reading of rpc entitiesArthur de Jong2006-11-162-1/+81
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@94 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement reading of protocol entitiesArthur de Jong2006-11-162-1/+81
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@93 ef36b2f9-881f-0410-afb5-c4e39611909c
* switch to a simpler and more compact framework to ↵Arthur de Jong2006-11-168-144/+105
| | | | | | generate methods (one reader function to deserialize a struct from the stream and auto-generated functions) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@92 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement network information lookups through NSSArthur de Jong2006-11-153-4/+192
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@91 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly filter out empty returned address records and ↵Arthur de Jong2006-11-151-9/+33
| | | | | | return NOTFOUND for entries without addresses in our address family git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@90 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement automounter maps lookupsArthur de Jong2006-11-143-4/+158
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@88 ef36b2f9-881f-0410-afb5-c4e39611909c
* just close the stream in case of problems instead of ↵Arthur de Jong2006-11-141-1/+1
| | | | | | calling endent() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@87 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename nss/exports.h to nss/prototypes.hArthur de Jong2006-11-108-8/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@82 ef36b2f9-881f-0410-afb5-c4e39611909c
* switch to using prototypes that are defined in glibc 2.3.6Arthur de Jong2006-11-105-19/+19
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@81 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement NSS-side shadow lookups (plus test code)Arthur de Jong2006-11-102-1/+85
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@80 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement NSS-side ethers database lookups plus test codeArthur de Jong2006-11-103-5/+129
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@79 ef36b2f9-881f-0410-afb5-c4e39611909c
* add test code for host database and add const to ↵Arthur de Jong2006-11-102-2/+2
| | | | | | function definition git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@78 ef36b2f9-881f-0410-afb5-c4e39611909c
* use better names for our thread-local file pointerArthur de Jong2006-11-103-6/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@77 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement initial host database lookups NSS-sideArthur de Jong2006-11-032-1/+211
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@69 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix bogus reuse of tmpint32, introducing tmp3int32Arthur de Jong2006-11-031-5/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@66 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename LOOP to STRINGLIST as that is currently the only ↵Arthur de Jong2006-11-032-12/+12
| | | | | | 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-3/+54
| | | | 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-034-101/+61
| | | | | | {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
* rename some constants and switch to a more sane naming ↵Arthur de Jong2006-11-023-11/+11
| | | | | | scheme git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@56 ef36b2f9-881f-0410-afb5-c4e39611909c
* we only need to export _nss_ldap_initgroups_dyn(), not ↵Arthur de Jong2006-11-021-1/+0
| | | | | | _nss_ldap_initgroups() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@55 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename READ_RESPONSE() macro to READ_RESPONSE_CODE()Arthur de Jong2006-11-023-7/+7
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@54 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement NSS side of getgrnam(), getgrgid() and ↵Arthur de Jong2006-11-012-1/+146
| | | | | | {set,get,end}grent() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@53 ef36b2f9-881f-0410-afb5-c4e39611909c
* always set *errnop correctlyArthur de Jong2006-11-013-1/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@52 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement _nss_ldap_{set,get,end}pwent() functions with ↵Arthur de Jong2006-11-011-4/+35
| | | | | | thread-local opened file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@44 ef36b2f9-881f-0410-afb5-c4e39611909c
* also set file pointer to NULL when closing a stream to ↵Arthur de Jong2006-11-011-2/+5
| | | | | | properly handle reuse of stream git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@43 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement reading of alias information through ↵Arthur de Jong2006-10-311-5/+53
| | | | | | getaliasbyname() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@38 ef36b2f9-881f-0410-afb5-c4e39611909c
* make code consistent by adding headers, removing ↵Arthur de Jong2006-10-315-7/+105
| | | | | | trailing whitespace and proper ifdefs for header files git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@37 ef36b2f9-881f-0410-afb5-c4e39611909c
* clear up protocol macros while implementing getpwuid() ↵Arthur de Jong2006-10-314-55/+51
| | | | | | and {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
* get rid of some empty linesArthur de Jong2006-10-301-5/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@30 ef36b2f9-881f-0410-afb5-c4e39611909c
* return read data in struct and fix some marcosArthur de Jong2006-10-302-16/+22
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@28 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not build libnss_ldap.so in this directory, only ↵Arthur de Jong2006-10-301-8/+0
| | | | | | build nss object functions git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@27 ef36b2f9-881f-0410-afb5-c4e39611909c
* add some basic minimal NSS code that can be generated ↵Arthur de Jong2006-10-256-0/+304
from macros git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@24 ef36b2f9-881f-0410-afb5-c4e39611909c