summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net.c6
-rw-r--r--source3/utils/net_ads.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index fe8db1a4bf..962da0b39e 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -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) {
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index bb7945dbf5..5646a0c8a8 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -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();