1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4
Andrew Bartlett 9f53b61f06 CVE-2013-4496:samr: Remove ChangePasswordUser
This old password change mechanism does not provide the plaintext to
validate against password complexity, and it is not used by modern
clients.  It also has quite difficult semantics to handle regarding
password lockout.

The missing features in both implementations (by design) were:

 - the password complexity checks (no plaintext)
 - the minimum password length (no plaintext)

Additionally, the source3 version did not check:

 - the minimum password age
 - pdb_get_pass_can_change() which checks the security
   descriptor for the 'user cannot change password' setting.
 - the password history
 - the output of the 'passwd program' if 'unix passwd sync = yes'.

Finally, the mechanism was almost useless, as it was incorrectly
only made available to administrative users with permission
to reset the password.  It is removed here so that it is not
mistakenly reinstated in the future.

Andrew Bartlett

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10245

Change-Id: If2edd3183c177e5ff37c9511b0d0ad0dd9038c66
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://gerrit.samba.org/37
2014-03-13 10:26:03 +01:00
..
auth Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase. 2014-03-05 16:33:22 +01:00
build/pasn1
cldap_server s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
client s4:client: fix some compiler warnings 2014-02-13 11:54:13 +01:00
cluster s4:cluster: use DBWRAP_LOCK_ODER_NONE for local_db_tmp_open() 2014-02-07 16:06:07 +01:00
dns_server s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
dsdb Remove the remaining uses of the macro NT_STATUS_HAVE_NO_MEMORY_AND_FREE in the codebase. 2014-03-05 16:33:21 +01:00
echo_server s4:echo_server fix compiler warnings 2013-12-12 14:21:28 -08:00
heimdal heimdal: Use krb5_free_default_realm() for free() 2014-02-21 15:59:28 +01:00
heimdal_build heimdal_build: only enable libintl functions if everything was found 2014-02-20 01:28:24 +01:00
include Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
kdc s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
ldap_server s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
lib s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
libcli auth4: Remove unused wbc_context 2014-03-05 16:33:21 +01:00
libnet Remove a number of NT_STATUS_HAVE_NO_MEMORY_AND_FREE macros from the codebase. 2014-03-05 16:33:21 +01:00
librpc winbind4: Remove unused winbind_get_idmap irpc operation 2014-03-05 16:33:21 +01:00
nbt_server lib/param: handle non-constant strings properly by passing in a memory context 2014-02-20 10:11:06 +13:00
ntp_signd build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
ntptr spoolss: make spoolss deal with ndr64 SetForm by using proper container object. 2013-01-17 17:11:37 +01:00
ntvfs Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase. 2014-03-05 16:33:22 +01:00
param lib/param: handle non-constant strings properly by passing in a memory context 2014-02-20 10:11:06 +13:00
rpc_server CVE-2013-4496:samr: Remove ChangePasswordUser 2014-03-13 10:26:03 +01:00
script lib/param: generate the param_functions.h containing the prototypes 2014-02-12 13:17:13 +13:00
scripting samba-tool: make provision check for bind version 2014-03-09 02:52:49 +01:00
selftest s4:selftest: run wbinfo tests at the end... 2014-01-06 01:16:13 +01:00
setup samba-tool: make provision check for bind version 2014-03-09 02:52:49 +01:00
smb_server s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
smbd Remove a number of NT_STATUS_HAVE_NO_MEMORY_AND_FREE macros from the codebase. 2014-03-05 16:33:21 +01:00
torture CVE-2013-4496:samr: Remove ChangePasswordUser 2014-03-13 10:26:03 +01:00
utils oLschema2ldif: Add some NULL checks 2013-11-11 21:04:08 +01:00
web_server s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
winbind winbind4: Remove unused winbind_get_idmap irpc operation 2014-03-05 16:33:21 +01:00
wrepl_server Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase. 2014-03-05 16:33:22 +01:00
.clang_complete s3-build: Add .clang_complete. 2011-10-27 17:09:50 +02:00
.valgrind_suppressions
wscript_build build: Add missing deps and make MESSAGING a private library 2012-06-07 06:45:06 +02:00