Bug 143417 - ldapsmb should have UTF-8 support activated
Summary: ldapsmb should have UTF-8 support activated
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Network (show other bugs)
Version: Beta 1
Hardware: x86-64 SUSE Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-16 21:05 UTC by Herbert Graeber
Modified: 2006-11-03 13:26 UTC (History)
2 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch for ldapsmb (720 bytes, patch)
2006-01-16 21:07 UTC, Herbert Graeber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert Graeber 2006-01-16 21:05:04 UTC
For SUSE 10 and the UTF-8 option in ldapsmb should be activated. Without this it is not possible to migrate NT4 domains via 'net vampire' based on a ldapsmb samba configuration, if NT4 user and group names contain umlauts.
Comment 1 Herbert Graeber 2006-01-16 21:07:04 UTC
Created attachment 63514 [details]
patch for ldapsmb

This patch activates UTF-8 support, including a small fix to make it work.
Comment 2 Guenther Deschner 2006-02-02 13:11:54 UTC
What Samba settings were you using? Could you post the various charset settings?
Comment 3 Bjoern Jacke 2006-02-02 14:49:26 UTC
we use 8 bit in ldapsmb - this will also rename the codepoints of ä,ö,ü etc. in latin1 in other 8-bit encodings, which will end in a mess for non-west-european users. This needs some more reworks I fear...
Comment 4 Herbert Graeber 2006-02-02 19:52:58 UTC
I have relied on the defaults of a german SUSE setup. This means there are no charset settings in /etc/samba/smb.conf. "testparm -sv" gives

        dos charset = CP850
        unix charset = LOCALE
        display charset = LOCALE

and "env" shows

        LANG=POSIX
        LC_CTYPE=de_DE.UTF-8

Without the patch "net vampire" fails to import the german groups Domänen-Admins, Domänen-Users and Domänen-Gäste. Using the patch everything works as expected.
Comment 5 Bjoern Jacke 2006-11-01 17:12:16 UTC
Guenther: this one seems also to be addressed with 1.34b. You might however also want to set "HAVE_UTF8" to 1 in the RPM. UTF-8 is locale and Samba default sice a long time now and is the sanest thing for ldapsmb, too. I will also change this in svn along with some other latin1 insanity fixes :-)
Comment 6 Guenther Deschner 2006-11-03 13:26:01 UTC
Our hotfix in 10.2 beta2 should do, if not please reopen. Björn will probably cleanup the entire unicode handling soon.