Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Other > International > I18N/L10N - Translations

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2006, 05:45 AM
Junior Member
 
Posts: 6
Question create User with zmprov with german characters like üöäß in names, etc

Hej,

i want to create a user via console with the following statement.

/opt/zimbra/bin/zmprov ca user.006@test.de 123qwe cn "Mäx Müster" co Deutschland company "Test GmbH" displayName "Mäx Müster" givenName Mäx l Hagen ou Support sn Müster st Niedersachsen street "Dorfberg 9a" postalCode 31216 telephoneNumber "05221/821930" zimbraMailCanonicalAddress max.muster@privat.de

It works fine if i don't use german characters like üöäß and in the webinterface it works with german characters fine, too. but i want to create the users automatically via console.

Any Ideas ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-26-2007, 06:16 AM
Project Contributor
 
Posts: 18
Default Any solutions yet?

Hi

I've got exactly the same problem. I tried different values for the environment variables LANG or LANGUAGE. No success.

This is really important to us, as our scripts syncronize about 1000 zimbra users with our pupil/teacher db.

Anything I can try on my server?

Thanks

Tom
Reply With Quote
  #3 (permalink)  
Old 01-26-2007, 08:53 AM
Zimbra Employee
 
Posts: 228
Default

Can you please file a bug on this so we can get someone to look at it? Sounds like we are incorrectly losing charset info and are probably using a stream where we should be using a reader.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 02-19-2007, 02:04 AM
Project Contributor
 
Posts: 18
Default It works for me, now

Hi

I found a solution to the problem on my server:

I always did a `sudo - zimbra` before executing the user migration script (always with the '-').

I told you earlier that I tried with different system locales (UTF-8, ISO-8859-1). What I did not realize was, that the zimbra user has the following statement in its .bash_profile file (which was automatically installed in /opt/zimbra):

export LANG=C

After I changed this line to

export LANG=en_US.ISO-8859-1

the zmprov commands with äöü in the names worked as expected.

Hope this helps! Kind regards

CrypTom
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0