summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-28 08:33:18 -0400
committerSimo Sorce <ssorce@redhat.com>2010-05-29 17:07:55 -0400
commitb99dd10b39a4483a1c4b34f5438630ed99374c10 (patch)
treece95fa859ad319c50a290e427e539dea03df460f /source3
parentd85d85b851f498330badc3eb47a7f10a6981376b (diff)
downloadsamba-b99dd10b39a4483a1c4b34f5438630ed99374c10.tar.gz
samba-b99dd10b39a4483a1c4b34f5438630ed99374c10.tar.bz2
samba-b99dd10b39a4483a1c4b34f5438630ed99374c10.zip
s3:smbd Use the right num_sids
We use s_i->ptok->num_sids everywhere else in this call and then suddenly we reference s_i->num_sids
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 8535d46afa..4032120007 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -3396,7 +3396,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
}
SIVAL(pdata, 24, conn->server_info->utok.ngroups);
- SIVAL(pdata, 28, conn->server_info->num_sids);
+ SIVAL(pdata, 28, conn->server_info->ptok->num_sids);
/* We walk the SID list twice, but this call is fairly
* infrequent, and I don't expect that it's performance