dosutils: implement GRANT trustee management

- add GRANT as a new multi-call DOS utility
- implement Client32 NCP87 trustee-add helper
- resolve USER and GROUP bindery objects before granting rights
- support Novell-style rights lists, including ALL and N
- support directory trustee grants
- support file trustee grants via /FILES
- implement recursive grants via /SUBDIRECTORIES
- accept /SUBDIRS as a compatibility alias
- format GRANT success output close to Novell GRANT
- add GRANT comparison scripts for normal and recursive test cases
This commit is contained in:
Mario Fetka
2026-05-24 13:27:07 +02:00
parent 9ab65e2f00
commit f940d2d88e
6 changed files with 646 additions and 0 deletions

1
net.h
View File

@@ -255,6 +255,7 @@ extern int func_capture(int argc, char *argv[], int mode);
/* flag.c */
extern int func_flag (int argc, char *argv[], int mode);
extern int func_flagdir(int argc, char *argv[], int mode);
extern int func_grant(int argc, char *argv[], int mode);
extern int func_rights (int argc, char *argv[], int mode);