ACB_ values exceed 16 bits, yet some working variables explicitly declared as uint16

Luke Howard lukeh at padl.com
Tue Feb 21 23:59:35 GMT 2006


>> But those defined values can exceed 16 bits, for example:
>> include/smb.h:#define ACB_DONT_REQUIRE_PREAUTH 0x00010000  /* 1 =
>> Preauth not required */
>> 
>   That's odd, I would have expected valgrind to
>catch something like that, not just the Sun compilers...

Can't this only to be caught a compile-time, though?

BTW, where did the new ACB_ bits come from? What happened to ACB_PWLOCK
(seems to be same bit as ACB_ENCRYPTED_TEXT_PASSWORD_ALLOWED). Are
there ACB bits for the new Windows 2003 bits?

-- Luke

--


More information about the samba-technical mailing list