question about required fields and I18N issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chen Shaopeng wrote:

>speedy zinc wrote:
>  
>
>>But the console does not even display the content 
>>"correctly". We use the java sdk to get the data, and
>>it is correct. 
>>
>>We are a team of 5, with 5 different lanaguages. We
>>aall
>>develop on Linux, using utf8 environment. We can add
>>entries using native characters, but despite setting
>>our environment to the right locale, the console just
>>displays some garbage characters.
>>
>>    
>>
>
>The contents in the database has nothing to do with wether
>the console can display or not though. If you see
>"garbage" characters, it probably means the console actually
>got the right data, except that it does not know how to
>display correctly. Probably lack of the right font?
>
>You can change the display font to see if it's right, go to
>Edit -> Preferences -> Font, and select a font that can
>display your native language.
>
>And I don't think the console has localization for that many
>languages either. It does not have localization for chinese
>(maybe I'm wrong, but starting with "-l zh" or "-l zh_CN"
>does not work).
>
>The annoying thing we had with FDS is that the uid must be in
>7-bit ascii (duh!). I don't know what does the LDAP specs said
>(I haven't looked up yet), but it makes it impossible to have
>user login name in chinese. That's a shame, coz directory server
>is such an important piece of software.
>  
>
This is historical, due to the fact that in the old days, the uid 
attribute was also the unix login name, which was restricted by most 
OSes to be 7bit ASCII.  There is a 7 bit checking plugin which may be on 
by default - you can probably safely disable it for all except 
userPassword (and even then, your systems may be able to accept 8bit 
passwords).

>To get around this, we add an attribute called "loginname", and
>use that as the input to generate a hash, and use the hash as
>the uid. According to the description of your project, you might
>have to do this too :)
>
>Hope that helps.
>
>csp
>  
>
>------------------------------------------------------------------------
>
>--
>Fedora-directory-users mailing list
>Fedora-directory-users at redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-directory-users
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3312 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20051108/952c5747/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux