Bug 11179 - Samba-tool classicupgrade problem importing russian "И" from LDAP
Samba-tool classicupgrade problem importing russian "И" from LDAP
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools
4.1.17
x64 FreeBSD
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-24 14:18 UTC by Dron
Modified: 2015-11-30 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dron 2015-03-24 14:18:49 UTC
Hello.
FreeBSD 10.1 amd64
Samba 4.1.17

While trying to update Samba3+LDAP domain to Samba4 AD domain got this error:

...
...
Sorting rpmd with attid exception 3 rDN=CN DN=CN=bilyak.i,CN=Users,DC=sdr,DC=tld
convert_string_talloc: Conversion error: Illegal multibyte sequence(▒рина Сергеевна)
Conversion error: Illegal multibyte sequence(▒рина Сергеевна)
Failed to modify account record CN=bilyak.i,CN=Users,DC=sdr,DC=tld to set user attributes: objectclass_attrs: attribute 'displayName' on entry 'CN=bilyak.i,CN=Users,DC=sdr,DC=tld' contains at least one invalid value!

There is a problem in converting russian capital "И" character. Appeared at any field where this character appear.
Comment 1 Dron 2015-11-30 11:14:58 UTC
Hello!
Any updates about this issue?
Comment 2 Andrew Bartlett 2015-11-30 20:59:17 UTC
You need to confirm that 'unix charset = utf8' and that your displayName is UTF8 in the existing LDAP server.
Comment 3 Dron 2015-11-30 21:06:25 UTC
Hello Andrew!
I have unix charset = utf-8 in my smb.conf
Server locale is
# locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_ALL=

And records in LDAP also in utf-8.