jelmer at samba.org
Fri Dec 9 08:03:27 MST 2011
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
More information about the samba-technical