summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-01fix setting restart option log message (fixes r1889)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1892 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30code style fixArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1891 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30remove deprecated use_sasl, reconnect_tries, reconnect_maxsleeptime and ↵Arthur de Jong
tls_checkpeer options which have been replaced some time ago git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1890 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30remove undocumented restart configuration optionArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1889 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30reorganise and rename configuration options to be in line with manual pageArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1888 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30remove the ldc_ prefix from struct ldap_config fieldsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1887 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30use the newer style AM_INIT_AUTOMAKEArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1886 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30add dependency information to regenerate constants.pyArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1885 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-30make the way manual pages are selected for installation more maintainableArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1884 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-29remove unnecessary commentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1883 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-29implement a lookup_netgroup command for systems that cannot use getent to ↵Arthur de Jong
list netgroups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1882 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-28another comment typo fixArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1881 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-28re-order enum values to use the same order as elsewhereArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1880 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-24more comment fixesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1879 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-24fix typo in commentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1878 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-23move the action argument to NSLCD_HANDLE to the frontArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1877 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-23merge NSS_BYNAME and NSS_BYINT32 into NSS_BYGEN and rename to NSS_GETONEArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1876 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-23adapt Solaris netgroup lookup codeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1875 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-23update the netgroup by name request to have one result entry per netgroup ↵Arthur de Jong
with multiple rows within one result git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1874 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-22update C coding style to a more commonly used styleArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-20don't process the passwd_byuid request at all for uids < nss_min_uidArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1870 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-20fix logic error (use && instead of & for logical and)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1868 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-16also no longer use NSS_BYINT32() in Solaris (fixes r1864)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1867 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-16make nslcd actions hexadecimal values with some structure to make debugging ↵Arthur de Jong
easier git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1866 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-16change PAM protocol to be more consistent and simplerArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1865 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-16switch protocol from host byte order to network byte order and switch use of ↵Arthur de Jong
uid_t and gid_t in the protocol to int32 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1864 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-15merge config.py into constants.py and generate it from configureArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1863 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-14remove unneeded bracketsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1859 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-14also test for correct value of errno on timeout and make read and write ↵Arthur de Jong
timeout tests consistent git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1858 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-14also output debugging info in test_timeout_reader testArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1857 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-08update microseconds when setting deadline, not seconds (thanks Julien Cristau)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1848 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-12-06make test even more verbose and set number of writes back at 10000 to avoid ↵Arthur de Jong
issues with systems with large buffers git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1846 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-30rephrase test to more clearly explain what we're testing and be a little ↵Arthur de Jong
more verbose git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1845 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-25remove inline keyword (should have been removed in r1840)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1842 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-25if nsswitch.conf is missing a shadow entry, fall back to checking the passwd ↵Arthur de Jong
mapping git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1841 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-25move all nsswitch-parsing related functions to nsswitch.cArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1840 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-25small fix for .gitignoreArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1839 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-22ensure that values are logged as unsigned numbersArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1838 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-18get files ready for 0.8.12 releaseArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1834 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-18properly initialise passwd.pw_class on FreeBSD to empty string (was set to ↵Arthur de Jong
NULL due to the memset which was introduced in r1767) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1833 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-17use pam_modutil_getpwnam() instead of getpwnam() in PAM moduleArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1832 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-17fix formatting and improve consistency in manaual pagesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1831 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-16remove dots from short description in manual pageArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1828 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-16fix comment in headerArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1827 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-13to only set LDAP_OPT_X_SASL_NOCANON if the sasl_canonicalize option is ↵Arthur de Jong
explicitly set in the configuration file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1824 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-11log the PAM error message along with the message from nslcd if it is availableArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1823 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-11add a .gitignore file for those working with gitArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1822 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-11set FD_CLOEXEC in NSS and PAM modules to ensure that nslcd file descriptor ↵Arthur de Jong
is not leaked to child processes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1821 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-11-11log connection message before clearing error indicators to not hide these ↵Arthur de Jong
log messages in most configurations (fixes r1095) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1814 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-10-28refactor the read_result() functions into a common macro and move all the ↵Arthur de Jong
Solaris-specific definitions to solnss.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1812 ef36b2f9-881f-0410-afb5-c4e39611909c