summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_domain.c2
-rw-r--r--source4/auth/auth_server.c3
2 files changed, 0 insertions, 5 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)) {