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.
1.2 KiB
1.2 KiB
WHOSTA - WHOAMI baseline and PUBLIC comparison
WHOSTA.BAT captures Novell WHOAMI output from \NPUBLIC\WHOAMI
and compares it against the current implementation in \PUBLIC\WHOAMI.
Run while logged in as the user whose context should be captured, normally
SUPERVISOR for the default baseline.
Run
F:
CD \
WHOSTA
WHOZIP
Result layout
F:\WHOCMP\OUT Novell baseline from \NPUBLIC\WHOAMI
F:\WHOCMP\PUBOUT PUBLIC implementation from \PUBLIC\WHOAMI
F:\WHOCMP\COMPARE.LOG FC comparisons OUT vs PUBOUT
WHOZIP.BAT packages RUN.LOG, SUMMARY.TXT, COMPARE.LOG, OUT and
PUBOUT into F:\WHOCMP\WHOSTA.ZIP.
Captured cases
D01 WHOAMI
D02 WHOAMI MARS
D10 WHOAMI /SECURITY
D11 WHOAMI /GROUPS
D12 WHOAMI /WORKGROUPS
D13 WHOAMI /RIGHTS
D14 WHOAMI /SYSTEM
D15 WHOAMI /OBJECT
D16 WHOAMI /ALL
D90 WHOAMI NWBYGONE01
D91 WHOAMI /BOGUS
D99 WHOAMI /?
Known Novell baseline detail: /RIGHTS and /ALL can end with
Unable to set directory handle. (899c) depending on the current context.
Keep this output as part of the baseline unless the comparison layer later
normalizes it explicitly.