summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-15make formatting consistentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1283 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-15also export _nss_ldap_enablelookups so we can disable the NSS module from nslcdArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1282 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-15switch to using SETs to follow the netgroupsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1281 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-15merge changes from trunkArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1280 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-15implement dict_getany() and set_pop() functions to be able to pick and ↵Arthur de Jong
remove entries git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1279 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-15make DICTs and SETs case-sensitiveArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1278 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-15split out checking of NSS module availability and buffer correctness to ↵Arthur de Jong
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
2010-10-15set a longer socket timout for the normal connection (just in case mostly) ↵Arthur de Jong
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
2010-10-14merge changes from trunkArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1275 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-14set {nss,pam}_ldap_so_LINK from configure to allow custom linker properties ↵Arthur de Jong
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
2010-10-14also include sys/types.h for ethernet-related tests (same as in ↵Arthur de Jong
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
2010-10-14move _nss_ldap_initgroups_dyn() definition to the end to have more logical orderArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1272 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-14simplify SASL includesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1271 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-13link local modules before .a files from common directory to pick symbols up ↵Arthur de Jong
in correct order git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1270 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-13move ethernet function checks outside nslcd-specific tests to also compile ↵Arthur de Jong
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
2010-10-13make buffer sizes for PAM requests consistent (and large enough for most ↵Arthur de Jong
situations) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1267 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-13rename --with-nss-ldap-maps to --with-nss-mapsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1266 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-13small fixArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1265 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-12set timeout options on LDAP socket to avoid problems when the LDAP library ↵Arthur de Jong
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
2010-10-11always define {nss,pam}_ldap_so_LINK (defaults to default) because otherwise ↵Arthur de Jong
automake gets confused git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1263 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-11also try to support older Solaris releases that do not have the returnlen ↵Arthur de Jong
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
2010-10-11use {nss,pam}_ldap_so_LINK to set custom linker invocation instead of ↵Arthur de Jong
{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
2010-10-11build Solaris NSS flavour without aliases for nowArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1260 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-11make all ethernet tests use the same includesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1259 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-10generate Solaris NSS functions using same macros that are used for Glibc, ↵Arthur de Jong
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
2010-10-10merge changes from trunkArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1257 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-10make use of UNUSED() consistent throughout the codeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1256 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-10correctly name shared file handleArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1255 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-10undo changes to ChangeLog accidentally checked in in r1253)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1254 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-10put all logic on how to run linker for NSS and PAM components in configure ↵Arthur de Jong
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
2010-10-10move missing declarations of ether_ntoa() and ether_aton() to header file so ↵Arthur de Jong
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
2010-10-10fix test of returnlen struct member check (r1244 from -solaris branch)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1251 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-10put all locgic on how to link in configure script (remove stuff from ↵Arthur de Jong
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
2010-10-09have one shared file handle per flavour instead of one global one (for now) ↵Arthur de Jong
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
2010-10-09re-introduce rename of protoentfp to serventfp which was introduced in r1246 ↵Arthur de Jong
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
2010-10-09nss-pam-ldapd fixes for solaris 10 buildTed Cheng
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1247 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-08re-introduce {set,get,end}**ent() file handle in Solaris code path and some ↵Arthur de Jong
other miscellaneous small fixes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1246 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-08correctly name shared file handleArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1245 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-08fix test of returnlen struct member checkArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1244 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-08move missing declarations of ether_ntoa() and ether_aton() to header file so ↵Arthur de Jong
they are available for other sources also git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1243 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-04merge changes from trunkArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1242 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-04try to make use of UNUSED() consistentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1241 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-04improve consistency of code layoutArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1240 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-04merge some of the changes for Solaris portability to ease merging, adding ↵Arthur de Jong
--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
2010-10-04switch to the same mechanims for pam_ldap.so that was already in use for ↵Arthur de Jong
nss_ldap.so git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1238 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-04add check for returnlen member of struct nss_XbyY_argsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1237 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-03first attempt to split Solaris and Glibc code more and determine NSS flavour ↵Arthur de Jong
in configure script git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1236 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-02ignore configure.linenoArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1235 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-01merge function definition changes from trunk (r1233)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1234 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-01use AC_CHECK_DECLS to check for definitions of functions we provide a ↵Arthur de Jong
replacement definition for git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1233 ef36b2f9-881f-0410-afb5-c4e39611909c