diff options
author | Luke Leighton <lkcl@samba.org> | 1999-02-03 00:49:24 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-02-03 00:49:24 +0000 |
commit | 1153f00f889e5bb310e895d319eed75bc93deef4 (patch) | |
tree | 992b761fc48443b56324b1403708d4d0ff22c813 /source3/rpc_parse/parse_reg.c | |
parent | fe609d810e145d5491968fee5d691d6eee41e152 (diff) | |
download | samba-1153f00f889e5bb310e895d319eed75bc93deef4.tar.gz samba-1153f00f889e5bb310e895d319eed75bc93deef4.tar.bz2 samba-1153f00f889e5bb310e895d319eed75bc93deef4.zip |
cache unix groups so that two-level getgrent calls don't occur.
(This used to be commit f7dfa55a2e191ae780d399026bce48f68cda4bf0)
Diffstat (limited to 'source3/rpc_parse/parse_reg.c')
-rw-r--r-- | source3/rpc_parse/parse_reg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c index 3365a68b3d..b0086f402a 100644 --- a/source3/rpc_parse/parse_reg.c +++ b/source3/rpc_parse/parse_reg.c @@ -766,7 +766,6 @@ creates a structure. ********************************************************************/ void make_reg_r_info(REG_R_INFO *r_r, uint32 level, char *os_type, - uint32 unknown_0, uint32 unknown_1, uint32 status) { uint8 buf[512]; @@ -779,10 +778,10 @@ void make_reg_r_info(REG_R_INFO *r_r, make_buffer2(&(r_r->uni_type), buf, len*2); r_r->ptr2 = 1; - r_r->unknown_0 = unknown_0; + r_r->unknown_0 = len*2; r_r->ptr3 = 1; - r_r->unknown_1 = unknown_1; + r_r->unknown_1 = len*2; r_r->status = status; } |