Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | remove extra slash characterArthur de Jong2010-11-071-1/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1304 ef36b2f9-881f-0410-afb5-c4e39611909c
* | guess NSS SONAME on freebsdArthur de Jong2010-11-071-0/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1303 ef36b2f9-881f-0410-afb5-c4e39611909c
* | use NSS flavour to determine which exports file to useArthur de Jong2010-11-071-1/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1302 ef36b2f9-881f-0410-afb5-c4e39611909c
* | log the request with any logged messagesArthur de Jong2010-11-0715-73/+111
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1301 ef36b2f9-881f-0410-afb5-c4e39611909c
* | SASL compatibility definitionArthur de Jong2010-11-071-0/+4
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1300 ef36b2f9-881f-0410-afb5-c4e39611909c
| * merge changes from trunkArthur de Jong2010-11-048-35/+38
| |\ | |/ |/| | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1299 ef36b2f9-881f-0410-afb5-c4e39611909c
* | move acceptconnection() function body inside the ↵Arthur de Jong2010-11-041-51/+63
| | | | | | | | | | | | worker() so we can more easily break out of the connection handling thread, close the server socket inside the signal handler to cause all threads waiting on accept() to fail and ensure that signals are handled in the main thread by blocking them in the worker threads (r1290 from -solaris branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1298 ef36b2f9-881f-0410-afb5-c4e39611909c
* | avoid unneeded strdup()s by using a passed buffer to ↵Arthur de Jong2010-11-043-26/+27
| | | | | | | | | | | | lookup_dn2uid() and using strcmp() in dn2uid() to see if the existing cached value is ok git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1297 ef36b2f9-881f-0410-afb5-c4e39611909c
* | fix race condition that could cause a memory leakArthur de Jong2010-11-041-0/+3
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1296 ef36b2f9-881f-0410-afb5-c4e39611909c
* | pass the actual size of the address family and the path ↵Arthur de Jong2010-11-042-2/+2
| | | | | | | | | | | | length to bind() and connect() for named sockets git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1295 ef36b2f9-881f-0410-afb5-c4e39611909c
* | call myldap_session_check() before adding a new search ↵Arthur de Jong2010-11-031-2/+2
| | | | | | | | | | | | to the session so the connection actually gets closed on timeout (the connection isn't closed when there are active searches) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1294 ef36b2f9-881f-0410-afb5-c4e39611909c
* | chage test for compiling with gcc to be simpler and not ↵Arthur de Jong2010-10-161-2/+2
| | | | | | | | | | | | use deprecated ac_cv_prog_gcc git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1288 ef36b2f9-881f-0410-afb5-c4e39611909c
* | fix log messageArthur de Jong2010-10-161-1/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1287 ef36b2f9-881f-0410-afb5-c4e39611909c
* | remove obsolete noteArthur de Jong2010-10-161-2/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1286 ef36b2f9-881f-0410-afb5-c4e39611909c
| * move acceptconnection() function body inside the ↵Arthur de Jong2010-10-281-51/+63
| | | | | | | | | | | | worker() so we can more easily break out of the connection handling thread, close the server socket inside the signal handler to cause all threads waiting on accept() to fail and ensure that signals are handled in the main thread by blocking them in the worker threads git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1290 ef36b2f9-881f-0410-afb5-c4e39611909c
| * remove redundant backslashArthur de Jong2010-10-281-1/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1289 ef36b2f9-881f-0410-afb5-c4e39611909c
| * make formatting consistentArthur de Jong2010-10-151-12/+11
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1283 ef36b2f9-881f-0410-afb5-c4e39611909c
| * also export _nss_ldap_enablelookups so we can disable ↵Arthur de Jong2010-10-151-2/+5
| | | | | | | | | | | | the NSS module from nslcd git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1282 ef36b2f9-881f-0410-afb5-c4e39611909c
| * switch to using SETs to follow the netgroupsArthur de Jong2010-10-155-144/+26
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1281 ef36b2f9-881f-0410-afb5-c4e39611909c
| * merge changes from trunkArthur de Jong2010-10-157-51/+102
| |\ | |/ |/| | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1280 ef36b2f9-881f-0410-afb5-c4e39611909c
* | implement dict_getany() and set_pop() functions to be ↵Arthur de Jong2010-10-155-4/+50
| | | | | | | | | | | | able to pick and remove entries git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1279 ef36b2f9-881f-0410-afb5-c4e39611909c
* | make DICTs and SETs case-sensitiveArthur de Jong2010-10-155-31/+32
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1278 ef36b2f9-881f-0410-afb5-c4e39611909c
* | split out checking of NSS module availability and buffer ↵Arthur de Jong2010-10-151-27/+22
| | | | | | | | | | | | correctness to separate macros (taken from the -solaris branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1277 ef36b2f9-881f-0410-afb5-c4e39611909c
* | set a longer socket timout for the normal connection ↵Arthur de Jong2010-10-151-19/+23
| | | | | | | | | | | | (just in case mostly) and a short one to use when shutting down the connection (also see http://www.openldap.org/its/index.cgi?selectid=6673) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1276 ef36b2f9-881f-0410-afb5-c4e39611909c
| * merge changes from trunkArthur de Jong2010-10-145-32/+41
| |\ | |/ |/| | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1275 ef36b2f9-881f-0410-afb5-c4e39611909c
* | set {nss,pam}_ldap_so_LINK from configure to allow ↵Arthur de Jong2010-10-141-8/+14
| | | | | | | | | | | | custom linker properties for Solaris (r1261 and r1263 from -solaris branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1274 ef36b2f9-881f-0410-afb5-c4e39611909c
* | also include sys/types.h for ethernet-related tests ↵Arthur de Jong2010-10-141-0/+2
| | | | | | | | | | | | (same as in compat/ether.h) (r1259 from -solaris branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1273 ef36b2f9-881f-0410-afb5-c4e39611909c
* | 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
* | simplify SASL includesArthur de Jong2010-10-141-3/+3
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1271 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
* | move ethernet function checks outside nslcd-specific ↵Arthur de Jong2010-10-131-12/+12
| | | | | | | | | | | | tests to also compile without warnings when only compiling NSS module git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1269 ef36b2f9-881f-0410-afb5-c4e39611909c
* | make buffer sizes for PAM requests consistent (and large ↵Arthur de Jong2010-10-131-5/+3
| | | | | | | | | | | | enough for most situations) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1267 ef36b2f9-881f-0410-afb5-c4e39611909c
* | rename --with-nss-ldap-maps to --with-nss-mapsArthur de Jong2010-10-131-7/+7
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1266 ef36b2f9-881f-0410-afb5-c4e39611909c
* | small fixArthur de Jong2010-10-131-2/+2
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1265 ef36b2f9-881f-0410-afb5-c4e39611909c
* | set timeout options on LDAP socket to avoid problems ↵Arthur de Jong2010-10-121-0/+11
| | | | | | | | | | | | when the LDAP library hangs on a read() (e.g. at ldap_unbind()) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1264 ef36b2f9-881f-0410-afb5-c4e39611909c
| * always define {nss,pam}_ldap_so_LINK (defaults to ↵Arthur de Jong2010-10-111-4/+8
| | | | | | | | | | | | default) because otherwise automake gets confused git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1263 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
| * use {nss,pam}_ldap_so_LINK to set custom linker ↵Arthur de Jong2010-10-111-6/+8
| | | | | | | | | | | | invocation instead of {nss,pam}_ldap_so_LD+{nss,pam}_ldap_so_LDFLAGS because the _LD one wasn't automatically picked up git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1261 ef36b2f9-881f-0410-afb5-c4e39611909c
| * build Solaris NSS flavour without aliases for nowArthur de Jong2010-10-111-1/+4
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1260 ef36b2f9-881f-0410-afb5-c4e39611909c
| * make all ethernet tests use the same includesArthur de Jong2010-10-111-0/+2
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1259 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-103-12/+12
| |\ | |/ |/| | | 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-103-3/+3
| | | | | | | | 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
* | undo changes to ChangeLog accidentally checked in in r1253)Arthur de Jong2010-10-101-149/+0
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1254 ef36b2f9-881f-0410-afb5-c4e39611909c
* | put all logic on how to run linker for NSS and PAM ↵Arthur de Jong2010-10-106-28/+204
| | | | | | | | | | | | 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
* | move missing declarations of ether_ntoa() and ↵Arthur de Jong2010-10-102-15/+16
| | | | | | | | | | | | ether_aton() to header file so they are available for other sources also (r1243 from -solaris branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1252 ef36b2f9-881f-0410-afb5-c4e39611909c
* | fix test of returnlen struct member check (r1244 from ↵Arthur de Jong2010-10-101-1/+1
| | | | | | | | | | | | -solaris branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1251 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-105-82/+32
| | | | | | | | | | | | (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