userdom_struct dies!
authorabartlet <abartlet@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Mon, 7 Jun 2004 09:08:39 +0000 (09:08 +0000)
committerabartlet <abartlet@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Mon, 7 Jun 2004 09:08:39 +0000 (09:08 +0000)
(Cleanup unused header definitions)

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@1063 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/auth/auth_domain.c
source/auth/auth_server.c
source/include/smb.h

index cd11bcdefe67ea9a1a433d1fac90962e70446f84..6e289895225c718df2004ffe31738c9d8a4e7917 100644 (file)
@@ -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
index 076fa8e70e0b7667b2d26b143b6cf5af35a13a0f..f98825e04be17252deb185cf752c4b22f624c7b0 100644 (file)
@@ -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)) {
index 2b047f41ad377a1c035661ad0d472fae3fb75df8..9e12aadc9f24645e252ab6ed8e719135f395fba0 100644 (file)
@@ -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