diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-29 20:24:17 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-29 20:24:17 +0000 |
commit | 9066025a8a4afe1f7f559c455d86fc023792ed17 (patch) | |
tree | 6ced773fa584a81c9a0fe957cac357c1f8a9aa2d /source3/rpc_server/srv_reg.c | |
parent | 282eb4f3e8ea2f19c5609bc498d24a68a1ca48a5 (diff) | |
download | samba-9066025a8a4afe1f7f559c455d86fc023792ed17.tar.gz samba-9066025a8a4afe1f7f559c455d86fc023792ed17.tar.bz2 samba-9066025a8a4afe1f7f559c455d86fc023792ed17.zip |
Got very strict about the differences and uses of
uid_t, gid_t and vuid. Added sys_getgroups() to get
around the int * return problem. Set correct datatypes
for all uid, gid and vuid variables.
Jeremy.
(This used to be commit e570db46fc3a78e499523fd342e9a34cebb18998)
Diffstat (limited to 'source3/rpc_server/srv_reg.c')
-rw-r--r-- | source3/rpc_server/srv_reg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_reg.c b/source3/rpc_server/srv_reg.c index 3f9cdc20f4..c153a78ee1 100644 --- a/source3/rpc_server/srv_reg.c +++ b/source3/rpc_server/srv_reg.c @@ -61,7 +61,7 @@ static void reg_reply_close(REG_Q_CLOSE *q_r, /******************************************************************* api_reg_close ********************************************************************/ -static void api_reg_close( int uid, prs_struct *data, +static void api_reg_close( uint16 vuid, prs_struct *data, prs_struct *rdata ) { REG_Q_CLOSE q_r; @@ -100,7 +100,7 @@ static void reg_reply_open(REG_Q_OPEN_POLICY *q_r, /******************************************************************* api_reg_open ********************************************************************/ -static void api_reg_open( int uid, prs_struct *data, +static void api_reg_open( uint16 vuid, prs_struct *data, prs_struct *rdata ) { REG_Q_OPEN_POLICY q_u; @@ -160,7 +160,7 @@ static void reg_reply_open_entry(REG_Q_OPEN_ENTRY *q_u, /******************************************************************* api_reg_open_entry ********************************************************************/ -static void api_reg_open_entry( int uid, prs_struct *data, +static void api_reg_open_entry( uint16 vuid, prs_struct *data, prs_struct *rdata ) { REG_Q_OPEN_ENTRY q_u; @@ -205,7 +205,7 @@ static void reg_reply_info(REG_Q_INFO *q_u, /******************************************************************* api_reg_info ********************************************************************/ -static void api_reg_info( int uid, prs_struct *data, +static void api_reg_info( uint16 vuid, prs_struct *data, prs_struct *rdata ) { REG_Q_INFO q_u; |