1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/rpc_client
Michael Adam f793c99ca5 Let get_trust_pw() determine the machine_account_name to use.
Up to now each caller used its own logic.

This eliminates code paths where there was a special treatment
of the following situation: the domain given is not our workgroup
(i.e. our own domain) and we are not a DC (i.e. it is not a typical
trusted domain situation). In situation the given domain name was
previously used as the machine account name, resulting in an account
name of DOMAIN\\DOMAIN$, which does not seem very reasonable to me.
get_trust_pw would not have obtained a password in this situation
anyways.

I hope I have not missed an important point here!

Michael
(This used to be commit 6ced4a7f88)
2007-12-13 10:15:17 +01:00
..
cli_ds.c Remove pstrings from everything except srv_spoolss_nt.c. 2007-11-27 14:35:30 -08:00
cli_lsarpc.c Remove pstrings from everything except srv_spoolss_nt.c. 2007-11-27 14:35:30 -08:00
cli_netlogon.c r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
cli_pipe.c Let get_trust_pw() determine the machine_account_name to use. 2007-12-13 10:15:17 +01:00
cli_reg.c Fix winreg callers. 2007-12-03 18:43:19 +01:00
cli_samr.c Replace "unknown" with access_mask when calling samr_CreateUser2(). 2007-12-11 15:26:09 +01:00
cli_spoolss_notify.c r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
cli_spoolss.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
cli_srvsvc.c Remove pstrings from everything except srv_spoolss_nt.c. 2007-11-27 14:35:30 -08:00
cli_svcctl.c r24949: Remove some static buffers 2007-10-10 12:30:29 -05:00
ndr.c ndr: change NTSTAUS into enum ndr_err_code (samba3 callers) 2007-11-09 21:23:16 +01:00