1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r16253: Fix another host/ UPN case in (the currently unused)

cli_rpc_pipe_open_krb5.

Guenther
(This used to be commit fa19099112)
This commit is contained in:
Günther Deschner 2006-06-15 11:58:13 +00:00 committed by Gerald (Jerry) Carter
parent c56f002525
commit a6e662f556

View File

@ -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);