1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

20 Commits

Author SHA1 Message Date
Gerald Carter
1caa6b23e4 ading new files from 3.0
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
2003-07-16 05:42:34 +00:00
Gerald Carter
4a090ba06a trying to get HEAD building again. If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE
(This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-07-16 05:34:56 +00:00
Simo Sorce
7474488713 fix pam_smbpass
typos
(This used to be commit 7e28ee1cf8db065f2518b4543f2e54da97cc19e2)
2003-05-02 17:44:59 +00:00
Simo Sorce
75cace04fd *id_to_*id call reshape to return NTSTATUS errors
plus internal fixes
1st stage
(This used to be commit 6d036761e565bc93964bb3c939d5b7d78d5778a3)
2003-05-01 11:47:48 +00:00
Andrew Bartlett
d1607e1cdb Get pam_smbpass to compile again (it probably won't link or run, but at least
it compiles and lets the build farm get on it's way)
(This used to be commit 7498d69d9d69f70a4c7511b5032d7d5d2b9c846f)
2003-04-30 13:56:02 +00:00
Simo Sorce
a1eaa7d5e0 This is a nice rewrite:
SAM_ACCOUNT does not have anymore uid and gid fields
all the code that used them has been fixed to use the proper idmap calls

fix to idmap_tdb for first time idmap.tdb initialization.

auth_serversupplied_info structure has now an uid and gid field

few other fixes to make the system behave correctly with idmap

tested only with tdbsam, but smbpasswd and nisplus should be ok

have not tested ldap !
(This used to be commit 6a6f6032467e55aa9b76390e035623976477ba42)
2003-04-29 22:06:16 +00:00
John Terpstra
8657fc91da PAtch from VORLON
(This used to be commit 2f266669b22cba6771189a9eb4503bf64ebb744b)
2003-04-26 19:45:07 +00:00
John Terpstra
b610c18bd9 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.
(This used to be commit 7cb5af35273097f913bff6894fe03050a18e1def)
2003-04-08 04:44:26 +00:00
Andrew Bartlett
0b2028e6ce Remove silly ideas about taking the LM or NT hash as a password in pam_smbpass.
Andrew Bartlett
(This used to be commit ce1464fb1c4c00de22b0e65c3199bc2eacea4d65)
2002-11-24 08:38:53 +00:00
Andrew Bartlett
e47acb0147 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
(This used to be commit b43304c2aa406267ef157dd0ac59319d6c494ce4)
2002-08-21 11:15:10 +00:00
Gerald Carter
9ac3ca512a compile fixes; needs testing
(This used to be commit a3f68a963c0dc5ba5e8601633e9b532fa32145cd)
2002-05-09 04:05:37 +00:00
Simo Sorce
b79fa88b4d updates from 2.2
(This used to be commit 398b4ff0d40d89b3e96d481807f85f15b7a7966a)
2002-01-12 23:12:13 +00:00
Andrew Tridgell
65cfe6a492 pam_smbpass updates from a.bokovoy@sam-solutions.net
(This used to be commit 016e203a2c5286d8b48ab3eff0226affc203deaf)
2001-12-11 23:44:33 +00:00
Martin Pool
f741f65673 Store some path names in global variables initialized to configure
default, rather than in preprocessor macros.
(This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-11-19 02:49:53 +00:00
Andrew Bartlett
15741d2fe4 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
(This used to be commit cea6b6cb228c7e1f0c2d45951590e0d8fb8b315c)
2001-10-30 05:21:16 +00:00
Andrew Bartlett
1f511942b2 samba-bugs@samba.org -> samba@samba.org
The rest of this is still broken however...
(This used to be commit 6cce6350caf034bdf6e5b6417e762bebc3dd97c8)
2001-10-26 23:12:32 +00:00
Jeremy Allison
61adb3396d Renamed inbuilt xstrdup to smb_xstrdup.
Jeremy.
(This used to be commit cf99f9361370c521f28dcced008cbfec9fc38de5)
2001-10-22 02:43:20 +00:00
Simo Sorce
f3cd2353de add a comment to make the code more readable
(This used to be commit d6a33722168c64eb948c52e303cfb1cd4cfda7f9)
2001-08-24 18:29:37 +00:00
Andrew Tridgell
87fbb7092b 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.
(This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-04 07:15:53 +00:00
John Terpstra
2321514e93 Added Steve Langasek <vorlon@netexpress.net> pam_smbpass PAM module code.
Note: Still have to add build stuff - not ready yet.
(This used to be commit 1de7022f98b64b15503aaf48c8d729789fc49781)
2001-04-24 20:00:12 +00:00