summaryrefslogtreecommitdiff
path: root/nslcd/pam.c
AgeCommit message (Collapse)Author
2010-11-17return correct kind of error code from try_pwmod() (bug)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1313 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-11-07log the request with any logged messagesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1301 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-11-04avoid unneeded strdup()s by using a passed buffer to lookup_dn2uid() and ↵Arthur de Jong
using strcmp() in dn2uid() to see if the existing cached value is ok git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1297 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-10-13make buffer sizes for PAM requests consistent (and large enough for most ↵Arthur de Jong
situations) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1267 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-09-05implement a rootpwmodpw option that allows root users to change user ↵Arthur de Jong
passwords without a password prompt git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1206 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-07-18fix commentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1165 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-06-01fix bug in test (r1127)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1130 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-06-01add a debug log message when user authentication was successfulArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1127 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-05-22make debug logging for pam_authz_search option a little more readableArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1113 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-05-12small compatibility improvementsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1100 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-05-08rename authz_search option to pam_authz_searchArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1089 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-05-07implement an authz_search option to test whether the user is authorisedArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1088 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-04-13don't have myldap_set_credentials() try to open a connection but have the ↵Arthur de Jong
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
2010-02-27rename admindn option to rootpwmoddnArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1067 ef36b2f9-881f-0410-afb5-c4e39611909c
2010-01-24add admindn configuration file option that is used when modifying another ↵Arthur de Jong
user's password git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1059 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-10-07implement password changing in the PAM module by performing an LDAP password ↵Arthur de Jong
modify EXOP request git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1000 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-09-24fix for problem when authenticating to LDAP entries without a uid attributeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@992 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-06-03change authorisation request to also include ruser, rhost and tty (based on ↵Arthur de Jong
OpenLDAP cvs) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@916 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-06-01clean up code a little bit and also do username and userdn checks for ↵Arthur de Jong
authorisation call git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@913 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-05-29normalize username with PAM authentication and some reorganisation to make ↵Arthur de Jong
that easier git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@901 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-05-21refactor protocol reading and writing macros to the common directory, use ↵Arthur de Jong
more logical names and in the PAM module no longer use NSS status codes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@887 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-05-08cleanupsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@871 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-05-08set up basic PAM protocol handling and get authentication call working by ↵Arthur de Jong
binding to the server git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@870 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-04-19perform NSLCD_RESULT_SUCCESS to NSLCD_RESULT_BEGIN rename for PAM codeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@837 ef36b2f9-881f-0410-afb5-c4e39611909c
2009-04-18initial version of experimental PAM support taken from ↵Arthur de Jong
OpenLDAP/contrib/slapd-modules/nssov by Howard Chu <hyc@symas.com> (license change of nssov/pam.c to nslcd/pam.c is approved) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@832 ef36b2f9-881f-0410-afb5-c4e39611909c