mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
r24853: Rename function as Jerry asked.
s/net_use_upn_machine_account/net_use_krb_machine_account/ rafal (This used to be commit 86af9fedad71697f22cc739518340f7753b8f9da)
This commit is contained in:
parent
57ac659fb6
commit
00737da4f4
@ -341,10 +341,10 @@ NTSTATUS connect_dst_pipe(struct cli_state **cli_dst, struct rpc_pipe_client **p
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Use the local machine account (upn) and password for this session.
|
||||
Use the local machine account (krb) and password for this session.
|
||||
****************************************************************************/
|
||||
|
||||
int net_use_upn_machine_account(void)
|
||||
int net_use_krb_machine_account(void)
|
||||
{
|
||||
char *user_name = NULL;
|
||||
|
||||
@ -1066,7 +1066,7 @@ static struct functable net_func[] = {
|
||||
/* it is very useful to be able to make ads queries as the
|
||||
machine account for testing purposes and for domain leave */
|
||||
|
||||
net_use_upn_machine_account();
|
||||
net_use_krb_machine_account();
|
||||
}
|
||||
|
||||
if (!opt_password) {
|
||||
|
@ -882,7 +882,7 @@ static NTSTATUS net_ads_join_ok(void)
|
||||
return NT_STATUS_ACCESS_DENIED;
|
||||
}
|
||||
|
||||
net_use_upn_machine_account();
|
||||
net_use_krb_machine_account();
|
||||
|
||||
status = ads_startup(True, &ads);
|
||||
if (!ADS_ERR_OK(status)) {
|
||||
@ -2187,7 +2187,7 @@ int net_ads_changetrustpw(int argc, const char **argv)
|
||||
return -1;
|
||||
}
|
||||
|
||||
net_use_upn_machine_account();
|
||||
net_use_krb_machine_account();
|
||||
|
||||
use_in_memory_ccache();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user