I stuck some debug in the relevant code, and

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.


Caolán McNamara wrote:
> On Wed, 2011-08-31 at 14:53 +0200, Noel Grandin wrote:
>> New build log attached.
> 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.
>
>

Disclaimer: http://www.peralex.com/disclaimer.html


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to