Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* make logging more consistent and remove test bases from ↵Arthur de Jong2011-12-275-8/+10
| | | | | | shadow and passwd maps git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1574 ef36b2f9-881f-0410-afb5-c4e39611909c
* PEP8 fixesArthur de Jong2011-12-279-24/+37
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1573 ef36b2f9-881f-0410-afb5-c4e39611909c
* update copyright informationArthur de Jong2011-12-271-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1572 ef36b2f9-881f-0410-afb5-c4e39611909c
* define the search separately from the requestArthur de Jong2011-12-1212-105/+153
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1571 ef36b2f9-881f-0410-afb5-c4e39611909c
* move check of required attributes and other common tests ↵Arthur de Jong2011-12-1213-185/+184
| | | | | | to the Request.handle_entry() method git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1570 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly log failures to lookup DNS SRV recordsArthur de Jong2011-12-101-1/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1569 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly handle failures to truncate the pid fileArthur de Jong2011-12-101-1/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1568 ef36b2f9-881f-0410-afb5-c4e39611909c
* get the first configuration value instead of the last ↵Arthur de Jong2011-12-101-5/+5
| | | | | | because that one is also written git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1567 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix a deprecated use of head without the -n optionArthur de Jong2011-12-101-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1566 ef36b2f9-881f-0410-afb5-c4e39611909c
* enable more hardening options (-fPIE doesn't work yet ↵Arthur de Jong2011-12-101-0/+3
| | | | | | because we use -fPIC in some places) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1565 ef36b2f9-881f-0410-afb5-c4e39611909c
* ensure that the output of nss_list_configured() is space ↵Arthur de Jong2011-12-102-2/+4
| | | | | | separated git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1564 ef36b2f9-881f-0410-afb5-c4e39611909c
* update macro from autoconf-archiveArthur de Jong2011-12-101-2/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1563 ef36b2f9-881f-0410-afb5-c4e39611909c
* Fix a typo in disconnect logicJakub Hrozek2011-12-091-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1560 ef36b2f9-881f-0410-afb5-c4e39611909c
* ensure that uid, gid and pid vars are properly ↵Arthur de Jong2011-12-011-5/+7
| | | | | | initialised and log denied requests git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1558 ef36b2f9-881f-0410-afb5-c4e39611909c
* ensure that /etc/nsswitch.conf is only loaded once after ↵Arthur de Jong2011-11-301-1/+2
| | | | | | start-up git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1557 ef36b2f9-881f-0410-afb5-c4e39611909c
* simplification of logic to overwrite list of enabled ↵Arthur de Jong2011-11-181-12/+4
| | | | | | /etc/nsswitch.conf services in debconf (based on r1555 of 0.7 branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1556 ef36b2f9-881f-0410-afb5-c4e39611909c
* add versioned dependency on libpam for mutiarch supportArthur de Jong2011-10-121-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1554 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement group membership NSS function by Tom Judge ↵Arthur de Jong2011-10-122-4/+60
| | | | | | (taken from FreeBSD PR 154000) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1553 ef36b2f9-881f-0410-afb5-c4e39611909c
* keep nslcd running during package upgradesArthur de Jong2011-10-101-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1552 ef36b2f9-881f-0410-afb5-c4e39611909c
* reduce loglevel of user not found messages to avoid ↵Arthur de Jong2011-10-021-1/+1
| | | | | | spamming the logs with useless information (thanks Wakko Warner) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1551 ef36b2f9-881f-0410-afb5-c4e39611909c
* Use an explicit base of 10 for ↵Jakub Hrozek2011-09-307-12/+12
| | | | | | strtouid()/strtogid()/strtol() calls git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1547 ef36b2f9-881f-0410-afb5-c4e39611909c
* treat the "hard" value for tls_reqcert as if it was "demand"Arthur de Jong2011-09-211-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1546 ef36b2f9-881f-0410-afb5-c4e39611909c
* make whitespace matching consistent in regular ↵Arthur de Jong2011-09-145-8/+8
| | | | | | expressions (thanks Nick) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1543 ef36b2f9-881f-0410-afb5-c4e39611909c
* make validation log messages consistentArthur de Jong2011-09-0915-96/+114
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1542 ef36b2f9-881f-0410-afb5-c4e39611909c
* add missing includeArthur de Jong2011-09-091-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1541 ef36b2f9-881f-0410-afb5-c4e39611909c
* grow gecos buffer size and consistency improvements to ↵Arthur de Jong2011-09-082-4/+4
| | | | | | other buffers git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1540 ef36b2f9-881f-0410-afb5-c4e39611909c
* give string representations of addresses more logical namesArthur de Jong2011-09-083-24/+20
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1539 ef36b2f9-881f-0410-afb5-c4e39611909c
* updated Swedish (sv) translation of debconf templates by ↵Arthur de Jong2011-09-072-84/+109
| | | | | | Martin Bagge git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1538 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.8.4 release0.8.4Arthur de Jong2011-09-0410-10/+468
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1536 ef36b2f9-881f-0410-afb5-c4e39611909c
* warn when we couldn't get the gid or pid, the uid is the ↵Arthur de Jong2011-09-041-2/+7
| | | | | | only really interesting bit git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1535 ef36b2f9-881f-0410-afb5-c4e39611909c
* add casts from size_t to int for printfArthur de Jong2011-09-041-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1534 ef36b2f9-881f-0410-afb5-c4e39611909c
* ignore failures in testsArthur de Jong2011-09-041-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1533 ef36b2f9-881f-0410-afb5-c4e39611909c
* use auto-detection for LDAP library and defaults for ↵Arthur de Jong2011-09-041-5/+1
| | | | | | config file, socket and pidfile (no changes) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1532 ef36b2f9-881f-0410-afb5-c4e39611909c
* support spaces before and after database name while ↵Arthur de Jong2011-09-034-24/+76
| | | | | | parsing /etc/nsswitch.conf and reduce the number of places where parsing is done git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1531 ef36b2f9-881f-0410-afb5-c4e39611909c
* correctly handle leading and trailing spaces in ↵Arthur de Jong2011-08-301-1/+1
| | | | | | preseeded uri option (patch by Andreas B. Mundt) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1530 ef36b2f9-881f-0410-afb5-c4e39611909c
* move LDAP_DEPRECATED and LDAP_REFERRALS to configure.ac ↵Arthur de Jong2011-08-302-6/+5
| | | | | | to ensure that tests from configure see the same API git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1529 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement and use a strtoui() function if uid_t or gid_t ↵Arthur de Jong2011-08-293-1/+32
| | | | | | is of size unsigned int (thanks Jakub Hrozek) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1528 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of automake warningArthur de Jong2011-08-291-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1527 ef36b2f9-881f-0410-afb5-c4e39611909c
* silence autoconf warnings, patch by Jakub HrozekArthur de Jong2011-08-291-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1526 ef36b2f9-881f-0410-afb5-c4e39611909c
* some changes based on feedback by Jeroen SchotArthur de Jong2011-08-291-22/+22
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1525 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide strtouid() and strtogid() functions that use ↵Arthur de Jong2011-08-275-6/+28
| | | | | | strtoul() or strtoull() (thanks Jakub Hrozek) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1524 ef36b2f9-881f-0410-afb5-c4e39611909c
* check errno after calls to strtol() to ensure that ↵Arthur de Jong2011-08-277-5/+75
| | | | | | numbers that are too large for type will be reported (thanks Jakub Hrozek) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1523 ef36b2f9-881f-0410-afb5-c4e39611909c
* pass a statically allocated callback structure to ↵Arthur de Jong2011-08-272-1/+3
| | | | | | OpenLDAP because it doesn't make it's own copy (thanks Jakub Hrozek) (fixes a problem in r1490) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1522 ef36b2f9-881f-0410-afb5-c4e39611909c
* some changes based on feedback by Paul GeversArthur de Jong2011-08-271-30/+31
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1521 ef36b2f9-881f-0410-afb5-c4e39611909c
* first attempt at Dutch (nl) translationArthur de Jong2011-08-261-89/+101
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1520 ef36b2f9-881f-0410-afb5-c4e39611909c
* small formatting changes to headerArthur de Jong2011-08-269-11/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1519 ef36b2f9-881f-0410-afb5-c4e39611909c
* updated Spanish (es) translation of debconf templates by ↵Arthur de Jong2011-08-251-51/+53
| | | | | | Francisco Javier Cuadrado git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1518 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typo (thanks Nalin Dahyabhai)Arthur de Jong2011-08-241-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1517 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix a problem with uninitialised memory while parsing ↵Arthur de Jong2011-08-241-7/+5
| | | | | | the tls_ciphers option (was broken in r853, similar problem was fixed in r910, reported by Isaac Freeman) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1515 ef36b2f9-881f-0410-afb5-c4e39611909c
* updated German (de) translation of debconf templates by ↵Arthur de Jong2011-08-241-46/+57
| | | | | | Chris Leick git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1514 ef36b2f9-881f-0410-afb5-c4e39611909c