dosutils: add maintainer helpers and compare-ready tools
Add maintainer-only support used by the automated DOS compatibility tests. This introduces the MAINTAINER_BUILD option for the DOS tools. In maintainer builds, LOGIN accepts the hidden /PWD: and /PASSWORD: arguments for automated test relogin, and the DLYSTRT helper is built to delay-start DOS batch files after the invoking batch has returned to the prompt. Add the WHOAMI utility and wire it into the NET command dispatch. Also adjust SLIST and RIGHTS output to match Novell behavior more closely, including server-not-found handling, path formatting, Supervisor rights, missing-path errors and usage text. Extend the test scripts to compare NPUBLIC Novell baselines against the PUBLIC implementations. LOGIN/LOGOUT can now run automatically via DLYSTRT and the maintainer LOGIN password option. RIGHTS gains an additional NOPASSUSER effective-rights matrix that covers single rights, mixed rights, Supervisor rights, ALL/N and file trustee cases. Normal builds remain free of maintainer-only helpers and hidden password handling.
This commit is contained in:
1
net.c
1
net.c
@@ -43,6 +43,7 @@ static struct s_net_functions {
|
||||
{"RIGHTS", "display effective file/directory rights",func_rights, 0},
|
||||
{"CREATOR","display or set creator/modifier/archive ids",func_creator,0},
|
||||
{"SLIST", "list servers", func_slist , 0},
|
||||
{"WHOAMI", "show current NetWare user", func_whoami , 0},
|
||||
{"PASSWD", "change password", func_passwd , 0},
|
||||
#if 1
|
||||
{"TESTS", "only testroutines!", func_tests , 0},
|
||||
|
||||
Reference in New Issue
Block a user