Setting unicodePwd hashes directly

Michael Wood esiotrot at
Wed Aug 25 00:35:28 MDT 2010

On 25 August 2010 06:32, Stefan (metze) Metzmacher <metze at> wrote:
> Am 24.08.2010 18:01, schrieb Lukasz Zalewski:
>> 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
>> Metze will be able to confirm if that is the case
> Yes, but you need to be really, really careful when using that,
> this should remain hidden magic...

Yes, I understand it's not something that should be used unless it's
absolutely required, but I only need it for migrating from Apple Open
Directory.  I think that's a valid use case, right?  Andrew Bartlett
basically said that was the way to do the migration of the passwords.


Michael Wood <esiotrot at>

More information about the samba-technical mailing list