From f328d29f96f1db187bf6e0080491c4372d07391a Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 8 Jul 2004 14:24:00 +0000 Subject: [PATCH] local-rpc-20040708 change the default RPC type from "ncacn_np" to "ncalrpc" This says to use local rpc instead of named pipes from the client to the server. Named pipes can still be used by specifying the "AFS_RPC_PROTSEQ" environment variable. --- src/auth/ktc_nt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/auth/ktc_nt.c b/src/auth/ktc_nt.c index 475f4abb6..fd1948c94 100644 --- a/src/auth/ktc_nt.c +++ b/src/auth/ktc_nt.c @@ -116,9 +116,9 @@ send_key(afs_uuid_t uuid, char sessionKey[8]) if (!strcmpi(encrypt, "OFF")) encryptionOff = TRUE; - /* Protocol sequence is named pipe by default */ + /* Protocol sequence is local by default */ if (!GetEnvironmentVariable("AFS_RPC_PROTSEQ", protseq, sizeof(protseq))) - strcpy(protseq, "ncacn_np"); + strcpy(protseq, "ncalrpc"); /* Server name */ getservername(&serverNamep, sizeof(serverName)); @@ -189,9 +189,9 @@ receive_key(afs_uuid_t uuid, char sessionKey[8]) if (!strcmpi(encrypt, "OFF")) encryptionOff = TRUE; - /* Protocol sequence is named pipe by default */ + /* Protocol sequence is local by default */ if (!GetEnvironmentVariable("AFS_RPC_PROTSEQ", protseq, sizeof(protseq))) - strcpy(protseq, "ncacn_np"); + strcpy(protseq, "ncalrpc"); /* Server name */ getservername(&serverNamep, sizeof(serverName)); -- 2.39.5