summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-29documentation touch-upsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1673 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-04-27get files ready for 0.8.8 releaseArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1662 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-04-27add a schema file that some people use for PAMArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1660 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-04-26split the functionality to read everything from the stream into a separate ↵Arthur de Jong
function and don't assume we use non-blocking IO (fix r1637) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1659 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-04-26support alternative unknown user responseArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1658 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-04-22get files ready for 0.8.7 releaseArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1653 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-04-09update files from recent automakeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1649 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-23increase buffer for pam_authz_search as suggested by Chris J ArgesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1643 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-16support the upper and lower functions in attribute mapping expressionsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1642 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-16refactor some of the attribute mapping code to introduce a mapping instance ↵Arthur de Jong
that does the hard work and support the lower() and upper() attribute mapping functions git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1641 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-16implement a getpeercred() functionArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1640 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-16always try to log the ldap error, the diagnostic message and errno if ↵Arthur de Jong
available in a consistent format git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1639 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-16put both tio_skip() and tio_close() within if (fixes r1637) and clarify ↵Arthur de Jong
documentation of one part of the code git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1638 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-14read any remaining available data from the stream when closing the ↵Arthur de Jong
connection in a normal way to prevent Broken pipe messages in nslcd git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1637 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-14ensure that we don't try to read more than SSIZE_MAX bytesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1636 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-13document the fact that each thread opens it's own connection (patch by Chris ↵Arthur de Jong
Hiestand) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1635 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-13make whether or not to do case-sensitive filtering configurable (patch by ↵Arthur de Jong
Matthew L. Dailey) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1634 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-13update from latest automakeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1633 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-10when doing DNS queries for SRV records recognise default ldap and ldaps portsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1632 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-10add missing include for _POSIX_HOST_NAME_MAX (thanks Mel Flynn)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1631 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-10fix log message for invalid pam_authz_search as reported by Matt RaeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1628 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-05remove extra newline from log messageArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1627 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-03-05provide more detailed logging information for ldap_start_tls_s() failures ↵Arthur de Jong
(based on a patch by Mel Flynn) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1626 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-02-29log the first 10 search results in debug mode to make debugging easier ↵Arthur de Jong
(patch by Matthijs Kooijman) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1625 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-02-29update copyright yearsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1624 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-29get files ready for 0.8.6 releaseArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1616 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-29implement a naive offline cacheArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1615 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-29small simplification in group lookups (member attributes are not requested ↵Arthur de Jong
anyway) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1614 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-29split the result handling into a convert() and write() stepArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1613 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-20formatting fixesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1611 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-20clarify error messages and fix typo in commentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1605 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-20separate the Debian packaging from main sources switching to non-native ↵Arthur de Jong
Debian package (using svn-buildpackage) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1604 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-20add missing Python modules to tarballArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1603 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-17FreeBSD compilation fixes by Maxim VetrovArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1597 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-17pass the correct size of named socket address (fixes FreeBSD issue, fixes r1295)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1596 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-16update files from recent automakeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1595 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-09Add a matching va_end() for va_start() in mysnprintf()Jakub Hrozek
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1594 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-09Warn if ldap_set_option() fails for LDAP_OPT_ERROR_NUMJakub Hrozek
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1593 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-09Warn if fd cannot be closed in is_locked()Jakub Hrozek
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1592 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-09Check NULL return in write_netgroup()Jakub Hrozek
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1591 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-09Do not leak memory if myldap_escape() failsJakub Hrozek
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1590 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-09Return from update_username() if myldap_get_values() returns invalid valueJakub Hrozek
If myldap_get_values() failed for the attmap_passwd_uid, nss-pam-ldapd would dereference a NULL pointer. git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1589 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-06user the logging framework, handle exceptions properly and some cleanupsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1588 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-05updated Simplified Chinese (zh_CN) translation of debconf templates by zymArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1587 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-02updated Norwegian Bokmål (nb) translation of debconf templates by Bjørn ↵Arthur de Jong
Steensrud git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1586 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-12-31get files ready for 0.8.5 releaseArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1584 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-12-30fix versioned build dependency on debhelperArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1583 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-12-28remove some information from config that we don't expect to useArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1582 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-12-28support for reading the configuration file (not all options are used though)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1581 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-12-28move the state variables (from command line) from the configuration to the ↵Arthur de Jong
main module git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1580 ef36b2f9-881f-0410-afb5-c4e39611909c