Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* get files ready for 0.7.6 release0.7.6Arthur de Jong2010-05-278-4/+97
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1123 ef36b2f9-881f-0410-afb5-c4e39611909c
* drop extra parts of package descriptions that should no ↵Arthur de Jong2010-05-261-8/+2
| | | | | | longer be really relevant and update libpam-ldapd description git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1122 ef36b2f9-881f-0410-afb5-c4e39611909c
* update pam-auth-update configuration to always perform ↵Arthur de Jong2010-05-241-4/+4
| | | | | | LDAP autorisation, also pass use_authtok on password modification and spell out session result handling git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1121 ef36b2f9-881f-0410-afb5-c4e39611909c
* make code more consistentArthur de Jong2010-05-241-9/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1120 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix typoArthur de Jong2010-05-241-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1119 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't store use_authtok because pam_get_authtok() looks ↵Arthur de Jong2010-05-241-3/+1
| | | | | | at the arguments itself git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1118 ef36b2f9-881f-0410-afb5-c4e39611909c
* update documentationArthur de Jong2010-05-234-101/+112
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1117 ef36b2f9-881f-0410-afb5-c4e39611909c
* include uid and gid options in default configuration fileArthur de Jong2010-05-231-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1116 ef36b2f9-881f-0410-afb5-c4e39611909c
* update AC?X_PTHREAD macro and update configure script to ↵Arthur de Jong2010-05-232-149/+148
| | | | | | be simpler and add some more checks git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1115 ef36b2f9-881f-0410-afb5-c4e39611909c
* use nslcd --check in init script's status commandArthur de Jong2010-05-231-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1114 ef36b2f9-881f-0410-afb5-c4e39611909c
* make debug logging for pam_authz_search option a little ↵Arthur de Jong2010-05-221-4/+5
| | | | | | more readable git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1113 ef36b2f9-881f-0410-afb5-c4e39611909c
* add libpam-heimdal as an alternative recommends for ↵Arthur de Jong2010-05-201-1/+1
| | | | | | libnss-ldapd git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1112 ef36b2f9-881f-0410-afb5-c4e39611909c
* always clear returned buffer when performing attribute ↵Arthur de Jong2010-05-152-5/+10
| | | | | | mapping (based on a patch by Nalin Dahyabhai <nalin@redhat.com>) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1111 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.7.5 release0.7.5Arthur de Jong2010-05-147-4/+90
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1109 ef36b2f9-881f-0410-afb5-c4e39611909c
* switch to source format 3.0 (native)Arthur de Jong2010-05-142-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1108 ef36b2f9-881f-0410-afb5-c4e39611909c
* print uid as a longArthur de Jong2010-05-141-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1107 ef36b2f9-881f-0410-afb5-c4e39611909c
* perform logging from PAM module to syslog and support ↵Arthur de Jong2010-05-145-29/+106
| | | | | | the debug option to log debugging information git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1106 ef36b2f9-881f-0410-afb5-c4e39611909c
* centralise initialising functions needed for every PAM ↵Arthur de Jong2010-05-131-116/+60
| | | | | | call into one function git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1105 ef36b2f9-881f-0410-afb5-c4e39611909c
* make logging of buffer checks consistentArthur de Jong2010-05-132-3/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1104 ef36b2f9-881f-0410-afb5-c4e39611909c
* also use PAM username instead of one from context for ↵Arthur de Jong2010-05-131-3/+4
| | | | | | session open and close git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1103 ef36b2f9-881f-0410-afb5-c4e39611909c
* replace my_pam_get_authtok() with standard ↵Arthur de Jong2010-05-131-113/+16
| | | | | | pam_get_authtok() function, get rid of get_old_password() and general cleanups and simplifications git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1102 ef36b2f9-881f-0410-afb5-c4e39611909c
* make parsing configuration options global, reorganise a ↵Arthur de Jong2010-05-121-270/+231
| | | | | | bit and make code more consistent and easier to read git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1101 ef36b2f9-881f-0410-afb5-c4e39611909c
* small compatibility improvementsArthur de Jong2010-05-122-3/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1100 ef36b2f9-881f-0410-afb5-c4e39611909c
* only log "LDAP session failed" if we actually triedArthur de Jong2010-05-101-20/+12
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1099 ef36b2f9-881f-0410-afb5-c4e39611909c
* replace my_pam_warn() with pam_info() and pam_error() ↵Arthur de Jong2010-05-106-84/+106
| | | | | | and provide replacement for pam_prompt() also using it in our pam_get_authtok() replacement git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1098 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.7.4 release0.7.4Arthur de Jong2010-05-098-9/+184
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1096 ef36b2f9-881f-0410-afb5-c4e39611909c
* only log "connected to LDAP server" if the previous ↵Arthur de Jong2010-05-091-2/+3
| | | | | | connect failed or we are failing over to a different server git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1095 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename reconnect_maxsleeptime option to reconnect_retrytimeArthur de Jong2010-05-097-11/+20
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1094 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't log errno if it is not set (make error less confusing)Arthur de Jong2010-05-091-6/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1093 ef36b2f9-881f-0410-afb5-c4e39611909c
* handle authentication searches a little differently ↵Arthur de Jong2010-05-091-6/+14
| | | | | | (only try once if an authentication error is returned) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1092 ef36b2f9-881f-0410-afb5-c4e39611909c
* refactor retry timing mechanism to use time between ↵Arthur de Jong2010-05-094-30/+43
| | | | | | first and last error to determin when to rerty and only try once (and don't sleep) when we have been failing for a long time git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1091 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix wrapping of long line (thanks lintian)Arthur de Jong2010-05-081-1/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1090 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename authz_search option to pam_authz_searchArthur de Jong2010-05-084-7/+7
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1089 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement an authz_search option to test whether the ↵Arthur de Jong2010-05-075-3/+163
| | | | | | user is authorised git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1088 ef36b2f9-881f-0410-afb5-c4e39611909c
* tune some buffer sizes and small cleanupsArthur de Jong2010-05-0711-33/+32
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1087 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement test for buffer overflowArthur de Jong2010-05-071-0/+31
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1086 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix buffer overflowArthur de Jong2010-05-071-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1085 ef36b2f9-881f-0410-afb5-c4e39611909c
* have the possibility to generate HTML for manual pages ↵Arthur de Jong2010-05-071-0/+3
| | | | | | (not done by default) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1084 ef36b2f9-881f-0410-afb5-c4e39611909c
* use docbook elements where possibleArthur de Jong2010-05-072-57/+57
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1083 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement a minimum_uid option for the PAM module to ↵Arthur de Jong2010-05-065-16/+84
| | | | | | ignore users that have a lower numeric user id git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1082 ef36b2f9-881f-0410-afb5-c4e39611909c
* include updated filesArthur de Jong2010-05-052-103/+93
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1081 ef36b2f9-881f-0410-afb5-c4e39611909c
* also parse /etc/ldap.conf for systems that use that for ↵Arthur de Jong2010-05-031-0/+1
| | | | | | NSS and PAM configuration git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1080 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't have myldap_set_credentials() try to open a ↵Arthur de Jong2010-04-133-17/+16
| | | | | | connection but have the PAM code perform a search with the new credentials so we re-use the fail-over mechanism in myldap_search() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1079 ef36b2f9-881f-0410-afb5-c4e39611909c
* also have myldap_search() return an LDAP status codeArthur de Jong2010-04-136-35/+43
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1078 ef36b2f9-881f-0410-afb5-c4e39611909c
* small improvements to the test setupArthur de Jong2010-04-013-19/+14
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1077 ef36b2f9-881f-0410-afb5-c4e39611909c
* add an nss_initgroups_ignoreusers option to ignore ↵Arthur de Jong2010-03-204-0/+79
| | | | | | username to group lookups for the specified users git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1076 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove commented-oud default option because it is not ↵Arthur de Jong2010-03-131-20/+0
| | | | | | implemented and we have a better mechanism now git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1075 ef36b2f9-881f-0410-afb5-c4e39611909c
* have less warnings when LDAP_OPT_X_TLS isn't definedArthur de Jong2010-02-281-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1074 ef36b2f9-881f-0410-afb5-c4e39611909c
* document which attributes may be mapped with an expressionArthur de Jong2010-02-281-2/+14
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1073 ef36b2f9-881f-0410-afb5-c4e39611909c
* get files ready for 0.7.3 release0.7.3Arthur de Jong2010-02-277-10/+173
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1071 ef36b2f9-881f-0410-afb5-c4e39611909c