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:
1
net.c
1
net.c
@@ -36,6 +36,7 @@ static struct s_net_functions {
|
||||
{"LOGOUT", "logout from server", func_logout , 0},
|
||||
{"FLAG", "display or modify file attributes", func_flag , 0},
|
||||
{"FLAGDIR","display or modify directory attributes",func_flagdir, 0},
|
||||
{"GRANT", "grant trustee rights", func_grant , 0},
|
||||
{"RIGHTS", "display effective file/directory rights",func_rights, 0},
|
||||
{"SLIST", "list servers", func_slist , 0},
|
||||
{"PASSWD", "change password", func_passwd , 0},
|
||||
|
||||
Reference in New Issue
Block a user