summaryrefslogtreecommitdiff
path: root/pynslcd/shadow.py
AgeCommit message (Collapse)Author
2014-10-04remove non-nslcd stuffLuke Shumaker
2013-08-21Have pynslcd handle mapped userPasswordArthur de Jong
This fixes an error that could occur when the userPassword was retrieved from LDAP and insufficient privileges were available for reading the attribute.
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-04-12Python style changesArthur de Jong
This tries to conform more closely to PEP8. Imports have been checked and, if used only once, moved closer to the use to avoid potential import loops. This also includes a few other minor changes, like using __main__ for utility scripts and variable renames to avoid name clashes.
2013-03-09clean up imports and use ldap.filter.escape_filter_chars() directlyArthur de Jong
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
2011-12-27make logging more consistent and remove test bases from shadow and passwd mapsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1574 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-12-27PEP8 fixesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1573 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-29set maxdays to -1 to indicate no expiry (instead of a long time)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1439 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