git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d85d85b
)
s3:smbd Use the right num_sids
author
Simo Sorce
<ssorce@redhat.com>
Fri, 28 May 2010 12:33:18 +0000
(08:33 -0400)
committer
Simo Sorce
<ssorce@redhat.com>
Sat, 29 May 2010 21:07:55 +0000
(17:07 -0400)
We use s_i->ptok->num_sids everywhere else in this call and
then suddenly we reference s_i->num_sids
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index 8535d46afa43a840cd78ca6c26c898cbc5f645af..4032120007e8343fe66742fbb05e1f0c984ba144 100644
(file)
--- 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