Move FLAG, GRANT and REMOVE closer to the request paths used by the Novell tools and extend the DOS comparison tests. FLAG now reads attributes through the old NCP22 directory scan path and writes them through NCP22/25 Set Directory/File Information. This keeps extended attributes such as Delete Inhibit and Rename Inhibit intact and matches the Novell behavior observed in the server logs. GRANT now prefers NCP22/27 SetTrustee with an NCP87 fallback. Supervisor rights are expanded like Novell does, so granting S sends and reports the full SRWCEMFA mask. The visible output, path formatting and error text are adjusted to match the Novell baseline. REMOVE now prefers NCP22/2B DelTrustee with an NCP87 fallback. The DelTrustee request layout is corrected, /SUBDIRS handling is aligned with Novell, and the output/error text is matched to the baseline. The FLAG, FLAGDIR, GRANT and REMOVE tests now compare NPUBLIC baselines against the PUBLIC implementations and add delayed NOPASSUSER readback checks using DLYSTRT and the maintainer LOGIN password option.
51 lines
1.1 KiB
Markdown
51 lines
1.1 KiB
Markdown
# FLAG automated compare test
|
|
|
|
Compares Novell `NPUBLIC\FLAG` against the current `PUBLIC\FLAG`.
|
|
|
|
## Run
|
|
|
|
For the direct compare only:
|
|
|
|
```text
|
|
FLGTSTA
|
|
```
|
|
|
|
For the full automatic NOPASSUSER context block, set the maintainer-login
|
|
password first:
|
|
|
|
```text
|
|
SET LGNTPWD=your-supervisor-password
|
|
FLGTSTA
|
|
```
|
|
|
|
`FLGTSTA` starts `C:\FLGTMP\FLGC.BAT` through `DLYSTRT`, logs in as
|
|
`NOPASSUSER`, runs `NPUBLIC\FLAG` and `PUBLIC\FLAG`, logs back in as
|
|
`SUPERVISOR` with `F:\LOGIN\LOGIN /PWD:`, and then queues
|
|
`FLGTSTA PART2`.
|
|
|
|
Package manually:
|
|
|
|
```text
|
|
FLGTZIP
|
|
```
|
|
|
|
## Result directories
|
|
|
|
```text
|
|
F:\FLGCMP\OUT Novell FLAG direct baseline
|
|
F:\FLGCMP\PUBOUT PUBLIC FLAG direct output
|
|
F:\FLGCMP\COMPARE.LOG direct FC compare
|
|
F:\FLGCMP\UNOV Novell FLAG as NOPASSUSER
|
|
F:\FLGCMP\UPUB PUBLIC FLAG as NOPASSUSER
|
|
F:\FLGCMP\UCOMP.LOG NOPASSUSER FC compare
|
|
```
|
|
|
|
## Coverage
|
|
|
|
- `FLAG` display
|
|
- `FLAG ... N`
|
|
- set/clear `H`, `RO`, `A`, `SY`, `DI`, `RI`
|
|
- mixed flag combinations
|
|
- missing-file behavior
|
|
- same cases as `NOPASSUSER`
|