summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2007-08-31 21:25:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:28 -0500
commit00737da4f4e47f43a2fcfcbcecc7d0b44c2dd774 (patch)
tree2b0d50b5bedff805946a0f7bf91619ebf6f52a6d
parent57ac659fb6875be42c306f63984c5b9c8073c878 (diff)
downloadsamba-00737da4f4e47f43a2fcfcbcecc7d0b44c2dd774.tar.gz
samba-00737da4f4e47f43a2fcfcbcecc7d0b44c2dd774.tar.bz2
samba-00737da4f4e47f43a2fcfcbcecc7d0b44c2dd774.zip
r24853: Rename function as Jerry asked.
s/net_use_upn_machine_account/net_use_krb_machine_account/ rafal (This used to be commit 86af9fedad71697f22cc739518340f7753b8f9da)
-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();