<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Tahoma">I stuck some debug in the relevant code, and </font><br>
<pre wrap="">dwSubAuthorities==5 in security.c
dwSubAuthorities==4 in osl_Security.cxx
So this could be some weird Windows thing because the two modules are using different API calls to retrieve the SID.
</pre>
<br>
Caolán McNamara wrote:
<blockquote cite="mid:1314797474.24092.6371.camel@Vain" type="cite">
<pre wrap="">On Wed, 2011-08-31 at 14:53 +0200, Noel Grandin wrote:
</pre>
<blockquote type="cite">
<pre wrap="">New build log attached.
</pre>
</blockquote>
<pre wrap="">
strUserID: S-1-5-21-3395787511-4075999146-953599952
comes from qa/osl/security/osl_Security.cxx
strID: S-1-5-21-3395787511-4075999146-953599952-1000
comes from osl/w32/security.c
so its a matter of seeing which one is right, and which is wrong.
I suppose its incredibly unlikely to be the difference between
dwSubAuthorities=min(*GetSidSubAuthorityCount(pSid), 5);
and
dwSubAuthorities=*GetSidSubAuthorityCount(pSid)<=5?*GetSidSubAuthorityCount(pSid):5;
which looks like it should be equivalent ?
C.
</pre>
</blockquote>
<br><br><br><hr><font size="-2" color=808080>Disclaimer: <a href="http://www.peralex.com/disclaimer.html">http://www.peralex.com/disclaimer.html</a><br><br>
</body>
</html>