s3-param use Auto define for lm_announce default
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Oct 2011 05:34:52 +0000 (16:34 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 7 Oct 2011 06:45:20 +0000 (17:45 +1100)
source3/param/loadparm.c

index 01f6fa2942d354f36a3499360dab357edf59c504..345f7483842738038dc5f2e9feebb0466d21d4b0 100644 (file)
@@ -4834,7 +4834,7 @@ static void init_globals(bool reinit_globals)
        Globals.max_wins_ttl = 60 * 60 * 24 * 6;        /* 6 days default. */
        Globals.min_wins_ttl = 60 * 60 * 6;     /* 6 hours default. */
        Globals.machine_password_timeout = 60 * 60 * 24 * 7;    /* 7 days default. */
-       Globals.lm_announce = 2;        /* = Auto: send only if LM clients found */
+       Globals.lm_announce = Auto;     /* = Auto: send only if LM clients found */
        Globals.lm_interval = 60;
 #if (defined(HAVE_NETGROUP) && defined(WITH_AUTOMOUNT))
        Globals.bNISHomeMap = false;