]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
local-rpc-20040708
authorJeffrey Altman <jaltman@mit.edu>
Thu, 8 Jul 2004 14:24:00 +0000 (14:24 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 8 Jul 2004 14:24:00 +0000 (14:24 +0000)
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

index 475f4abb6654f4939b74e05845ee6b000b928523..fd1948c94bbe85039a1b15307ad446ac84976e56 100644 (file)
@@ -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));