diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-08 12:03:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-08 12:22:21 +0100 |
commit | 3dde0cbb769b92d922be13677ad076cae9b6a693 (patch) | |
tree | 78594e39465f545c7252eaef7bc469ceb80c4d71 /source3/smbd/uid.c | |
parent | defb574c2573a73335a2735e89e4cb5f96c4c069 (diff) | |
download | samba-3dde0cbb769b92d922be13677ad076cae9b6a693.tar.gz samba-3dde0cbb769b92d922be13677ad076cae9b6a693.tar.bz2 samba-3dde0cbb769b92d922be13677ad076cae9b6a693.zip |
s3:smbd: move all globals and static variables in globals.[ch]
The goal is to move all this variables into a big context structure.
metze
Diffstat (limited to 'source3/smbd/uid.c')
-rw-r--r-- | source3/smbd/uid.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index 82204e97e9..4f059bdb59 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "smbd/globals.h" /* what user is current? */ extern struct current_user current_user; @@ -349,16 +350,6 @@ bool unbecome_authenticated_pipe_user(void) Utility functions used by become_xxx/unbecome_xxx. ****************************************************************************/ -struct conn_ctx { - connection_struct *conn; - uint16 vuid; -}; - -/* A stack of current_user connection contexts. */ - -static struct conn_ctx conn_ctx_stack[MAX_SEC_CTX_DEPTH]; -static int conn_ctx_stack_ndx; - static void push_conn_ctx(void) { struct conn_ctx *ctx_p; |