mirror of
https://github.com/samba-team/samba.git
synced 2025-03-29 02:50:28 +03:00
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
This commit is contained in:
parent
260002f0e7
commit
dc1fc3ee8e
@ -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;
|
||||
}
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
BOOL global_machine_password_needs_changing = False;
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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];
|
||||
|
@ -30,8 +30,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#ifdef WITH_PAM
|
||||
|
||||
/*******************************************************************
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -61,7 +61,6 @@ time_t newer_than = 0;
|
||||
int archive_level = 0;
|
||||
|
||||
extern pstring debugf;
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
BOOL translation = False;
|
||||
|
||||
|
@ -69,7 +69,6 @@ typedef struct
|
||||
stack dir_stack = {NULL, 0}; /* Want an empty stack */
|
||||
|
||||
#define SEPARATORS " \t\n\r"
|
||||
extern int DEBUGLEVEL;
|
||||
extern struct cli_state *cli;
|
||||
|
||||
/* These defines are for the do_setrattr routine, to indicate
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <linux/smb_fs.h>
|
||||
|
||||
extern struct in_addr ipzero;
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern BOOL in_client;
|
||||
extern pstring user_socket_options;
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern fstring global_sam_name;
|
||||
|
||||
/*
|
||||
|
@ -22,7 +22,6 @@
|
||||
#ifdef USE_SMBPASS_DB
|
||||
|
||||
static int al_file_lock_depth = 0;
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
static char s_readbuf[1024];
|
||||
|
||||
|
@ -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.
|
||||
|
@ -22,7 +22,6 @@
|
||||
#ifdef USE_SMBPASS_DB
|
||||
|
||||
static int gp_file_lock_depth = 0;
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
static char s_readbuf[1024];
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern DOM_SID global_sam_sid;
|
||||
|
||||
static TDB_CONTEXT *tdb; /* used for driver files */
|
||||
|
@ -41,7 +41,6 @@ int Debug1( char *, ... ) PRINTF_ATTRIBUTE(1,2);
|
||||
BOOL dbgtext( char *, ... ) PRINTF_ATTRIBUTE(1,2);
|
||||
|
||||
extern XFILE *dbf;
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/* If we have these macros, we can add additional info to the header. */
|
||||
#ifdef HAVE_FILE_MACRO
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#define FAIL (-1)
|
||||
|
||||
/* masked_match - match address against netnumber/netmask */
|
||||
|
@ -21,12 +21,9 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/* these functions provide a simple way to allocate integers from a
|
||||
pool without repitition */
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
allocate a bitmap of the specified size
|
||||
****************************************************************************/
|
||||
|
@ -22,8 +22,6 @@
|
||||
*/
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
static pstring cvtbuf;
|
||||
|
||||
static smb_iconv_t conv_handles[NUM_CHARSETS][NUM_CHARSETS];
|
||||
|
@ -41,9 +41,6 @@ extern pstring user_socket_options;
|
||||
extern struct user_creds *usr_creds;
|
||||
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
|
||||
#define CNV_LANG(s) dos2unix_format(s,False)
|
||||
#define CNV_INPUT(s) unix2dos_format(s,True)
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
static unsigned long CRCTable[256] =
|
||||
{
|
||||
|
@ -20,12 +20,9 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
|
||||
static void (*cont_fn)(void *);
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
report a fault
|
||||
********************************************************************/
|
||||
|
@ -23,9 +23,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
|
||||
static unsigned char hash[258];
|
||||
static uint32 counter;
|
||||
unsigned char *reseed_data;
|
||||
|
@ -28,8 +28,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
static BOOL enlarge_hash_table(hash_table *table);
|
||||
static int primes[] =
|
||||
{17, 37, 67, 131, 257, 521, 1031, 2053, 4099, 8209, 16411};
|
||||
|
@ -26,8 +26,6 @@
|
||||
static struct iface_struct *probed_ifaces;
|
||||
static int total_probed;
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
struct in_addr ipzero;
|
||||
struct in_addr allones_ip;
|
||||
struct in_addr loopback_ip;
|
||||
|
@ -28,8 +28,6 @@
|
||||
|
||||
#ifdef WITH_NETATALK
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/*****************
|
||||
ntalk_resourcepath: creates the path to the netatalk resource fork for
|
||||
a given file
|
||||
@ -155,5 +153,4 @@ int ntalk_chmod(const char *fname, mode_t perms)
|
||||
return chmod(fname, perms);
|
||||
}
|
||||
|
||||
|
||||
#endif /* WITH_NETATALK */
|
||||
|
@ -23,9 +23,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#ifndef O_NONBLOCK
|
||||
#define O_NONBLOCK
|
||||
#endif
|
||||
|
@ -21,12 +21,9 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
void replace_dummy(void);
|
||||
void replace_dummy(void) {}
|
||||
|
||||
|
||||
#ifndef HAVE_FTRUNCATE
|
||||
/*******************************************************************
|
||||
ftruncate for operating systems that don't have it
|
||||
|
@ -24,8 +24,6 @@
|
||||
/* need to move this from here!! need some sleep ... */
|
||||
struct current_user current_user;
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/****************************************************************************
|
||||
This is a utility function of smbrun().
|
||||
****************************************************************************/
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
fstring local_machine="";
|
||||
fstring remote_arch="UNKNOWN";
|
||||
userdom_struct current_user_info;
|
||||
@ -32,7 +30,6 @@ BOOL sam_logon_in_ssb = False;
|
||||
fstring remote_proto="UNKNOWN";
|
||||
fstring remote_machine="";
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
Given a pointer to a %$(NAME) expand it as an environment variable.
|
||||
Return the number of characters by which the pointer should be advanced.
|
||||
@ -318,4 +315,3 @@ void standard_sub_vsnum(char *str, user_struct *vuser, int snum)
|
||||
{
|
||||
standard_sub_advanced(snum, vuser->user.unix_name, "", -1, str);
|
||||
}
|
||||
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/*
|
||||
This file wraps all differing system ACL interfaces into a consistent
|
||||
one based on the POSIX interface. It also returns the correct errors
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/*
|
||||
The idea is that this file will eventually have wrappers around all
|
||||
important system calls in samba. The aims are:
|
||||
|
@ -30,8 +30,6 @@
|
||||
int serverzone=0;
|
||||
int extra_time_offset = 0;
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT 8
|
||||
#endif
|
||||
|
@ -20,7 +20,6 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/* internal functions */
|
||||
static struct passwd *uname_string_combinations(char *s, struct passwd * (*fn) (char *), int N);
|
||||
|
@ -58,8 +58,6 @@ extern SSL *ssl;
|
||||
extern int sslFd;
|
||||
#endif /* WITH_SSL */
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
int Protocol = PROTOCOL_COREPLUS;
|
||||
|
||||
/* a default finfo structure to ensure all fields are sensible */
|
||||
|
@ -19,8 +19,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
static int gotalarm;
|
||||
|
||||
/***************************************************************
|
||||
|
@ -24,8 +24,6 @@
|
||||
#include "nterr.h"
|
||||
#include "sids.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/**********************************************************************************
|
||||
Check if this ACE has a SID in common with the token.
|
||||
**********************************************************************************/
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#ifndef AUTOCONF_TEST
|
||||
#include "includes.h"
|
||||
extern int DEBUGLEVEL;
|
||||
#else
|
||||
/* we are running this code in autoconf test mode to see which type of setuid
|
||||
function works */
|
||||
|
@ -23,8 +23,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
DOM_SID global_sam_sid;
|
||||
extern pstring global_myname;
|
||||
extern fstring global_myworkgroup;
|
||||
|
@ -28,8 +28,6 @@ extern SSL *ssl;
|
||||
extern int sslFd;
|
||||
#endif /* WITH_SSL */
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/* the last IP received from */
|
||||
struct in_addr lastip;
|
||||
|
||||
@ -1243,4 +1241,3 @@ int sock_exec(const char *prog)
|
||||
close(fd[1]);
|
||||
return fd[0];
|
||||
}
|
||||
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/****************************************************************************
|
||||
Get the next token from a string, return False if none found
|
||||
handles double-quotes.
|
||||
@ -855,4 +853,3 @@ void strupper_m(char *s)
|
||||
* as source string even in multibyte encoding. (VIV) */
|
||||
unix_strupper(s,strlen(s)+1,s,strlen(s)+1);
|
||||
}
|
||||
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#ifndef MAXUNI
|
||||
#define MAXUNI 1024
|
||||
#endif
|
||||
@ -453,4 +451,3 @@ smb_ucs2_t *strncat_wa(smb_ucs2_t *dest, const char *src, const size_t max)
|
||||
SAFE_FREE(ucs2_src);
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
@ -23,9 +23,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/*
|
||||
* Change the port number used to call on
|
||||
*/
|
||||
@ -248,4 +245,3 @@ uint16 cli_setpid(struct cli_state *cli, uint16 pid)
|
||||
cli->pid = pid;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -23,8 +23,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/*****************************************************
|
||||
RAP error codes - a small start but will be extended.
|
||||
*******************************************************/
|
||||
@ -267,4 +265,3 @@ BOOL cli_is_dos_error(struct cli_state *cli)
|
||||
|
||||
return cli_is_error(cli) && !(flgs2 & FLAGS2_32_BIT_ERROR_CODES);
|
||||
}
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
#define NO_SYSLOG
|
||||
|
||||
#include "includes.h"
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
send an ack for an oplock break request
|
||||
@ -69,4 +67,3 @@ void cli_oplock_handler(struct cli_state *cli,
|
||||
{
|
||||
cli->oplock_handler = handler;
|
||||
}
|
||||
|
||||
|
@ -21,10 +21,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
represent a credential as a string
|
||||
****************************************************************************/
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern struct in_addr ipzero;
|
||||
|
||||
extern pstring global_myname;
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/* nmbd.c sets this to True. */
|
||||
BOOL global_in_nmbd = False;
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
int num_good_sends = 0;
|
||||
int num_good_receives = 0;
|
||||
|
||||
@ -1269,5 +1267,3 @@ int name_len(char *s1)
|
||||
|
||||
return(len);
|
||||
} /* name_len */
|
||||
|
||||
|
||||
|
@ -21,9 +21,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
initialises a password structure
|
||||
****************************************************************************/
|
||||
|
@ -23,9 +23,6 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#include "byteorder.h"
|
||||
|
||||
/*
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/* error code stuff - put together by Merik Karman
|
||||
merik@blackadder.dsh.oz.au */
|
||||
|
||||
@ -200,4 +198,3 @@ WERROR map_werror_from_unix(int error)
|
||||
NTSTATUS status = map_nt_error_from_unix(error);
|
||||
return ntstatus_to_werror(status);
|
||||
}
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
static TDB_CONTEXT *tdbd = NULL;
|
||||
|
||||
/* the key type used in the unexpeceted packet database */
|
||||
|
@ -28,8 +28,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#define ZERO_ZERO 0
|
||||
|
||||
/* This contains elements that differentiate locks. The smbpid is a
|
||||
|
@ -36,7 +36,6 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
extern int DEBUGLEVEL;
|
||||
uint16 global_smbpid;
|
||||
|
||||
/* the locking database handle */
|
||||
|
@ -24,7 +24,6 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/*
|
||||
* The POSIX locking database handle.
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern pstring global_myname;
|
||||
|
||||
/**********************************************************************
|
||||
@ -737,5 +736,3 @@ int enum_msdfs_links(struct junction_map* jn)
|
||||
}
|
||||
return jn_count;
|
||||
}
|
||||
|
||||
|
||||
|
@ -20,8 +20,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/***************************************************************************
|
||||
Add a DNS result to the name cache.
|
||||
****************************************************************************/
|
||||
|
@ -27,8 +27,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern pstring debugf;
|
||||
pstring servicesf = CONFIGFILE;
|
||||
|
||||
@ -878,4 +876,3 @@ static void usage(char *pname)
|
||||
x_fclose(dbf);
|
||||
return(0);
|
||||
} /* main */
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern pstring global_myname;
|
||||
extern fstring global_myworkgroup;
|
||||
extern char **my_netbios_names;
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern pstring global_myname;
|
||||
|
||||
extern uint16 samba_nb_type; /* Samba's NetBIOS name type. */
|
||||
|
@ -30,8 +30,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/* -------------------------------------------------------------------------- **
|
||||
* Variables...
|
||||
*
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "includes.h"
|
||||
#include "smb.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern struct in_addr ipzero;
|
||||
extern pstring global_myname;
|
||||
extern fstring global_myworkgroup;
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern pstring global_myname;
|
||||
extern fstring global_myworkgroup;
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern pstring global_myname;
|
||||
extern fstring global_myworkgroup;
|
||||
extern BOOL found_lm_clients;
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern fstring global_myworkgroup;
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -26,8 +26,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/****************************************************************************
|
||||
Load a lmhosts file.
|
||||
****************************************************************************/
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern pstring global_myname;
|
||||
extern fstring global_myworkgroup;
|
||||
extern char **my_netbios_names;
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern char **my_netbios_names;
|
||||
extern fstring global_myworkgroup;
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern char **my_netbios_names;
|
||||
|
||||
uint16 samba_nb_type = 0; /* samba's NetBIOS name type */
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern struct in_addr ipzero;
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern fstring global_myworkgroup;
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/****************************************************************************
|
||||
Deal with a response packet when releasing one of our names.
|
||||
****************************************************************************/
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/****************************************************************************
|
||||
Deal with a successful node status response.
|
||||
****************************************************************************/
|
||||
|
@ -28,8 +28,6 @@ extern int ClientNMB;
|
||||
extern int ClientDGRAM;
|
||||
extern int global_nmb_port;
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern int num_response_packets;
|
||||
|
||||
extern struct in_addr loopback_ip;
|
||||
|
@ -26,8 +26,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern pstring global_myname;
|
||||
extern fstring global_myworkgroup;
|
||||
|
||||
|
@ -26,8 +26,6 @@
|
||||
|
||||
extern int ClientNMB;
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern struct in_addr ipzero;
|
||||
|
||||
int num_response_packets = 0;
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern pstring global_myname;
|
||||
extern fstring global_myworkgroup;
|
||||
extern char **my_netbios_names;
|
||||
|
@ -27,8 +27,6 @@
|
||||
|
||||
extern int ClientNMB;
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern fstring global_myworkgroup;
|
||||
extern char **my_netbios_names;
|
||||
|
||||
|
@ -31,8 +31,6 @@ extern int ClientNMB;
|
||||
extern int ClientDGRAM;
|
||||
extern int global_nmb_port;
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern fstring myworkgroup;
|
||||
extern char **my_netbios_names;
|
||||
extern struct in_addr ipzero;
|
||||
|
@ -31,8 +31,6 @@
|
||||
#include "includes.h"
|
||||
#include "smb.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
struct sync_record {
|
||||
struct sync_record *next, *prev;
|
||||
fstring workgroup;
|
||||
|
@ -23,8 +23,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/****************************************************************************
|
||||
Function called when the name lookup succeeded.
|
||||
****************************************************************************/
|
||||
|
@ -26,10 +26,8 @@
|
||||
#define WINS_LIST "wins.dat"
|
||||
#define WINS_VERSION 1
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern struct in_addr ipzero;
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
possibly call the WINS hook external program when a WINS change is made
|
||||
*****************************************************************************/
|
||||
|
@ -27,8 +27,6 @@
|
||||
|
||||
extern int ClientNMB;
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
extern pstring global_myname;
|
||||
extern fstring global_myworkgroup;
|
||||
extern char **my_netbios_names;
|
||||
|
@ -30,10 +30,6 @@
|
||||
|
||||
#include "winbindd_nss.h"
|
||||
|
||||
/* Naughty global stuff */
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/* Client state structure */
|
||||
|
||||
struct winbindd_cli_state {
|
||||
|
@ -25,8 +25,6 @@
|
||||
#include "includes.h"
|
||||
#include <nss.h>
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#ifndef INADDRSZ
|
||||
#define INADDRSZ 4
|
||||
#endif
|
||||
|
@ -98,8 +98,6 @@
|
||||
* bSize - The size of the global buffer <bufr>.
|
||||
*/
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
static char *bufr = NULL;
|
||||
static int bSize = 0;
|
||||
|
||||
|
@ -30,8 +30,6 @@
|
||||
#define ADD_USER 1
|
||||
#define MODIFY_USER 2
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
/*******************************************************************
|
||||
open a connection to the ldap serve.
|
||||
******************************************************************/
|
||||
|
@ -30,8 +30,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#ifdef WITH_PAM
|
||||
|
||||
/*******************************************************************
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -51,8 +51,6 @@
|
||||
#define SAM_ACCOUNT struct sam_passwd
|
||||
#endif
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
struct ldap_enum_info
|
||||
{
|
||||
LDAP *ldap_struct;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -20,8 +20,6 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
|
||||
static char *Months[13] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Err"};
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
extern pstring global_myname;
|
||||
extern DOM_SID global_sid_World;
|
||||
|
||||
|
@ -65,8 +65,6 @@
|
||||
|
||||
#include "smb.h"
|
||||
|
||||
extern int DEBUGLEVEL;
|
||||
|
||||
#ifdef AIX
|
||||
/* ******************************************
|
||||
Extend for AIX system and qconfig file
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user