diff options
author | Simo Sorce <idra@samba.org> | 2001-08-24 07:51:59 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-08-24 07:51:59 +0000 |
commit | 0174ccc0d6f34e84b201031a4c3eb58763a19770 (patch) | |
tree | e25f7a41bc8cc4dcb08b55c4f9e7c11056617e24 /source3/param | |
parent | 659774bffdf926f461dfe497160c1aabc8773c4d (diff) | |
download | samba-0174ccc0d6f34e84b201031a4c3eb58763a19770.tar.gz samba-0174ccc0d6f34e84b201031a4c3eb58763a19770.tar.bz2 samba-0174ccc0d6f34e84b201031a4c3eb58763a19770.zip |
let admins also abort a shutdown
(This used to be commit 3b40ec4f149a8813c1d68f184858e2ddd605d8fd)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 682ac7054c..a8365af0eb 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -146,6 +146,7 @@ typedef struct char *szDelUserToGroupScript; char *szAddMachineScript; char *szShutdownScript; + char *szAbortShutdownScript; char *szWINSHook; #ifdef WITH_UTMP char *szUtmpDir; @@ -889,6 +890,7 @@ static struct parm_struct parm_table[] = { {"delete user from group script", P_STRING, P_GLOBAL, &Globals.szDelUserToGroupScript, NULL, NULL, 0}, {"add machine script", P_STRING, P_GLOBAL, &Globals.szAddMachineScript, NULL, NULL, 0}, {"shutdown script", P_STRING, P_GLOBAL, &Globals.szShutdownScript, NULL, NULL, 0}, + {"abort shutdown script", P_STRING, P_GLOBAL, &Globals.szAbortShutdownScript, NULL, NULL, 0}, {"logon script", P_STRING, P_GLOBAL, &Globals.szLogonScript, NULL, NULL, 0}, {"logon path", P_STRING, P_GLOBAL, &Globals.szLogonPath, NULL, NULL, 0}, @@ -1473,6 +1475,7 @@ FN_GLOBAL_STRING(lp_deluserfromgroup_script, &Globals.szDelUserToGroupScript) FN_GLOBAL_STRING(lp_addmachine_script, &Globals.szAddMachineScript) FN_GLOBAL_STRING(lp_shutdown_script, &Globals.szShutdownScript) +FN_GLOBAL_STRING(lp_abort_shutdown_script, &Globals.szAbortShutdownScript) FN_GLOBAL_STRING(lp_wins_hook, &Globals.szWINSHook) FN_GLOBAL_LIST(lp_domain_admin_group, &Globals.szDomainAdminGroup) |