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:
parent
c56f002525
commit
a6e662f556
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user