Results 1 to 3 of 3

Thread: Accounts migration from Mdaemon 13.0.4 to ZOS 8.0.3.GA.5664 Ubuntu 12 x64

  1. #1
    Join Date
    Mar 2013
    Posts
    3
    Rep Power
    2

    Default Accounts migration from Mdaemon 13.0.4 to ZOS 8.0.3.GA.5664 Ubuntu 12 x64

    Hello. Excuse me for my bad english. Looked through all 115 pages topic on your forum, but really have not found a solution for my problem.
    1. There is a server Mdaemon 13.0.4. since it requires only accounts. Unloaded his accounts .csv and converts from a .xml file. Take into account all the encoding and. I go to the web interface Zimbra/Migration/Accounts-yes/from xml-file and get an error “service.FAILURE Method: [unknown] Detail:soap:Receiver “. ok. I go the other way
    I take this script

    IFS=$'\n'
    echo "This script is written by Damanjeet."
    for i in `cat Accounts.csv | grep @mydomain.ru`;
    do
    CHECK=`echo $i | grep @mydomain.ru`
    #echo $i
    if [ "$CHECK" == "" ]; then
    echo
    else
    #echo $CHECK
    EMAIL_ID=` echo $CHECK|awk -F\, '{ print $1}'`
    #| awk -F\" '{print $2}'`
    PASSWORD=`echo $CHECK|awk -F\, '{ print $6}'`
    #| awk -F\" '{print $2}'`
    echo "E-mail $EMAIL_ID PASSWORD $PASSWORD"
    #UNCOMMENT BELOW LINE
    zmprov ca $EMAIL_ID $PASSWORD
    fi
    done

    but I got new error “error: account.no_such_domain

    please tell me what I do wrong here? Or anybody know another way?
    thanks in advance.
    Last edited by Stupid_cat; 03-25-2013 at 04:31 AM.

  2. #2
    Join Date
    Mar 2013
    Posts
    3
    Rep Power
    2

    Default

    Hello again. I'm done it. My trouble was <"> in script and my solve - | tr -d \". And i add description string.

    IFS=$'\n'
    echo "This script is written by Damanjeet."
    for i in `cat Accounts.csv | grep @mydomain.ru`;
    do
    CHECK=`echo $i | grep @mydomain.ru`
    #echo $i
    if [ "$CHECK" == "" ]; then
    echo
    else
    #echo $CHECK
    EMAIL_ID=` echo $CHECK|awk -F\, '{ print $1}'`
    EMAIL_ID=` echo $EMAIL_ID|tr -d \"`
    #| awk -F"\ '{print $2}'`
    PASSWORD=`echo $CHECK|awk -F\, '{ print $6}'`
    PASSWORD=` echo $PASSWORD|tr -d \"`
    #| awk -F"\ '{print $2}'`
    FIO=`echo $CHECK|awk -F\, '{ print $4}'`
    FIO=`echo $FIO|tr -d \"`
    #| awk -F"\ '{print $2}'`
    echo "E-mail $EMAIL_ID PASSWORD $PASSWORD FIO $FIO"
    #UNCOMMENT BELOW LINE
    fi
    zmprov ca $EMAIL_ID $PASSWORD displayName $FIO
    done

    p.s. realy thanks to Damanjeet from me and my 400 users)

  3. #3
    Join Date
    Jun 2013
    Location
    Barcelona
    Posts
    5
    Rep Power
    2

    Default

    Hello Stupid_cat,

    Where execute this script? I have the same problem with the migration of users to the XML file.

    Thanks.

Similar Threads

  1. Replies: 4
    Last Post: 01-25-2012, 12:19 AM
  2. Migration List distrib. MDAEMON => ZIMBRA
    By backpacker77 in forum Migration
    Replies: 0
    Last Post: 09-19-2011, 07:45 AM
  3. Replies: 0
    Last Post: 07-14-2011, 03:02 AM
  4. Migration from Mdaemon 6.8.5
    By pappas.chris in forum Migration
    Replies: 12
    Last Post: 06-06-2007, 07:41 AM
  5. Zimbra for Ubuntu and Adding Accounts
    By trapanator in forum Administrators
    Replies: 2
    Last Post: 10-17-2006, 11:42 AM

Posting Permissions

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