how can i set my LDB that support UTF-8
abartlet at samba.org
Sat Nov 27 03:30:30 MST 2010
On Sat, 2010-11-27 at 13:06 +0330, hesam mohamadian wrote:
> hello i want to add Asian name to my LDB data base but when i export as a
> ldif file my Asian name mixed and i cant read them how can i set UTF-8 in my
> LDB database and one more question how can i backup my users password ad
> ldif file (i can not with ldapsearch) ?
Samba4 only supports UTF8, and only correctly operates if all the input
values are UTF8 (it does not change character sets for LDB or LDAP
If your values are being corrupted, then look first at what charset the
input file is in.
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:
(that's the attributes that passwords and other secret things are in).
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part
More information about the samba-technical