s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() instead
[abartlet/samba.git/.git] / source3 / utils / smbpasswd.c
index 0fc002ad8aa79de5cc1f836a7c9cbf5bf662df44..c530c78f41fffd76b8152109fa06359808a0af7d 100644 (file)
@@ -20,8 +20,6 @@
 #include "secrets.h"
 #include "../librpc/gen_ndr/samr.h"
 
-extern bool AllowDebugChange;
-
 /*
  * Next two lines needed for SunOS and don't
  * hurt anything else...
@@ -570,8 +568,6 @@ int main(int argc, char **argv)
        int local_flags = 0;
        int ret;
 
-       AllowDebugChange = False;
-
 #if defined(HAVE_SET_AUTH_PARAMETERS)
        set_auth_parameters(argc, argv);
 #endif /* HAVE_SET_AUTH_PARAMETERS */