Author: gd Date: 2006-06-15 11:58:13 +0000 (Thu, 15 Jun 2006) New Revision: 16253
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16253 Log: Fix another host/ UPN case in (the currently unused) cli_rpc_pipe_open_krb5. Guenther Modified: branches/SAMBA_3_0/source/rpc_client/cli_pipe.c trunk/source/rpc_client/cli_pipe.c Changeset: Modified: branches/SAMBA_3_0/source/rpc_client/cli_pipe.c =================================================================== --- branches/SAMBA_3_0/source/rpc_client/cli_pipe.c 2006-06-15 11:44:57 UTC (rev 16252) +++ branches/SAMBA_3_0/source/rpc_client/cli_pipe.c 2006-06-15 11:58:13 UTC (rev 16253) @@ -2716,9 +2716,9 @@ return NULL; } - /* Default service principal is "host/[EMAIL PROTECTED]" */ + /* Default service principal is "[EMAIL PROTECTED]" */ if (!service_princ) { - service_princ = talloc_asprintf(result->mem_ctx, "host/[EMAIL PROTECTED]", + service_princ = talloc_asprintf(result->mem_ctx, "[EMAIL PROTECTED]", cli->desthost, lp_realm() ); if (!service_princ) { cli_rpc_pipe_close(result); Modified: trunk/source/rpc_client/cli_pipe.c =================================================================== --- trunk/source/rpc_client/cli_pipe.c 2006-06-15 11:44:57 UTC (rev 16252) +++ trunk/source/rpc_client/cli_pipe.c 2006-06-15 11:58:13 UTC (rev 16253) @@ -2716,9 +2716,9 @@ return NULL; } - /* Default service principal is "host/[EMAIL PROTECTED]" */ + /* Default service principal is "[EMAIL PROTECTED]" */ if (!service_princ) { - service_princ = talloc_asprintf(result->mem_ctx, "host/[EMAIL PROTECTED]", + service_princ = talloc_asprintf(result->mem_ctx, "[EMAIL PROTECTED]", cli->desthost, lp_realm() ); if (!service_princ) { cli_rpc_pipe_close(result);
