diff options
author | Tim Potter <tpot@samba.org> | 2000-07-03 06:52:31 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-07-03 06:52:31 +0000 |
commit | f048209484b10ed397c55864ca9ee29789f4e372 (patch) | |
tree | ccf47489f65b4b8ec1f2ad67f622f73f19de10c1 /source3/include | |
parent | efc941327858c1e0926b3dd3424f9a6ef4e9f651 (diff) | |
download | samba-f048209484b10ed397c55864ca9ee29789f4e372.tar.gz samba-f048209484b10ed397c55864ca9ee29789f4e372.tar.bz2 samba-f048209484b10ed397c55864ca9ee29789f4e372.zip |
Some more sec_ctx changes. Modified some fields in the pipe_struct
structure so authenticated pipe users can have their unix groups set when
become_authenticated_pipe_user() is called.
(This used to be commit 55c9bf124dc661df43bfe582ef14b1297aeaf0fa)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ntdomain.h | 28 | ||||
-rw-r--r-- | source3/include/smb.h | 9 |
2 files changed, 19 insertions, 18 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 424a99c700..7b652cad05 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -164,23 +164,23 @@ typedef struct pipes_struct /* * Unix user name and credentials. */ - fstring unix_user_name; - uid_t uid; - gid_t gid; - /* - * Set to true when an RPC bind has been done on this pipe. - */ - - BOOL pipe_bound; - - /* - * Set to true when we should return fault PDU's for everything. - */ - - BOOL fault_state; + fstring pipe_user_name; + user_struct pipe_user; /* + * Set to true when an RPC bind has been done on this pipe. + */ + + BOOL pipe_bound; + + /* + * Set to true when we should return fault PDU's for everything. + */ + + BOOL fault_state; + + /* * Struct to deal with multiple pdu inputs. */ diff --git a/source3/include/smb.h b/source3/include/smb.h index cb53e7b59e..fdd987457b 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1687,10 +1687,6 @@ struct ncacn_np #include "rpc_creds.h" #include "rpc_secdes.h" #include "nt_printing.h" -#include "ntdomain.h" - -#include "client.h" -#include "rpcclient.h" typedef struct { @@ -1717,6 +1713,11 @@ typedef struct struct dcinfo dc; } user_struct; +#include "ntdomain.h" + +#include "client.h" +#include "rpcclient.h" + /* * Size of new password account encoding string. DO NOT CHANGE. */ |