1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-07 00:58:40 +03:00

13 Commits

Author SHA1 Message Date
John Terpstra
7cb5af3527 Patch from Steve Langasek <corlon@netexpress.net>
fix up two issues in
pam_smbpass.  The first, more important issue is adding support for the
(apparently new) LOCAL_SET_PASSWORD flag to local_password_change(),
without which pam_smbpass is a complete and utter no-op.  The second,
lesser issue is that with the advent of ldapsam, it's possible for
pam_smbpass to generate a SIGPIPE that isn't handled by the calling
application.  The most basic signal wrapping is put in place to prevent
this.

Beyond that, the only thing in the patch is a bit of reformatting to
make pam_smb_passwd.c look a bit more like the rest of the code in CVS.
-
Andrew Bartlett
ce1464fb1c Remove silly ideas about taking the LM or NT hash as a password in pam_smbpass.
Andrew Bartlett
-
Andrew Bartlett
b43304c2aa Fix pam_smbpass to always check the return value of pdb_getsampwnam() to
determine if the user exists.

(from post on samba-technical)

Andrew Bartlett
-
Gerald Carter
a3f68a963c compile fixes; needs testing -
Simo Sorce
398b4ff0d4 updates from 2.2 -
Andrew Tridgell
016e203a2c pam_smbpass updates from a.bokovoy@sam-solutions.net -
Martin Pool
79ec88f0da Store some path names in global variables initialized to configure
default, rather than in preprocessor macros.
-
Andrew Bartlett
cea6b6cb22 Fix up smbpasswd -e/-d so that it doesn't change the password under you any
more.

(Previously it set them to 'XXXX' or similar when only the flags were being
changed - a bug I must have introduced when I reworked the passdb end of things
a few weeks back.)

Adds a new local flag:  LOCAL_SET_PASSWORD to specify that the password is
actually to be changed.

Andrew Bartlett
-
Andrew Bartlett
6cce6350ca samba-bugs@samba.org -> samba@samba.org
The rest of this is still broken however...
-
Jeremy Allison
cf99f93613 Renamed inbuilt xstrdup to smb_xstrdup.
Jeremy.
-
Simo Sorce
d6a3372216 add a comment to make the code more readable -
Andrew Tridgell
debb471267 The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
-
John Terpstra
1de7022f98 Added Steve Langasek <vorlon@netexpress.net> pam_smbpass PAM module code.
Note: Still have to add build stuff - not ready yet.
-