diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-06-10 03:50:38 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-06-10 03:50:38 +0000 |
commit | 057ec70b53c8cf97066fcc6f0673a28d9ccc15ab (patch) | |
tree | 435f2ec046ebe756271722361be0003d6a86b4e5 /source3/nsswitch/winbindd_group.c | |
parent | 1d008cd2cb2bf1821bca72328ef33aa76318e282 (diff) | |
download | samba-057ec70b53c8cf97066fcc6f0673a28d9ccc15ab.tar.gz samba-057ec70b53c8cf97066fcc6f0673a28d9ccc15ab.tar.bz2 samba-057ec70b53c8cf97066fcc6f0673a28d9ccc15ab.zip |
- fixed the bug that forced us not to use the winbindd cache when we
have a primary ADS domain and a secondary (trusted) NT4 domain. This
caused winbindd to be *really* slow for that setup.
- fixed winbindd_getgrgid(), which was calling uid_to_sid instead of
gid_to_sid(). When you make changes to winbind *PLEASE* test using
nsstest.
(This used to be commit cdd9b60a078b63e22f543d4c8d0956ff536f4d89)
Diffstat (limited to 'source3/nsswitch/winbindd_group.c')
-rw-r--r-- | source3/nsswitch/winbindd_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c index 94b6326b90..54f7eadad5 100644 --- a/source3/nsswitch/winbindd_group.c +++ b/source3/nsswitch/winbindd_group.c @@ -278,7 +278,7 @@ enum winbindd_result winbindd_getgrgid(struct winbindd_cli_state *state) return WINBINDD_ERROR; /* Get rid from gid */ - if (NT_STATUS_IS_ERR(uid_to_sid(&group_sid, state->request.data.gid))) { + if (NT_STATUS_IS_ERR(gid_to_sid(&group_sid, state->request.data.gid))) { DEBUG(1, ("could not convert gid %d to rid\n", state->request.data.gid)); return WINBINDD_ERROR; |