diff --git a/src/WINNT/afsadmsvr/NTMakefile b/src/WINNT/afsadmsvr/NTMakefile index 242fbda1d5..ed5377f151 100644 --- a/src/WINNT/afsadmsvr/NTMakefile +++ b/src/WINNT/afsadmsvr/NTMakefile @@ -76,7 +76,7 @@ EXEOBJS = \ VCLIBS =\ gdi32.lib \ user32.lib \ - rpcns4.lib \ +# rpcns4.lib \ rpcrt4.lib \ comctl32.lib \ gdi32.lib diff --git a/src/WINNT/afsadmsvr/TaAfsAdmSvrClientBind.cpp b/src/WINNT/afsadmsvr/TaAfsAdmSvrClientBind.cpp index 18e9182741..c003ebd927 100644 --- a/src/WINNT/afsadmsvr/TaAfsAdmSvrClientBind.cpp +++ b/src/WINNT/afsadmsvr/TaAfsAdmSvrClientBind.cpp @@ -55,6 +55,7 @@ BOOL ADMINAPI BindToAdminServer (LPCTSTR pszAddress, BOOL fWait, UINT_PTR *pidCl for (DWORD dwTickStart = GetTickCount(); ; ) { +#ifdef notdef // First we'll enumerate the name services around here to see if // an admin server is already running. // @@ -72,7 +73,7 @@ BOOL ADMINAPI BindToAdminServer (LPCTSTR pszAddress, BOOL fWait, UINT_PTR *pidCl else if (status != RPC_S_CALL_FAILED_DNE) // server rejected us! break; } - +#endif // Failing that, we'll try to bind to the well-known endpoint that the // admin server may have had to use. (if RpcNsBindingExport failed.) // diff --git a/src/WINNT/afsadmsvr/TaAfsAdmSvrMain.cpp b/src/WINNT/afsadmsvr/TaAfsAdmSvrMain.cpp index 0dfc8b9011..31f752e8ce 100644 --- a/src/WINNT/afsadmsvr/TaAfsAdmSvrMain.cpp +++ b/src/WINNT/afsadmsvr/TaAfsAdmSvrMain.cpp @@ -83,7 +83,9 @@ int cdecl main (int argc, char **argv) // Clean up any broken interface registration // RpcServerUnregisterIf (ITaAfsAdminSvr_v1_0_s_ifspec, 0, FALSE); +#ifdef notdef RpcNsBindingUnexport (RPC_C_NS_SYNTAX_DEFAULT, pszENTRYNAME, ITaAfsAdminSvr_v1_0_s_ifspec, NULL); +#endif // Register our interface // @@ -121,10 +123,12 @@ int cdecl main (int argc, char **argv) { BOOL fExportedBinding = FALSE; +#ifdef notdef if ((status = RpcNsBindingExport (RPC_C_NS_SYNTAX_DEFAULT, pszENTRYNAME, ITaAfsAdminSvr_v1_0_s_ifspec, pBindingVector, NULL)) == 0) fExportedBinding = TRUE; else Print (dlWARNING, TEXT("RpcNsBindingExport failed (benign); error 0x%08lX"), status); +#endif if (!fExportedBinding && !fGotPort) { @@ -160,6 +164,7 @@ int cdecl main (int argc, char **argv) AfsAdmSvr_Shutdown(); } +#ifdef notdef if (fExportedBinding) { if ((status = RpcNsBindingUnexport (RPC_C_NS_SYNTAX_DEFAULT, pszENTRYNAME, ITaAfsAdminSvr_v1_0_s_ifspec, NULL)) != 0) @@ -167,7 +172,7 @@ int cdecl main (int argc, char **argv) Print (dlWARNING, TEXT("RpcNsBindingExport failed; error 0x%08lX"), status); } } - +#endif if ((status = RpcEpUnregister (ITaAfsAdminSvr_v1_0_s_ifspec, pBindingVector, NULL)) != 0) { Print (dlWARNING, TEXT("RpcEpUnregister failed; error 0x%08lX"), status); diff --git a/src/WINNT/afsapplib/NTMakefile b/src/WINNT/afsapplib/NTMakefile index 56b6ba3f76..737ddb5ed0 100644 --- a/src/WINNT/afsapplib/NTMakefile +++ b/src/WINNT/afsapplib/NTMakefile @@ -76,7 +76,7 @@ DLLOBJS = \ VCLIBS =\ comctl32.lib \ rpcrt4.lib \ - rpcns4.lib \ +# rpcns4.lib \ DLLLIBS = \ $(DESTDIR)\lib\afs\TaAfsAdmSvrClient.lib \ diff --git a/src/WINNT/client_osi/NTMakefile b/src/WINNT/client_osi/NTMakefile index efc3dcd953..0e8d079176 100644 --- a/src/WINNT/client_osi/NTMakefile +++ b/src/WINNT/client_osi/NTMakefile @@ -45,7 +45,8 @@ EXEOBJS = \ osidebug.obj EXELIBS = \ - rpcrt4.lib rpcns4.lib \ + rpcrt4.lib \ +# rpcns4.lib \ Ws2_32.lib shell32.lib \ $(DESTDIR)\lib\libosi.lib @@ -71,7 +72,7 @@ DLLOBJS =\ DLLLIBS =\ rpcrt4.lib \ - rpcns4.lib +# rpcns4.lib $(DLLFILE): $(DLLOBJS) $(DLLGUILINK) $(DLLLIBS) -def:libosi.def