From dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 2 Oct 2001 04:29:50 +0000 Subject: Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. (This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e) --- source3/auth/auth.c | 3 --- source3/auth/auth_domain.c | 2 -- source3/auth/auth_rhosts.c | 6 ------ source3/auth/auth_sam.c | 5 ----- source3/auth/auth_server.c | 4 ---- source3/auth/auth_unix.c | 4 ---- source3/auth/auth_util.c | 3 +-- source3/auth/pampass.c | 2 -- source3/auth/pass_check.c | 5 ----- 9 files changed, 1 insertion(+), 33 deletions(-) (limited to 'source3/auth') diff --git a/source3/auth/auth.c b/source3/auth/auth.c index 6aa2714b0b..e76324213e 100644 --- a/source3/auth/auth.c +++ b/source3/auth/auth.c @@ -23,8 +23,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /**************************************************************************** Check user is in correct domain if required ****************************************************************************/ @@ -257,4 +255,3 @@ BOOL password_ok(char *user, char *password, int pwlen) return False; } - diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index 111f0f143c..bcd41bacdb 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -22,8 +22,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - BOOL global_machine_password_needs_changing = False; /**************************************************************************** diff --git a/source3/auth/auth_rhosts.c b/source3/auth/auth_rhosts.c index e319d8d5f8..cd1bf57f86 100644 --- a/source3/auth/auth_rhosts.c +++ b/source3/auth/auth_rhosts.c @@ -21,9 +21,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - - /**************************************************************************** Read the a hosts.equiv or .rhosts file and check if it allows this user from this machine. @@ -181,6 +178,3 @@ NTSTATUS check_rhosts_security(const auth_usersupplied_info *user_info, return nt_status; } - - - diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c index 835ade739f..da223368b8 100644 --- a/source3/auth/auth_sam.c +++ b/source3/auth/auth_sam.c @@ -23,8 +23,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /**************************************************************************** core of smb password checking routine. ****************************************************************************/ @@ -319,6 +317,3 @@ NTSTATUS check_smbpasswd_security(const auth_usersupplied_info *user_info, auth_ pdb_free_sam(&sampass); return nt_status; } - - - diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index e4c91c4dcb..2574a52ef3 100644 --- a/source3/auth/auth_server.c +++ b/source3/auth/auth_server.c @@ -22,8 +22,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - extern pstring global_myname; /**************************************************************************** @@ -228,5 +226,3 @@ use this machine as the password server.\n")); return(nt_status); } - - diff --git a/source3/auth/auth_unix.c b/source3/auth/auth_unix.c index 0d73988d8a..2f9034e3e5 100644 --- a/source3/auth/auth_unix.c +++ b/source3/auth/auth_unix.c @@ -21,8 +21,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /**************************************************************************** update the encrypted smbpasswd file from the plaintext username and password @@ -105,5 +103,3 @@ NTSTATUS check_unix_security(const auth_usersupplied_info *user_info, auth_serve return nt_status; } - - diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 1967c32b9a..d3b9aa7001 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -19,9 +19,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include "includes.h" -extern int DEBUGLEVEL; +#include "includes.h" /* Data to do lanman1/2 password challenge. */ static unsigned char saved_challenge[8]; diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c index 116ecaf95b..6d0dabcd9d 100644 --- a/source3/auth/pampass.c +++ b/source3/auth/pampass.c @@ -30,8 +30,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - #ifdef WITH_PAM /******************************************************************* diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c index 594983e53b..a57cb2ff06 100644 --- a/source3/auth/pass_check.c +++ b/source3/auth/pass_check.c @@ -24,8 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /* these are kept here to keep the string_combinations function simple */ static fstring this_user; #if !(defined(WITH_PAM) || defined(KRB4_AUTH) || defined(KRB5_AUTH)) @@ -896,6 +894,3 @@ NTSTATUS pass_check(struct passwd *pass, char *user, char *password, return NT_STATUS_WRONG_PASSWORD; } - - - -- cgit