Deprecate the "share modes" parameter to address bug #6024, swat disagrees with smbst...
[jra/samba/.git] / source3 / param / loadparm.c
index 6c0936a4bc1405e8e90510c4d2fe513849f9cc7f..a874ce29d853847b80789ffc908d35ac05d1594a 100644 (file)
@@ -3493,7 +3493,7 @@ static struct parm_struct parm_table[] = {
                .ptr            = &sDefault.bShareModes,
                .special        = NULL,
                .enum_list      = NULL,
-               .flags          = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
+               .flags          = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL | FLAG_DEPRECATED,
        },
 
        {N_("Ldap Options"), P_SEP, P_SEPARATOR},