cblijenberg at hermanjordan.nl
Fri Dec 9 08:26:02 MST 2011
no no no, i wasn't looking for the plain text password.
just how to get the unicodepwd data valid.
so if i do a 'base64 -d' on the output data of unicodepwd in bash
i get the ntpassword hash ?!
On 9-12-2011 16:03, Jelmer Vernooij wrote:
> Am 09/12/11 15:02, schrieb Collen:
>> i'm trying to make a dump of the passwords (and user accounts) in samba4
>> i can dump them with ldbsearch and unicodePwd
>> in what format is the unicodePwd ? i thought it was base64 + utf16le
> It'll give you the NT password hash, not a plaintext password. ldbsearch
> outputs binary data it in base64 by default.
>> but decoding base64 and converting with iconv gives me nothing (an error)
>> how can i dump the password, and convert it to something useable ?
> The plaintext password isn't stored unless you have a clearTextPassword
Collen Blijenberg - systeem/netwerk beheerder
More information about the samba-technical