Kai, that one actually needs to stay a global external variable in order to
support debuglevel definition only on the commandline for net.
Guenther
#include "includes.h"
#include "utils/net.h"
+extern bool AllowDebugChange;
+
#ifdef WITH_FAKE_KASERVER
#include "utils/net_afs.h"
#endif
* Don't load debug level from smb.conf. It should be
* set by cmdline arg or remain default (0)
*/
- c->AllowDebugChange = false;
+ AllowDebugChange = false;
lp_load(get_dyn_CONFIGFILE(), true, false, false, true);
argv_new = (const char **)poptGetArgs(pc);
bool smb_encrypt;
struct libnetapi_ctx *netapi_ctx;
- bool AllowDebugChange;
const char *share_type[];
};