summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-06-07 09:08:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:36 -0500
commit0d9e31cf16d3d96b636e6d2fb4d89df81f9b8592 (patch)
tree092079f3971cfc9938a3e98b3409dc960a376798 /source4
parente585df7c5843d7c89ae1baccecbf47b59024e629 (diff)
downloadsamba-0d9e31cf16d3d96b636e6d2fb4d89df81f9b8592.tar.gz
samba-0d9e31cf16d3d96b636e6d2fb4d89df81f9b8592.tar.bz2
samba-0d9e31cf16d3d96b636e6d2fb4d89df81f9b8592.zip
r1063: userdom_struct dies!
(Cleanup unused header definitions) Andrew Bartlett (This used to be commit 5941873f558c2af6ab5ef64e468acc8fab96ac01)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth_domain.c2
-rw-r--r--source4/auth/auth_server.c3
-rw-r--r--source4/include/smb.h7
3 files changed, 0 insertions, 12 deletions
diff --git a/source4/auth/auth_domain.c b/source4/auth/auth_domain.c
index cd11bcdefe..6e28989522 100644
--- a/source4/auth/auth_domain.c
+++ b/source4/auth/auth_domain.c
@@ -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
diff --git a/source4/auth/auth_server.c b/source4/auth/auth_server.c
index 076fa8e70e..f98825e04b 100644
--- a/source4/auth/auth_server.c
+++ b/source4/auth/auth_server.c
@@ -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)) {
diff --git a/source4/include/smb.h b/source4/include/smb.h
index 2b047f41ad..9e12aadc9f 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -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