diff options
author | Rafal Szczesniak <mimir@samba.org> | 2007-08-31 21:25:53 +0000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-29 18:13:22 +0200 |
commit | 6c8f19cd6cc21106a71ab9d6bca5de76c71f0bca (patch) | |
tree | 70899ae062ce381a1f0ce60d67f0cd48e66fe47d | |
parent | 23decdf98961caa6d6561b1886d902c0d71418e4 (diff) | |
download | samba-6c8f19cd6cc21106a71ab9d6bca5de76c71f0bca.tar.gz |
r24853: Rename function as Jerry asked.
s/net_use_upn_machine_account/net_use_krb_machine_account/
rafal
(cherry picked from commit 86af9fedad71697f22cc739518340f7753b8f9da)
-rw-r--r-- | source/utils/net.c | 6 | ||||
-rw-r--r-- | source/utils/net_ads.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/utils/net.c b/source/utils/net.c index cde32856f14..5a81edb0f0a 100644 --- a/source/utils/net.c +++ b/source/utils/net.c @@ -346,10 +346,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; @@ -1054,7 +1054,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/source/utils/net_ads.c b/source/utils/net_ads.c index 725cde5ca5a..d6a52b833ab 100644 --- a/source/utils/net_ads.c +++ b/source/utils/net_ads.c @@ -886,7 +886,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)) { @@ -2170,7 +2170,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(); |