svn commit: samba r16253 - branches/SAMBA_3_0/source/rpc_client
trunk/source/rpc_client
gd at samba.org
gd at samba.org
Thu Jun 15 11:58:13 GMT 2006
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/server at 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);
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/server at 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);
More information about the samba-cvs
mailing list