1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 0001-01-01 00:00:00 +00:00
Andrew Tridgell
e5c3648fe7 cope with a missing PAM define 0001-01-01 00:00:00 +00:00
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
0001-01-01 00:00:00 +00:00
Andrew Bartlett
542e0e3745 Try to get this finally working. (Note to self: *always* check build farm...)
:-)

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
59afc3d6da See if we can get slightly valid C for the non-PAM case here.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
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
0001-01-01 00:00:00 +00:00