how can i set my LDB that support UTF-8
Angelos Oikonomopoulos
angelos.oikonomopoulos at fp-commerce.de
Mon Nov 29 01:38:45 MST 2010
On 11/27/2010 11:30 AM, Andrew Bartlett wrote:
[...]
> As to backing up your Samba database, take a copy of all the files in
> private, including in particular the sam.ldb.d directory and sam.ldb.
> You can export it to LDIF using ldbsearch, including the passwords with
> ldbsearch, but you must specify these additional attributes:
>
> currentValue
> dBCSPwd
> initialAuthIncoming
> initialAuthOutgoing
> lmPwdHistory
> ntPwdHistory
> priorValue
> supplementalCredentials
> trustAuthIncoming
> trustAuthOutgoing
> unicodePwd
>
> (that's the attributes that passwords and other secret things are in).
This is the first time I've seen the procedure for backing up samba4
described somewhere :-). Does the restore procedure involve just
untarring private/ and using ldbadd with the saved LDIF?
Thanks,
Aggelos
More information about the samba-technical
mailing list