summaryrefslogtreecommitdiff
path: root/source3/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
commitdc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65 (patch)
tree83a3403e03874796587b5ea0fe75e72d89e6eae6 /source3/passdb
parent260002f0e78148dc1aff093c9b42138dff88bf36 (diff)
downloadsamba-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/passdb')
-rw-r--r--source3/passdb/ldap.c2
-rw-r--r--source3/passdb/pampass.c2
-rw-r--r--source3/passdb/pass_check.c5
-rw-r--r--source3/passdb/passdb.c2
-rw-r--r--source3/passdb/passgrp.c3
-rw-r--r--source3/passdb/pdb_ldap.c2
-rw-r--r--source3/passdb/pdb_smbpasswd.c2
-rw-r--r--source3/passdb/smbpassgroup.c1
8 files changed, 0 insertions, 19 deletions
diff --git a/source3/passdb/ldap.c b/source3/passdb/ldap.c
index 8a2befcaa8..753663a09c 100644
--- a/source3/passdb/ldap.c
+++ b/source3/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/source3/passdb/pampass.c b/source3/passdb/pampass.c
index 116ecaf95b..6d0dabcd9d 100644
--- a/source3/passdb/pampass.c
+++ b/source3/passdb/pampass.c
@@ -30,8 +30,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
#ifdef WITH_PAM
/*******************************************************************
diff --git a/source3/passdb/pass_check.c b/source3/passdb/pass_check.c
index 594983e53b..a57cb2ff06 100644
--- a/source3/passdb/pass_check.c
+++ b/source3/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/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 2ffbe42f8c..b1e1e2b989 100644
--- a/source3/passdb/passdb.c
+++ b/source3/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/source3/passdb/passgrp.c b/source3/passdb/passgrp.c
index 399a45d8a9..55a71e94a2 100644
--- a/source3/passdb/passgrp.c
+++ b/source3/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/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index f4ed014efe..a737b5896b 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/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/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c
index f487dcf347..b01f03e124 100644
--- a/source3/passdb/pdb_smbpasswd.c
+++ b/source3/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/source3/passdb/smbpassgroup.c b/source3/passdb/smbpassgroup.c
index 4636c08c94..b332c9da7f 100644
--- a/source3/passdb/smbpassgroup.c
+++ b/source3/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