Fix a valgrind bug in the new [ug]id2sid cache
commit1fe90d8d04368c09ba6509949b1281b8b887b04b
authorVolker Lendecke <vl@samba.org>
Sat, 3 May 2008 00:41:10 +0000 (3 02:41 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 6 May 2008 10:16:02 +0000 (6 12:16 +0200)
treee3fdbe29c49720171741e6411383ade577a45c5d
parent611d79d0ed27a1762c40caeb12b383fd96a58511
Fix a valgrind bug in the new [ug]id2sid cache

When we're given a SID, it is not always padded with zeros. Only look at the
initialized parts in the SID.
(This used to be commit 8717085dba832cfe6d7b807a10f779e495adc326)
source3/passdb/lookup_sid.c