Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* get files ready for 0.8.0 release0.8.0Arthur de Jong2010-12-308-17/+698
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1358 ef36b2f9-881f-0410-afb5-c4e39611909c
* update copyright informationArthur de Jong2010-12-302-37/+35
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1357 ef36b2f9-881f-0410-afb5-c4e39611909c
* run debconf-updatepo (new and updated templates)Arthur de Jong2010-12-3019-575/+4631
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1356 ef36b2f9-881f-0410-afb5-c4e39611909c
* put headers of .po files in a consistent formatArthur de Jong2010-12-3018-86/+50
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1355 ef36b2f9-881f-0410-afb5-c4e39611909c
* integrate Solaris support developed by Ted C. Cheng of ↵Arthur de Jong2010-12-3020-23/+1422
|\ | | | | | | | | | | Symas Corporation that was developed on the -solaris branch git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1354 ef36b2f9-881f-0410-afb5-c4e39611909c
| * correctly set nss_ldap_so_DEPENDENCIESArthur de Jong2010-12-301-1/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1353 ef36b2f9-881f-0410-afb5-c4e39611909c
| * split netgroup backend into a "normal" backend and one ↵Arthur de Jong2010-12-301-93/+84
| | | | | | | | | | | | for setnetgrent git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1352 ef36b2f9-881f-0410-afb5-c4e39611909c
| * implement buffer checking and simplify code somewhatArthur de Jong2010-12-302-28/+31
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1351 ef36b2f9-881f-0410-afb5-c4e39611909c
| * move Solaris specific NSS functions to separate fileArthur de Jong2010-12-303-37/+53
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1350 ef36b2f9-881f-0410-afb5-c4e39611909c
| * merge changes from trunkArthur de Jong2010-12-2935-88/+2011
| |\ | |/ |/| | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1349 ef36b2f9-881f-0410-afb5-c4e39611909c
* | fix distcheck by passing --with-pam-seclib-dir to ↵Arthur de Jong2010-12-292-4/+4
| | | | | | | | | | | | configure and remove unneeded slashes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1348 ef36b2f9-881f-0410-afb5-c4e39611909c
* | add an experimental (currently partial) Python ↵Arthur de Jong2010-12-2917-3/+1725
| | | | | | | | | | | | implementation of nslcd to see if we can get the same features with easier to maintain code git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1347 ef36b2f9-881f-0410-afb5-c4e39611909c
* | allow attribute mapping with an expression for the ↵Arthur de Jong2010-12-287-37/+52
| | | | | | | | | | | | userPassword attribute for passwd, group and shadow entries and by default map it to the unmatchable password ("*") to avoid accidentally leaking password information git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1346 ef36b2f9-881f-0410-afb5-c4e39611909c
* | try to update the shadowLastChange attribute of a user ↵Arthur de Jong2010-12-265-1/+90
| | | | | | | | | | | | on password change (the update is only tried if the attribute is present to begin with) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1345 ef36b2f9-881f-0410-afb5-c4e39611909c
* | return connection reset when connection was closed by ↵Arthur de Jong2010-12-261-1/+6
| | | | | | | | | | | | the other end git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1344 ef36b2f9-881f-0410-afb5-c4e39611909c
* | paging isn't supported by OpenLDAP when chasing referralsArthur de Jong2010-12-261-1/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1343 ef36b2f9-881f-0410-afb5-c4e39611909c
* | also support the tls_cacert option as an alias for ↵Arthur de Jong2010-12-261-1/+2
| | | | | | | | | | | | tls_cacertfile git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1342 ef36b2f9-881f-0410-afb5-c4e39611909c
* | add notes on ignored options when using GnuTLS (based on ↵Arthur de Jong2010-12-261-0/+4
| | | | | | | | | | | | #513270 which was reported against the openldap package by Peter Palfrader) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1341 ef36b2f9-881f-0410-afb5-c4e39611909c
* | also support tilde (~) in user and group names, except ↵Arthur de Jong2010-12-241-1/+1
| | | | | | | | | | | | as first character git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1340 ef36b2f9-881f-0410-afb5-c4e39611909c
* | make logic of character tests easier to readArthur de Jong2010-12-241-7/+14
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1339 ef36b2f9-881f-0410-afb5-c4e39611909c
* | implement a nss_min_uid option to filter user entries ↵Arthur de Jong2010-12-205-21/+88
| | | | | | | | | | | | returned by LDAP git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1338 ef36b2f9-881f-0410-afb5-c4e39611909c
* | sort group members by alphabet to not be dependant on ↵Arthur de Jong2010-12-181-11/+21
| | | | | | | | | | | | the order of attributes returned and the internal softing of the set git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1337 ef36b2f9-881f-0410-afb5-c4e39611909c
* | update tests with current test set-up (with chasing a ↵Arthur de Jong2010-12-183-1/+4
| | | | | | | | | | | | referral and some other minor changes) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1336 ef36b2f9-881f-0410-afb5-c4e39611909c
| * move LDAP_BE() definitionArthur de Jong2010-12-172-3/+2
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1335 ef36b2f9-881f-0410-afb5-c4e39611909c
| * remove debugging left-oversArthur de Jong2010-12-161-3/+0
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1334 ef36b2f9-881f-0410-afb5-c4e39611909c
| * switch to a common back-end with a common constructor ↵Arthur de Jong2010-12-1610-188/+136
| | | | | | | | | | | | and destructor and put file pointer shared between {set,get,end}ent() calls in there git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1333 ef36b2f9-881f-0410-afb5-c4e39611909c
| * split NSS notes into a Glibc and a Solaris section and ↵Arthur de Jong2010-12-161-4/+38
| | | | | | | | | | | | add Solaris documentation pointers git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1332 ef36b2f9-881f-0410-afb5-c4e39611909c
| * have a more consistent naming convention for static ↵Arthur de Jong2010-12-1310-124/+124
| | | | | | | | | | | | lookup functions git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1331 ef36b2f9-881f-0410-afb5-c4e39611909c
| * fix assignment in if statement (was broken in r1262)Arthur de Jong2010-12-139-20/+20
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1330 ef36b2f9-881f-0410-afb5-c4e39611909c
| * merge changes from trunkArthur de Jong2010-12-1226-231/+505
| |\ | |/ |/| | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1329 ef36b2f9-881f-0410-afb5-c4e39611909c
* | pass the ld to do_bind() instead of the session to use ↵Arthur de Jong2010-12-121-14/+18
| | | | | | | | | | | | the correct ld from do_rebind() git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1328 ef36b2f9-881f-0410-afb5-c4e39611909c
* | always return a positive authorisation result during ↵Arthur de Jong2010-12-121-6/+6
| | | | | | | | | | | | authentication because we don't do any authorisation checks during authentication and this may confuse the PAM module if it's only used for authorisation git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1327 ef36b2f9-881f-0410-afb5-c4e39611909c
* | fallback to standard PAM error message if one wasn't ↵Arthur de Jong2010-12-121-0/+5
| | | | | | | | | | | | returned by nslcd git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1326 ef36b2f9-881f-0410-afb5-c4e39611909c
* | fix commentArthur de Jong2010-12-121-1/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1325 ef36b2f9-881f-0410-afb5-c4e39611909c
* | include extra assertion checksArthur de Jong2010-12-111-0/+2
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1322 ef36b2f9-881f-0410-afb5-c4e39611909c
* | in each worker wake up once in a while to check whether ↵Arthur de Jong2010-12-083-12/+54
| | | | | | | | | | | | any existing LDAP connections should be closed git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1319 ef36b2f9-881f-0410-afb5-c4e39611909c
* | in try_bind(), perform the search ourselves instead of ↵Arthur de Jong2010-12-031-3/+22
| | | | | | | | | | | | using lookup_dn2uid() to also be able to match administrator DNs (thanks to Thaddeus J. Kollar for spotting this) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1318 ef36b2f9-881f-0410-afb5-c4e39611909c
* | fix handling of try_bind() result code in ↵Arthur de Jong2010-12-031-3/+3
| | | | | | | | | | | | nslcd_pam_authc() (patch by Thaddeus J. Kollar) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1317 ef36b2f9-881f-0410-afb5-c4e39611909c
* | close all open file descriptors on startArthur de Jong2010-11-261-0/+8
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1316 ef36b2f9-881f-0410-afb5-c4e39611909c
* | return correct PAM status code for when LDAP server is ↵Arthur de Jong2010-11-173-9/+19
| | | | | | | | | | | | unavailable (based on a patch by Pierre Gambarotto) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1315 ef36b2f9-881f-0410-afb5-c4e39611909c
* | switch all internal functions to return an LDAP status codeArthur de Jong2010-11-171-27/+31
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1314 ef36b2f9-881f-0410-afb5-c4e39611909c
* | return correct kind of error code from try_pwmod() (bug)Arthur de Jong2010-11-171-1/+2
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1313 ef36b2f9-881f-0410-afb5-c4e39611909c
* | implement configuring SASL authentication using Debconf, ↵Arthur de Jong2010-11-103-18/+165
| | | | | | | | | | | | based on a patch by Daniel Dehennin git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1312 ef36b2f9-881f-0410-afb5-c4e39611909c
* | fix for problem with undefined values in read_config() ↵Arthur de Jong2010-11-101-0/+2
| | | | | | | | | | | | function git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1311 ef36b2f9-881f-0410-afb5-c4e39611909c
* | split reading values from a configfile into a separate ↵Arthur de Jong2010-11-071-21/+20
| | | | | | | | | | | | function and also ensure that tls_reqcert is correctly read git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1310 ef36b2f9-881f-0410-afb5-c4e39611909c
* | add comment describing functionArthur de Jong2010-11-071-0/+1
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1309 ef36b2f9-881f-0410-afb5-c4e39611909c
* | split updating configuration file based on debconf value ↵Arthur de Jong2010-11-071-41/+30
| | | | | | | | | | | | to separate function and make config option renaming consistent git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1308 ef36b2f9-881f-0410-afb5-c4e39611909c
* | fix installation directory for PAM module (was broken in ↵Arthur de Jong2010-11-071-1/+1
| | | | | | | | | | | | r1239) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1307 ef36b2f9-881f-0410-afb5-c4e39611909c
* | move special casing of handling bindpw removal to ↵Arthur de Jong2010-11-071-11/+7
| | | | | | | | | | | | cfg_disable() function git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1306 ef36b2f9-881f-0410-afb5-c4e39611909c
* | handle tls_reqcert option consistently with other optionsArthur de Jong2010-11-072-4/+6
| | | | | | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1305 ef36b2f9-881f-0410-afb5-c4e39611909c