2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
15 * INCLUSIONS _________________________________________________________________
25 #include <WINNT/TaLocale.h>
26 #include <WINNT/iTaAfsAdmSvr.h>
27 #include <WINNT/TaAfsAdmSvrCommon.h>
28 #ifndef TAAFSADMSVRCLIENT_H
29 #include <WINNT/AfsAppLib.h>
30 #endif // TAAFSADMSVRCLIENT_H
34 * DEFINITIONS ________________________________________________________________
38 // The admin server can be started on a machine just by running
39 // its .EXE; if the "timed" keyword is given on its command-line,
40 // it will shut itself down if it's idle for N minutes. If the "Manual"
41 // keyword is not present, the local cell will automatically be opened
42 // for administration and its contents refreshed (the scope of the auto-
43 // refresh can be limited to users or volumes by also adding one of
44 // the Scope keywords)
46 #define AFSADMSVR_PROGRAM "TaAfsAdmSvr.exe"
47 #define AFSADMSVR_KEYWORD_TIMED "Timed"
48 #define AFSADMSVR_KEYWORD_MANUAL "Manual"
49 #define AFSADMSVR_KEYWORD_SCOPE_USERS "Users"
50 #define AFSADMSVR_KEYWORD_SCOPE_VOLUMES "Volumes"
51 #define AFSADMSVR_KEYWORD_DEBUG "Debug"
53 // Ordinarily, the admin server will export its binding handles
54 // under the following identity:
56 #define AFSADMSVR_ENTRYNAME_DEFAULT "/.:/Autohandle_TaAfsAdmSvr"
58 // On my Win98 box, RpcNsBindingExport() always fails for some
59 // inexplicable reason (error 6BF, RPC_S_CALL_FAILED_DNE, which
60 // is about as generic a "didn't work" error code as you can get.)
61 // Presuming that this is not the only box in the world which can't
62 // do this--even though it's documented to work on Win95, perhaps
63 // it's widespread?--the admin server will detect failure of this
64 // routine and attempt to bind to a particular default endpoint;
65 // if the client can't find any valid binding handles through
66 // RpcNsBinding* lookups, it will try this well-known endpoint as
67 // a last-ditch effort.
69 #define AFSADMSVR_ENDPOINT_DEFAULT 1025
72 #endif // TAAFSADMSVR_H