summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-02-28 06:03:35 +0000
committerAndrew Tridgell <tridge@samba.org>2003-02-28 06:03:35 +0000
commit7dfd59963dba921907893b9d1bffe797e9d8b4ad (patch)
treefdfbacf31f520c853b96cd167967ea5517b2ca72
parenta4b9c5c2576c80a5f60d47d178b9b8c50d348893 (diff)
downloadsamba-7dfd59963dba921907893b9d1bffe797e9d8b4ad.tar.gz
samba-7dfd59963dba921907893b9d1bffe797e9d8b4ad.tar.xz
samba-7dfd59963dba921907893b9d1bffe797e9d8b4ad.zip
fixed a crash bug in the new winbindd 'sids rule!' code
-rw-r--r--source/nsswitch/winbindd_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_rpc.c b/source/nsswitch/winbindd_rpc.c
index 03b0a1e7063..9989f27109d 100644
--- a/source/nsswitch/winbindd_rpc.c
+++ b/source/nsswitch/winbindd_rpc.c
@@ -106,7 +106,7 @@ static NTSTATUS query_user_list(struct winbindd_domain *domain,
This should really be made into a 'winbind
force group' smb.conf parameter or
something like that. */
- (*info)[i].user_sid
+ (*info)[i].group_sid
= rid_to_talloced_sid(domain,
mem_ctx,
DOMAIN_GROUP_RID_USERS);