diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-09-22 03:44:15 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-09-22 03:44:15 +0000 |
commit | 81ad252fbc3720939dccbda23ef447af071aab14 (patch) | |
tree | e96c4aaad946d0de3c8b72449dfeb649914df10e | |
parent | d76dfbb879dc49cb03742f6ed184eb5ef5b75002 (diff) | |
download | samba-81ad252fbc3720939dccbda23ef447af071aab14.tar.gz samba-81ad252fbc3720939dccbda23ef447af071aab14.tar.bz2 samba-81ad252fbc3720939dccbda23ef447af071aab14.zip |
These are RIDs not Unix UIDs so make this clear in the feild names.
Andrew Bartlett
(This used to be commit d1bc778301b31d77fdc3837ec3cff24ce37adcd7)
-rw-r--r-- | source3/include/rpc_netlogon.h | 4 | ||||
-rw-r--r-- | source3/rpc_parse/parse_net.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h index 5fea305c4c..26365fde2e 100644 --- a/source3/include/rpc_netlogon.h +++ b/source3/include/rpc_netlogon.h @@ -141,8 +141,8 @@ typedef struct net_user_info_3 uint16 logon_count; /* logon count */ uint16 bad_pw_count; /* bad password count */ - uint32 user_id; /* User ID */ - uint32 group_id; /* Group ID */ + uint32 user_rid; /* User ID */ + uint32 group_rid; /* Group ID */ uint32 num_groups; /* num groups */ uint32 buffer_groups; /* undocumented buffer pointer to groups. */ uint32 user_flgs; /* user flags */ diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c index f7dbfb2a57..eb1ddd36f7 100644 --- a/source3/rpc_parse/parse_net.c +++ b/source3/rpc_parse/parse_net.c @@ -1259,8 +1259,8 @@ void init_net_user_info3(TALLOC_CTX *ctx, NET_USER_INFO_3 *usr, SAM_ACCOUNT *sam usr->logon_count = logon_count; usr->bad_pw_count = bad_pw_count; - usr->user_id = pdb_get_user_rid(sampw); - usr->group_id = pdb_get_group_rid(sampw); + usr->user_rid = pdb_get_user_rid(sampw); + usr->group_rid = pdb_get_group_rid(sampw); usr->num_groups = num_groups+1; usr->buffer_groups = 1; /* indicates fill in groups, below, even if there are none */ usr->user_flgs = user_flgs; @@ -1299,7 +1299,7 @@ void init_net_user_info3(TALLOC_CTX *ctx, NET_USER_INFO_3 *usr, SAM_ACCOUNT *sam /* primary group **MUST** go first. NT4's winmsd.exe will give "The Network statistics are currently not available. 9-5" What the heck is this? -- jerry */ - usr->gids[0].g_rid = usr->group_id; + usr->gids[0].g_rid = usr->group_rid; usr->gids[0].attr = 0x07; for (i = 0; i < num_groups; i++) usr->gids[i+1] = gids[i]; @@ -1372,9 +1372,9 @@ static BOOL net_io_user_info3(char *desc, NET_USER_INFO_3 *usr, prs_struct *ps, if(!prs_uint16("bad_pw_count ", ps, depth, &usr->bad_pw_count)) /* bad password count */ return False; - if(!prs_uint32("user_id ", ps, depth, &usr->user_id)) /* User ID */ + if(!prs_uint32("user_rid ", ps, depth, &usr->user_rid)) /* User RID */ return False; - if(!prs_uint32("group_id ", ps, depth, &usr->group_id)) /* Group ID */ + if(!prs_uint32("group_rid ", ps, depth, &usr->group_rid)) /* Group RID */ return False; if(!prs_uint32("num_groups ", ps, depth, &usr->num_groups)) /* num groups */ return False; |