/*
Unix SMB/CIFS implementation.
Samba Web Administration Tool
Version 3.0.0
Copyright (C) Andrew Tridgell 1997-2002
Copyright (C) John H Terpstra 2002
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @defgroup swat SWAT - Samba Web Administration Tool
* @{
* @file swat.c
*
* @brief Samba Web Administration Tool.
**/
#include "includes.h"
#include "system/filesys.h"
#include "popt_common.h"
#include "web/swat_proto.h"
#include "printing/pcap.h"
#include "printing/load.h"
#include "passdb.h"
#include "intl/lang_tdb.h"
#include "../lib/crypto/md5.h"
#include "lib/param/loadparm.h"
#include "messages.h"
static int demo_mode = False;
static int