1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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
This commit is contained in:
Simo Sorce 2010-05-28 08:33:18 -04:00
parent d85d85b851
commit b99dd10b39

View File

@ -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