1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-03 04:23:50 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Günther Deschner
fe3ed63d29 r20183: Fix the build.
Guenther
2007-10-10 12:16:31 -05:00
Jeremy Allison
794ebd8a84 r20181: Improve NT status to pam error mapping.
Jeremy.
2007-10-10 12:16:30 -05:00
Gerald Carter
17e63ac4ed r13316: Let the carnage begin....
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Andrew Bartlett
7495cafd42 Add a few more NTSTATUS <=> PAM error mappings.
Andrew Bartlett
-
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
-
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
Andrew Tridgell
e5c3648fe7 cope with a missing PAM define -
Andrew Bartlett
41dd5a4d29 Make a number of the lookup tables 'const'. I'm told this assists in sharing
memory between users of shared libs.

Andrew Bartlett
-
Andrew Bartlett
542e0e3745 Try to get this finally working. (Note to self: *always* check build farm...)
:-)

Andrew Bartlett
-
Andrew Bartlett
59afc3d6da See if we can get slightly valid C for the non-PAM case here.
Andrew Bartlett
-
Andrew Bartlett
dc1a72f896 Drastic impromvents to pam_winbind.
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
-