summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-21 11:37:40 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-21 11:37:40 +0000
commit038e3433d39337f736b7b69ac1e6212e9f8e5406 (patch)
treea502a03d2b20d67b1602692207806a767178bb25 /source3/param
parent57f1129cdc154c56ae70287999c5961e072b4975 (diff)
downloadsamba-038e3433d39337f736b7b69ac1e6212e9f8e5406.tar.gz
samba-038e3433d39337f736b7b69ac1e6212e9f8e5406.tar.bz2
samba-038e3433d39337f736b7b69ac1e6212e9f8e5406.zip
added new smb.conf option "panic action". see my samba-technical
explanation. (This used to be commit c6899df44c34088a4d2bf1edc840320b0ba7e32e)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 6fcd1eaf9b..765fae4f5c 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -152,6 +152,7 @@ typedef struct
char *szLdapFilter;
char *szLdapRoot;
char *szLdapRootPassword;
+ char *szPanicAction;
int max_log_size;
int mangled_stack;
int max_xmit;
@@ -734,6 +735,8 @@ static struct parm_struct parm_table[] =
{"dos filetime resolution",P_BOOL,P_LOCAL,&sDefault.bDosFiletimeResolution, NULL, NULL, FLAG_GLOBAL},
{"fake directory create times", P_BOOL,P_LOCAL, &sDefault.bFakeDirCreateTimes, NULL, NULL, FLAG_GLOBAL},
+ {"panic action", P_STRING, P_GLOBAL, &Globals.szPanicAction, NULL, NULL, 0},
+
{NULL, P_BOOL, P_NONE, NULL, NULL, NULL, 0}
};
@@ -1065,6 +1068,7 @@ FN_GLOBAL_STRING(lp_nis_home_map_name,&Globals.szNISHomeMapName)
FN_GLOBAL_STRING(lp_announce_version,&Globals.szAnnounceVersion)
FN_GLOBAL_STRING(lp_netbios_aliases,&Globals.szNetbiosAliases)
FN_GLOBAL_STRING(lp_driverfile,&Globals.szDriverFile)
+FN_GLOBAL_STRING(lp_panic_action,&Globals.szPanicAction);
FN_GLOBAL_STRING(lp_domain_sid,&Globals.szDomainSID)
FN_GLOBAL_STRING(lp_domain_other_sids,&Globals.szDomainOtherSIDs)