Setting unicodePwd hashes directly

Michael Wood esiotrot at
Wed Aug 25 00:30:27 MDT 2010


On 24 August 2010 18:01, Lukasz Zalewski <lukas at> wrote:
> On 08/24/2010 04:44 PM, Matthias Dieter Wallnöfer wrote:
>> Hi Michael,
>> it's not encouraged to set NT hashes by bypassing the "password_hash"
>> module this way - better use metze's new control "bypass_password_hash".
>> I personally don't exactly know how to use/set it but he should be able
>> to explain it to you.
>> Matthias
> I'm pretty sure its:
> $targetdir/bin/ldbadd -H $targetdir/private/sam.ldb --nosync --verbose
> --controls=relax:0 --controls=local_oid:
> --controls=local_oid: myldif.ldif

Thanks very much :)  I'll give it a try.

> Metze will be able to confirm if that is the case

Michael Wood <esiotrot at>

More information about the samba-technical mailing list