mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r1063: userdom_struct dies!
(Cleanup unused header definitions) Andrew Bartlett
This commit is contained in:
parent
f65cba9047
commit
5941873f55
@ -26,8 +26,6 @@
|
||||
|
||||
BOOL global_machine_password_needs_changing = False;
|
||||
|
||||
extern userdom_struct current_user_info;
|
||||
|
||||
|
||||
/*
|
||||
resolve the name of a DC in ways appropriate for an ADS domain mode
|
||||
|
@ -24,8 +24,6 @@
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_AUTH
|
||||
|
||||
extern userdom_struct current_user_info;
|
||||
|
||||
/****************************************************************************
|
||||
Support for server level security.
|
||||
****************************************************************************/
|
||||
@ -49,7 +47,6 @@ static struct cli_state *server_cryptkey(TALLOC_CTX *mem_ctx)
|
||||
p = pserver;
|
||||
|
||||
while(next_token( &p, desthost, LIST_SEP, sizeof(desthost))) {
|
||||
standard_sub_basic(current_user_info.smb_name, desthost, sizeof(desthost));
|
||||
strupper(desthost);
|
||||
|
||||
if(!resolve_name( desthost, &dest_ip, 0x20)) {
|
||||
|
@ -266,13 +266,6 @@ typedef struct data_blob {
|
||||
#include "smb_interfaces.h"
|
||||
#include "librpc/ndr/libndr.h"
|
||||
|
||||
typedef struct userdom_struct {
|
||||
fstring smb_name; /* user name from the client */
|
||||
fstring unix_name; /* unix user name of a validated user */
|
||||
fstring full_name; /* to store full name (such as "Joe Bloggs") from gecos field of password file */
|
||||
fstring domain; /* domain that the client specified */
|
||||
} userdom_struct;
|
||||
|
||||
|
||||
/* used for server information: client, nameserv and ipc */
|
||||
struct server_info_struct
|
||||
|
Loading…
x
Reference in New Issue
Block a user