diff options
author | Günther Deschner <gd@samba.org> | 2006-06-15 11:58:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:28 -0500 |
commit | a6e662f5565bbdee8fcee36882a59f421ec54732 (patch) | |
tree | 6a70d9e338815a7e3a91264537f04be34f9f00cf | |
parent | c56f00252528e236f6e9f4db588ec092c93d9c2a (diff) | |
download | samba-a6e662f5565bbdee8fcee36882a59f421ec54732.tar.gz samba-a6e662f5565bbdee8fcee36882a59f421ec54732.tar.bz2 samba-a6e662f5565bbdee8fcee36882a59f421ec54732.zip |
r16253: Fix another host/ UPN case in (the currently unused)
cli_rpc_pipe_open_krb5.
Guenther
(This used to be commit fa19099112490daa085bb310f2f4ed877bb22b40)
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 11eb21df44..d41c1ef12a 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2716,9 +2716,9 @@ struct rpc_pipe_client *cli_rpc_pipe_open_krb5(struct cli_state *cli, return NULL; } - /* Default service principal is "host/server@realm" */ + /* Default service principal is "desthost$@realm" */ if (!service_princ) { - service_princ = talloc_asprintf(result->mem_ctx, "host/%s@%s", + service_princ = talloc_asprintf(result->mem_ctx, "%s$@%s", cli->desthost, lp_realm() ); if (!service_princ) { cli_rpc_pipe_close(result); |