Results 1 to 4 of 4

Thread: create User with zmprov with german characters like in names, etc

  1. #1
    andre is offline Junior Member
    Join Date
    Dec 2006
    Posts
    6
    Rep Power
    8

    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 "Mx Mster" co Deutschland company "Test GmbH" displayName "Mx Mster" givenName Mx l Hagen ou Support sn Mster 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

  2. #2
    CrypTom is offline Project Contributor
    Join Date
    Aug 2006
    Posts
    33
    Rep Power
    8

    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

  3. #3
    schemers is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    228
    Rep Power
    9

    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!

  4. #4
    CrypTom is offline Project Contributor
    Join Date
    Aug 2006
    Posts
    33
    Rep Power
    8

    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

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (1 members and 1 guests)

  1. dominique35

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •