diff options
author | Tim Potter <tpot@samba.org> | 2002-09-11 03:53:41 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-09-11 03:53:41 +0000 |
commit | 7c152afe1606b1737a79a4d1f08e046286cb02ee (patch) | |
tree | 1bbf5c71bb4e1dcfb492ef7a98a0f792eb67e442 /source3/nsswitch | |
parent | 1d3bef09b664a992ffbe2307045757115f3d00c9 (diff) | |
download | samba-7c152afe1606b1737a79a4d1f08e046286cb02ee.tar.gz samba-7c152afe1606b1737a79a4d1f08e046286cb02ee.tar.bz2 samba-7c152afe1606b1737a79a4d1f08e046286cb02ee.zip |
Bugfix merge:
>Initialise user_rid value in WINBIND_USERINFO structure returned by
>the rpc version of query_user(). This fixes a caching bug found by
>Gavrie Philipson from disksite.
(This used to be commit 77bde1fa33cc387accda8f38bf654377310f5dbe)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_rpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_rpc.c b/source3/nsswitch/winbindd_rpc.c index 58d9092940..047280e21e 100644 --- a/source3/nsswitch/winbindd_rpc.c +++ b/source3/nsswitch/winbindd_rpc.c @@ -315,6 +315,7 @@ static NTSTATUS query_user(struct winbindd_domain *domain, cli_samr_close(hnd->cli, mem_ctx, &user_pol); got_user_pol = False; + user_info->user_rid = user_rid; user_info->group_rid = ctr->info.id21->group_rid; user_info->acct_name = unistr2_tdup(mem_ctx, &ctr->info.id21->uni_user_name); |