summaryrefslogtreecommitdiff
path: root/pynslcd/alias.py
AgeCommit message (Collapse)Author
2014-10-04remove non-nslcd stuffLuke Shumaker
2013-08-17Use retrieve_by, group_by and group_columns in the cacheArthur de Jong
This removes custom retrieve() functions and Query classes from the database modules and uses retrieve_sql retrieve_by, group_by and group_columns to make a custom retrieval query. In the cache module this completely replaces how the query grouping is done. The Query class is now only used inside the cache and the CnAliasedQuery, RowGrouper and related classed have been removed.
2013-08-17Give cache tables friendlier namesArthur de Jong
This also defined the tables for netgroup storage.
2013-08-17Explicitly define tables used for cacheArthur de Jong
This introduces the tables property in the Cache object that is used to define the used tables. This also fixes the storing of mulit-valued attributes in the cache.
2013-08-17Move cache table creation to modulesArthur de Jong
This also moves the creation of a SQLite database connection to a _get_connection() function to ensure the cache is only created when the caches are instantiated.
2013-03-09move Search class to search moduleArthur de Jong
2012-12-24more comment fixesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1879 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-29implement a naive offline cacheArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1615 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-29split the result handling into a convert() and write() stepArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1613 ef36b2f9-881f-0410-afb5-c4e39611909c
2012-01-06user the logging framework, handle exceptions properly and some cleanupsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1588 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-12-12define the search separately from the requestArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1571 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-12-12move check of required attributes and other common tests to the ↵Arthur de Jong
Request.handle_entry() method git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1570 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-05-13simplify request handling by passing read parameters around in a dict ↵Arthur de Jong
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
2011-05-01implement attribute mapping functionality and do some refactoringArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1454 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-05-01pass dn and attributes to functions separatelyArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1452 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-28put standard library imports before application imports and remove some ↵Arthur de Jong
unused imports git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1438 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-12-29add an experimental (currently partial) Python implementation of nslcd to ↵Arthur de Jong
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