1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/passdb
Andrew Bartlett 37f5d822d6 passdb: Use common code in cli_credentials_set_machine_account_db_ctx()
This avoids some duplication in setting the machine account passsword
for the domain member and DC case.

This does not yet remove the duplication, that requires a bigger
restructure of the various routines used here to obtain the machine
and domain trust secrets.

Also no longer used is the timeout/2 code to not set the previous
password.  It is now always passed to the caller.

Andrew Bartlett

Change-Id: Idd5bafedf4cbac30b174955d743ec4128a6902ee
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-10-17 12:57:07 +02:00
..
ABI s3:passdb: add pdb_get_trust_credentials() 2014-09-27 19:42:37 +02:00
account_pol.c dbwrap: add a dbwrap_flags argument to db_open() 2014-02-07 16:06:06 +01:00
login_cache.c
lookup_sid.c passdb: add missing newline to debug message in get_primary_group_sid() 2014-08-09 00:44:06 +02:00
lookup_sid.h
machine_account_secrets.c secrets: Ensure we store the secureChannelType when written to secrets.ldb 2014-07-04 02:52:35 +02:00
machine_sid.c
machine_sid.h
passdb.c passdb: Use common code in cli_credentials_set_machine_account_db_ctx() 2014-10-17 12:57:07 +02:00
pdb_compat.c
pdb_get_set.c passdb: Avoid use-after-free when setting a plaintext password 2014-09-08 07:26:34 +02:00
pdb_interface.c lib/util: move memcache.[ch] to the toplevel 'samba-util' library 2014-07-18 15:43:33 +02:00
pdb_ipa.c
pdb_ipa.h
pdb_ldap_schema.c
pdb_ldap_schema.h
pdb_ldap_util.c
pdb_ldap_util.h
pdb_ldap.c passdb: Use talloc_zero_array 2014-09-20 08:29:31 +02:00
pdb_ldap.h
pdb_nds.c
pdb_nds.h
pdb_samba_dsdb.c passdb: Use sam_get_results_trust() and implement pdb_samba_dsdb_get_trusteddom_pw 2014-09-01 00:36:42 +02:00
pdb_secrets.c
pdb_secrets.h
pdb_smbpasswd.c param: rename lp function and variable from "renameuser_script" to "rename_user_script" 2014-02-07 16:19:16 -08:00
pdb_smbpasswd.h
pdb_tdb.c param: rename lp function and variable from "renameuser_script" to "rename_user_script" 2014-02-07 16:19:16 -08:00
pdb_tdb.h
pdb_unixid.c
pdb_util.c
pdb_wbc_sam.c
pdb_wbc_sam.h
py_passdb.c s3:passdb: Fix the use of uninitialized scalar variable. 2014-02-24 09:43:44 +05:30
secrets_lsa.c
secrets.c lib-util: rename memdup to smb_memdup and fix all callers 2014-04-16 20:39:08 +02:00
wscript_build build: get rid of source strings from source3/passdb/wscript_build 2013-09-24 23:00:38 +02:00