diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-03-04 16:12:29 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-03-04 21:19:05 +0100 |
commit | 0c78640e674914d3ee7e8233813ee91a44f16440 (patch) | |
tree | e9cd57cab2f7ef624af5286484958d5851163c3a /source4/libnet/userinfo.c | |
parent | a511d37d83be3bf47440527ad2b54fd124ba97a5 (diff) | |
download | samba-0c78640e674914d3ee7e8233813ee91a44f16440.tar.gz samba-0c78640e674914d3ee7e8233813ee91a44f16440.tar.bz2 samba-0c78640e674914d3ee7e8233813ee91a44f16440.zip |
s4:kdc: fix calculation of the rodc kvno
Bit shifting is non-trivial in C:-)
This
int32_t a = 0x12340000;
uint32_t b = (a >> 16);
results in 0x00001234, but this
int32_t a = 0xEDCB0000;
uint32_t b = (a >> 16);
results in 0xFFFFEDCB, while we expected 0x0000EDCB.
metze
Diffstat (limited to 'source4/libnet/userinfo.c')
0 files changed, 0 insertions, 0 deletions