summaryrefslogtreecommitdiff
path: root/source/passdb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-10-02 04:29:50 +0000
committerTim Potter <tpot@samba.org>2001-10-02 04:29:50 +0000
commit2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e (patch)
tree2924652f49184b35d2371548b5ab35f0ce53fd63 /source/passdb
parentf9eb370806002eea0658f072988d96fca71bf18f (diff)
downloadsamba-2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e.tar.gz
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/ldap.c2
-rw-r--r--source/passdb/pampass.c2
-rw-r--r--source/passdb/pass_check.c5
-rw-r--r--source/passdb/passdb.c2
-rw-r--r--source/passdb/passgrp.c3
-rw-r--r--source/passdb/pdb_ldap.c2
-rw-r--r--source/passdb/pdb_smbpasswd.c2
-rw-r--r--source/passdb/smbpassgroup.c1
8 files changed, 0 insertions, 19 deletions
diff --git a/source/passdb/ldap.c b/source/passdb/ldap.c
index 8a2befcaa86..753663a09c0 100644
--- a/source/passdb/ldap.c
+++ b/source/passdb/ldap.c
@@ -30,8 +30,6 @@
#define ADD_USER 1
#define MODIFY_USER 2
-extern int DEBUGLEVEL;
-
/*******************************************************************
open a connection to the ldap serve.
******************************************************************/
diff --git a/source/passdb/pampass.c b/source/passdb/pampass.c
index 116ecaf95b1..6d0dabcd9d0 100644
--- a/source/passdb/pampass.c
+++ b/source/passdb/pampass.c
@@ -30,8 +30,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
#ifdef WITH_PAM
/*******************************************************************
diff --git a/source/passdb/pass_check.c b/source/passdb/pass_check.c
index 594983e53bf..a57cb2ff06b 100644
--- a/source/passdb/pass_check.c
+++ b/source/passdb/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;
}
-
-
-
diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c
index 2ffbe42f8ca..b1e1e2b989e 100644
--- a/source/passdb/passdb.c
+++ b/source/passdb/passdb.c
@@ -23,8 +23,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
/*
* This is set on startup - it defines the SID for this
* machine, and therefore the SAM database for which it is
diff --git a/source/passdb/passgrp.c b/source/passdb/passgrp.c
index 399a45d8a9a..55a71e94a27 100644
--- a/source/passdb/passgrp.c
+++ b/source/passdb/passgrp.c
@@ -22,8 +22,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
/*
* NOTE. All these functions are abstracted into a structure
* that points to the correct function for the selected database. JRA.
@@ -217,4 +215,3 @@ struct smb_passwd *getsmbgrpuid(uid_t smb_userid,
{
return pwgrp_ops->getsmbgrpuid(smb_userid, grps, num_grps, alss, num_alss);
}
-
diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c
index f4ed014efe0..a737b5896b6 100644
--- a/source/passdb/pdb_ldap.c
+++ b/source/passdb/pdb_ldap.c
@@ -51,8 +51,6 @@
#define SAM_ACCOUNT struct sam_passwd
#endif
-extern int DEBUGLEVEL;
-
struct ldap_enum_info
{
LDAP *ldap_struct;
diff --git a/source/passdb/pdb_smbpasswd.c b/source/passdb/pdb_smbpasswd.c
index f487dcf347d..b01f03e1248 100644
--- a/source/passdb/pdb_smbpasswd.c
+++ b/source/passdb/pdb_smbpasswd.c
@@ -44,12 +44,10 @@ struct smb_passwd
};
-extern int DEBUGLEVEL;
extern pstring samlogon_user;
extern BOOL sam_logon_in_ssb;
extern struct passdb_ops pdb_ops;
-
/* used for maintain locks on the smbpasswd file */
static int pw_file_lock_depth;
static void *global_vp;
diff --git a/source/passdb/smbpassgroup.c b/source/passdb/smbpassgroup.c
index 4636c08c949..b332c9da7f5 100644
--- a/source/passdb/smbpassgroup.c
+++ b/source/passdb/smbpassgroup.c
@@ -22,7 +22,6 @@
#ifdef USE_SMBPASS_DB
static int grp_file_lock_depth = 0;
-extern int DEBUGLEVEL;
/***************************************************************
Start to enumerate the smbpasswd list. Returns a void pointer