how can i set my LDB that support UTF-8
hesam mohamadian
hesam.mohamadian at gmail.com
Thu Dec 23 02:12:02 MST 2010
hi i use this command inorder to create ldif file but i cant see *unicodePwd
*and other password security properties in my ldif file
*ldapsearch -x -v -b "dc=samdom,dc=com" -h samdom.com > data.ldif *
what should i do inorder to see all password security options like *unicodePwd
, trustAuthIncoming *, *trustAuthOutgoing* and so ...
Thanks
On Sat, Nov 27, 2010 at 2:00 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> 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
> operations).
>
> 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:
>
> currentValue
> dBCSPwd
> initialAuthIncoming
> initialAuthOutgoing
> lmPwdHistory
> ntPwdHistory
> priorValue
> supplementalCredentials
> trustAuthIncoming
> trustAuthOutgoing
> unicodePwd
>
> (that's the attributes that passwords and other secret things are in).
>
> Andrew Bartlett
>
> --
> Andrew Bartlett http://samba.org/~abartlet/<http://samba.org/%7Eabartlet/>
> Authentication Developer, Samba Team http://samba.org
> Samba Developer, Cisco Inc.
>
More information about the samba-technical
mailing list