diff options
author | Tim Potter <tpot@samba.org> | 2001-10-02 04:29:50 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-10-02 04:29:50 +0000 |
commit | dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65 (patch) | |
tree | 83a3403e03874796587b5ea0fe75e72d89e6eae6 /source3/auth | |
parent | 260002f0e78148dc1aff093c9b42138dff88bf36 (diff) | |
download | samba-dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65.tar.gz samba-dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65.tar.bz2 samba-dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65.zip |
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth.c | 3 | ||||
-rw-r--r-- | source3/auth/auth_domain.c | 2 | ||||
-rw-r--r-- | source3/auth/auth_rhosts.c | 6 | ||||
-rw-r--r-- | source3/auth/auth_sam.c | 5 | ||||
-rw-r--r-- | source3/auth/auth_server.c | 4 | ||||
-rw-r--r-- | source3/auth/auth_unix.c | 4 | ||||
-rw-r--r-- | source3/auth/auth_util.c | 3 | ||||
-rw-r--r-- | source3/auth/pampass.c | 2 | ||||
-rw-r--r-- | source3/auth/pass_check.c | 5 |
9 files changed, 1 insertions, 33 deletions
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; } - - - |