lm announce =

Jeremy Allison jallison at whistle.com
Tue Dec 16 17:54:03 GMT 1997


Martin wrote:

> in the old patch lm announce was set to the lm interval time :
>
> lm announce = 60
>
> if i just recompile and install the nmbd and smbd it crashes with a core
> dump.
>


Martin,

	I missed the terminating {-1,NULL} off a datastructure
in loadparm.c (Doh !).

Apply this patch - it should fix the problem in 1.9.18alpha13
(and this fix will be in alpha14).

Cheers,

	Jeremy Allison,
	Samba Team.

--------------cut here-------------------------------

*** loadparm.c  1997/12/16 12:21:38     1.80
--- loadparm.c  1997/12/16 17:54:12
***************
*** 411,417 ****
  
  static struct enum_list enum_case[] = {{CASE_LOWER, "lower"},
{CASE_UPPER, "upper"}, {-1, NULL}};
  
! static struct enum_list enum_lm_announce[] = {{0, "False"}, {1,
"True"}, {2, "Auto"}};
  
  static struct parm_struct
  {
--- 411,417 ----
  
  static struct enum_list enum_case[] = {{CASE_LOWER, "lower"},
{CASE_UPPER, "upper"}, {-1, NULL}};
  
! static struct enum_list enum_lm_announce[] = {{0, "False"}, {1,
"True"}, {2, "Auto"}, {-1, NULL}};
  
  static struct parm_struct
  {

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba mailing list