summaryrefslogtreecommitdiff
path: root/source3/lib/pam_errors.c
AgeCommit message (Collapse)AuthorFilesLines
2002-05-28Updates to better report some NTSTATUS errors into PAM, and update to PAMAndrew Bartlett1-0/+1
to correctly allow password changes on expired passwords. (No security implications, as its just a 'will I let you talk to the server' check). pam_winbind checks the password prior to changing it, so that users don't have to make up and type their new password when they havn't even got the old one right. This also helps with stacking etc. Andrew Bartlett (This used to be commit 2b78d493002a3ba13533429c6a14f5c0a92f43d1)
2002-04-01cope with a missing PAM defineAndrew Tridgell1-3/+6
(This used to be commit e5c3648fe721d659c8b90a6987998ada4790592b)
2002-03-23Make a number of the lookup tables 'const'. I'm told this assists in sharingAndrew Bartlett1-2/+2
memory between users of shared libs. Andrew Bartlett (This used to be commit 41dd5a4d292bb08fa313f6220014cd9b4490237b)
2002-02-06Try to get this finally working. (Note to self: *always* check build farm...)Andrew Bartlett1-2/+2
:-) Andrew Bartlett (This used to be commit 542e0e37455e6bcd8e0c248b3bb6ede8306d1656)
2002-02-05See if we can get slightly valid C for the non-PAM case here.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 59afc3d6daad2770219dba1ca113869967eefc23)
2002-02-05Drastic impromvents to pam_winbind.Andrew Bartlett1-0/+122
This adds code to do generic PAM -> NTSTATUS and NTSTATUS -> PAM error conversions, and uses them to make the error handling in pam_winbind sane. In particular, pam_winbind now uses PAM error codes, not silly '-1, -2 ...' stuff, and logs the NTSTATUS error that winbind now sends over the pipe. Added code to wbinfo to display these - makes a big difference in debugging winbindd. The main change here is the code to allow pam_winbind password changing to correctly stack - This code ripped from pam_unix, and the copyright attached. (Same as for all pam modules, including pam_winbind) Andrew Bartlett (This used to be commit dc1a72f896b83bc1ad3c7bf6c12c36ace3967280)