Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* update files from recent automakeArthur de Jong2012-01-165-42/+294
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1595 ef36b2f9-881f-0410-afb5-c4e39611909c
* Add a matching va_end() for va_start() in mysnprintf()Jakub Hrozek2012-01-091-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1594 ef36b2f9-881f-0410-afb5-c4e39611909c
* Warn if ldap_set_option() fails for LDAP_OPT_ERROR_NUMJakub Hrozek2012-01-091-4/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1593 ef36b2f9-881f-0410-afb5-c4e39611909c
* Warn if fd cannot be closed in is_locked()Jakub Hrozek2012-01-091-2/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1592 ef36b2f9-881f-0410-afb5-c4e39611909c
* Check NULL return in write_netgroup()Jakub Hrozek2012-01-091-0/+7
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1591 ef36b2f9-881f-0410-afb5-c4e39611909c
* Do not leak memory if myldap_escape() failsJakub Hrozek2012-01-091-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1590 ef36b2f9-881f-0410-afb5-c4e39611909c
* Return from update_username() if myldap_get_values() ↵Jakub Hrozek2012-01-091-0/+3
| | | | | | | | | | | returns invalid value 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
* user the logging framework, handle exceptions properly ↵Arthur de Jong2012-01-0614-121/+130
| | | | | | and some cleanups git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1588 ef36b2f9-881f-0410-afb5-c4e39611909c
* updated Simplified Chinese (zh_CN) translation of ↵Arthur de Jong2012-01-051-34/+38
| | | | | | debconf templates by zym git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1587 ef36b2f9-881f-0410-afb5-c4e39611909c
* updated Norwegian Bokmål (nb) translation of debconf ↵Arthur de Jong2012-01-021-34/+52
| | | | | | templates by Bjørn Steensrud git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1586 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.8.5 release0.8.5Arthur de Jong2011-12-318-15/+268
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1584 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix versioned build dependency on debhelperArthur de Jong2011-12-301-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1583 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove some information from config that we don't expect ↵Arthur de Jong2011-12-291-9/+0
| | | | | | to use git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1582 ef36b2f9-881f-0410-afb5-c4e39611909c
* support for reading the configuration file (not all ↵Arthur de Jong2011-12-286-24/+254
| | | | | | options are used though) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1581 ef36b2f9-881f-0410-afb5-c4e39611909c
* move the state variables (from command line) from the ↵Arthur de Jong2011-12-282-18/+23
| | | | | | configuration to the main module git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1580 ef36b2f9-881f-0410-afb5-c4e39611909c
* fall back to trying to authenticate with provided ↵Arthur de Jong2011-12-281-0/+4
| | | | | | password (in case rootpwmodpw is not set or unusable) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1579 ef36b2f9-881f-0410-afb5-c4e39611909c
* never request group members for GroupByMemberRequestArthur de Jong2011-12-281-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1578 ef36b2f9-881f-0410-afb5-c4e39611909c
* instead of modifying attmap, modify attribute listArthur de Jong2011-12-281-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1577 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix references to attmap (broken in r1571)Arthur de Jong2011-12-282-9/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1576 ef36b2f9-881f-0410-afb5-c4e39611909c
* typo fix in commentArthur de Jong2011-12-281-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1575 ef36b2f9-881f-0410-afb5-c4e39611909c
* 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