summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-03-30 20:32:33 +0000
committerJeremy Allison <jra@samba.org>2000-03-30 20:32:33 +0000
commit6b201d043a799548def37c613b8902572f545815 (patch)
treefd535bd36e4b819cd8280672054527fa0b847d07 /source3
parent772ab755cdbc9135040e5a8343e5de31d0797044 (diff)
downloadsamba-6b201d043a799548def37c613b8902572f545815.tar.gz
samba-6b201d043a799548def37c613b8902572f545815.tar.bz2
samba-6b201d043a799548def37c613b8902572f545815.zip
Fix for coredump in testparm.
Jeremy. (This used to be commit c4c06650dd2407919213e5393ae501815a10c4f5)
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index ab96d85494..a3b54376cc 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -573,7 +573,7 @@ static struct parm_struct parm_table[] =
{"path", P_STRING, P_LOCAL, &sDefault.szPath, NULL, NULL, FLAG_BASIC|FLAG_SHARE|FLAG_PRINT|FLAG_DOS_STRING},
{"directory", P_STRING, P_LOCAL, &sDefault.szPath, NULL, NULL, FLAG_DOS_STRING},
{"workgroup", P_USTRING, P_GLOBAL, &Globals.szWorkGroup, NULL, NULL, FLAG_BASIC|FLAG_DOS_STRING},
- {"netbios name", P_UGSTRING,P_GLOBAL, NULL, handle_netbios_name, NULL, FLAG_BASIC|FLAG_DOS_STRING},
+ {"netbios name", P_UGSTRING,P_GLOBAL, global_myname, handle_netbios_name, NULL, FLAG_BASIC|FLAG_DOS_STRING},
{"netbios aliases", P_STRING, P_GLOBAL, &Globals.szNetbiosAliases, NULL, NULL, FLAG_DOS_STRING},
{"netbios scope", P_UGSTRING,P_GLOBAL, global_scope, NULL, NULL, FLAG_DOS_STRING},
{"server string", P_STRING, P_GLOBAL, &Globals.szServerString, NULL, NULL, FLAG_BASIC|FLAG_DOS_STRING},