From 3b6cbed404d5a2d7d189406ba8dbd3a0e41c817a Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 8 Apr 2013 23:37:39 -0400 Subject: [PATCH] Windows: \\afs\all is not a server for NP enumeration \\afs\all is a special share name that refers to the global root which in the AFS redirector is actually \\AFS. However, from the perspective of the network provider interface \\afs\all is just a share which refers to a directory. Do not treat attempts to evaluate it as if they were the same as evaluating \\AFS. One is a global enumeration (\\AFS) and the other is just a hidden share name. Change-Id: I24af24ec005c729bb1430c55254f2b68689932ed Reviewed-on: http://gerrit.openafs.org/9750 Tested-by: BuildBot Reviewed-by: Rod Widdowson Reviewed-by: Peter Scott Reviewed-by: Jeffrey Altman --- src/WINNT/afsrdr/kernel/lib/AFSNetworkProviderSupport.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/WINNT/afsrdr/kernel/lib/AFSNetworkProviderSupport.cpp b/src/WINNT/afsrdr/kernel/lib/AFSNetworkProviderSupport.cpp index 9a9588c..466084f 100644 --- a/src/WINNT/afsrdr/kernel/lib/AFSNetworkProviderSupport.cpp +++ b/src/WINNT/afsrdr/kernel/lib/AFSNetworkProviderSupport.cpp @@ -767,10 +767,7 @@ AFSListConnections( IN OUT AFSNetworkProviderConnectionCB *ConnectCB, // adjust it to be the server name itself // - if( uniShareName.Length == 0 || - RtlCompareUnicodeString( &uniShareName, - &AFSGlobalRootName, - TRUE) == 0) + if( uniShareName.Length == 0) { bGlobalEnumeration = TRUE; -- 1.9.4