summaryrefslogtreecommitdiffstats
path: root/src/sss_client
Commit message (Collapse)AuthorAgeFilesLines
* Allow arbitrary-length PAM messagesStephen Gallagher2010-03-251-3/+20
| | | | | | | | | The PAM standard allows for messages of any length to be returned to the client. We were discarding all messages of length greater than 255. This patch dynamically allocates the message buffers so we can pass the complete message. This resolves https://fedorahosted.org/sssd/ticket/432
* Improvements for LDAP Password Policy supportRalf Haferkamp2010-03-222-7/+98
| | | | | | | | Display warnings about remaining grace logins and password expiration to the user, when LDAP Password Policies are used. Improved detection if LDAP Password policies are supported by LDAP Server.
* Fixed buffer alignment in exchange_credentials().George McCollister2010-03-151-5/+9
| | | | | | buf needs to be 32 bit aligned on ARM. Also made the fix on the server side. Signed-off-by: George McCollister <George.McCollister@gmail.com>
* Prompt for old password even when running as rootRalf Haferkamp2010-03-151-2/+4
| | | | | When changing an expired password (during e.g. login) the PAM module needs to prompt for the old password even when running as root.
* Warn user about an expired passwordRalf Haferkamp2010-03-151-1/+6
|
* Add better checks on PAM socketSumit Bose2010-03-111-4/+118
| | | | | - check if the public socket belongs to root and has 0666 permissions - use a SCM_CREDENTIALS message if available
* Fixed alignment problems in nss client/serverGeorge McCollister2010-03-083-7/+32
| | | | | | | | I fixed a handful of alignment problems in sss_client and nss responder. Enumerating group and passwd with getgrent and getpwent now works correctly on ARM. Signed-off-by: George McCollister <georgem@novatech-llc.com>
* Define _GNU_SOURCE in pam_sss.c.George McCollister2010-03-041-0/+4
| | | | | _GNU_SOURCE needs to be defined when using strndup. Signed-off-by: George McCollister <georgem@novatech-llc.com>
* Handle expired passwords like other PAM modulesSumit Bose2010-02-232-19/+51
| | | | | | | | | | | | | So far we handled expired password during authentication. Other PAM modules typically detect expired password during account management and return PAM_NEW_AUTHTOK_REQD if the password is expired and should be changed. The PAM library then calls the change password routines. To meet these standards pam_sss is change accordingly. As a result it is now possible to update an expired password via ssh if sssd is running with PasswordAuthentication=yes. One drawback due to limitations of PAM is that the user now has to type his current password again before setting a new one.
* Add documentation for PAM response messagesSumit Bose2010-02-191-19/+200
|
* Fix bad mergeStephen Gallagher2010-02-182-0/+839
| | | | | | | | Merging ba8937d83675c7d69808d1d3df8f823afdc5ce2a left the COPYING and COPYING.LESSER files in the now-defunct sss_client directory. This patch moves them into the right location and fixes the spec file to look for them correctly.
* Fix licensing issues for sss_clientStephen Gallagher2010-02-185-30/+72
|
* Build all manpages from a single locationStephen Gallagher2010-02-181-97/+0
|
* Rename server/ directory to src/Stephen Gallagher2010-02-1811-0/+3299
Also update BUILD.txt