Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/pynslcd
Commit message (Collapse)AuthorAgeFilesLines
* implement a naive offline cacheArthur de Jong2012-01-2913-4/+516
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1615 ef36b2f9-881f-0410-afb5-c4e39611909c
* small simplification in group lookups (member attributes ↵Arthur de Jong2012-01-291-13/+9
| | | | | | are not requested anyway) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1614 ef36b2f9-881f-0410-afb5-c4e39611909c
* split the result handling into a convert() and write() stepArthur de Jong2012-01-2912-114/+111
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1613 ef36b2f9-881f-0410-afb5-c4e39611909c
* formatting fixesArthur de Jong2012-01-201-1/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1611 ef36b2f9-881f-0410-afb5-c4e39611909c
* add missing Python modules to tarballArthur de Jong2012-01-201-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1603 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
* 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-285-23/+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
* 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
* 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
* 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
* replace last traces of groupOfUniqueNamesArthur de Jong2011-08-051-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1488 ef36b2f9-881f-0410-afb5-c4e39611909c
* switch to using the member attribute by default instead ↵Arthur de Jong2011-08-031-6/+6
| | | | | | of uniqueMember git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1484 ef36b2f9-881f-0410-afb5-c4e39611909c
* simplify request handling by passing read parameters ↵Arthur de Jong2011-05-1313-178/+144
| | | | | | around in a dict instead of setting object properties (this mainly simplifies search filter building) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1455 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement attribute mapping functionality and do some ↵Arthur de Jong2011-05-0115-291/+417
| | | | | | refactoring git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1454 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove unneeded importArthur de Jong2011-05-011-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1453 ef36b2f9-881f-0410-afb5-c4e39611909c
* pass dn and attributes to functions separatelyArthur de Jong2011-05-0112-28/+18
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1452 ef36b2f9-881f-0410-afb5-c4e39611909c
* small code improvementsArthur de Jong2011-05-013-10/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1451 ef36b2f9-881f-0410-afb5-c4e39611909c
* set maxdays to -1 to indicate no expiry (instead of a ↵Arthur de Jong2011-04-291-1/+1
| | | | | | long time) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1439 ef36b2f9-881f-0410-afb5-c4e39611909c
* put standard library imports before application imports ↵Arthur de Jong2011-04-2813-53/+40
| | | | | | and remove some unused imports git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1438 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove duplicate and wrong write() methodArthur de Jong2011-04-281-33/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1437 ef36b2f9-881f-0410-afb5-c4e39611909c
* sync validname regular expression with nslcdArthur de Jong2011-03-261-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1415 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement service, protocol and rpc lookupsArthur de Jong2011-03-244-0/+292
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1410 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix the case where the RDN is for some reason not in the cnArthur de Jong2011-03-242-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1409 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix configuration nameArthur de Jong2011-03-241-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1408 ef36b2f9-881f-0410-afb5-c4e39611909c
* truncate pidfile to ensure remains of previous value is goneArthur de Jong2011-03-241-1/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1407 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix use of spacesArthur de Jong2011-03-231-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1406 ef36b2f9-881f-0410-afb5-c4e39611909c
* update copyright headers to add missing yearsArthur de Jong2011-03-103-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1384 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement module for netgroup lookupsArthur de Jong2011-03-063-2/+83
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1381 ef36b2f9-881f-0410-afb5-c4e39611909c
* add network name lookupsArthur de Jong2011-03-063-2/+91
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1380 ef36b2f9-881f-0410-afb5-c4e39611909c
* clean up compiled python filesArthur de Jong2011-03-061-0/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1377 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix search filter objectClass for hostsArthur de Jong2011-03-061-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1376 ef36b2f9-881f-0410-afb5-c4e39611909c
* implement module for hostname lookupsArthur de Jong2011-02-144-1/+113
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1373 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix commentArthur de Jong2011-02-141-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1372 ef36b2f9-881f-0410-afb5-c4e39611909c
* clean up and add missing files to installationArthur de Jong2011-02-142-68/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1371 ef36b2f9-881f-0410-afb5-c4e39611909c
* add an experimental (currently partial) Python ↵Arthur de Jong2010-12-2914-0/+1550
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