CLI tools to import Calendar and AddressBook entries into multiple users?

We've exported data from an older 3rd-party messaging system being replaced with OCUCS 7u2, with calendar and task data as ICS files (one file with dozens of entries), and address-book data in a similar format (carddav?), one file of each type per user (who had non-empty calendars or address-books).
Now the quest is to get this data into OCUCS :)
Unfortunately, davadmin did not work for us (see post davadmin does not work with a GF instance without admin server for more details), and there seems to be no similar tool for PAB to import/export entries.
We expected to find or write some scripts that would either add data into OCUCS backends (PAB LDAP, davadmin or even direct mysql for calendar+tasks), but it seems more proper to use standard tools (if available) instead of inventing our own wheels - that is, caldav/carddav or WCAP/WABP HTTP clients, or other protocol tools that can do import/export like GUI clients but invoked from command line and with proxy-auth capability.
To review, we need to be able to import some file-based representation of calendar and addressbook data into OCUCS users' accounts from Unix command-line/script. If using protocol tools, this should work using only one admin account with the known password (and proxy-authenticating into other users' addressbooks and calendars for import tasks). For additional imports (i.e. synchronization while the old system is primary) no duplicate entries should appear, at least as long as they are identical; preferably UID and timestamp (if available) should be used to update older entries.
Surprisingly, there are tons of GUI and mobile clients and plugins, but we found nearly no command-line ones. Seemingly, our best automation option might be to impose scripting onto clients like Thunderbird/Lightning or Convergence to do the jobs, or possibly fool an OutLook with the Connector into doing the job. Automation like CURL proxy-logins into Convergence and calling import/export URLs from there are being explored now...
What do other people use for such quests? What can you suggest? What do you know we should look out for? ;)
Thanks!

Thanks a lot for the hint, it does seem the way to go, except that I can't get it working so far :(
One thing to look out for is the line-ending character (should be DOS-style CRLF), so I have to "dos2unix" and "unix2dos" my prepared POST data to get it cleaned up properly (comes from various sources, so both endings are present in original blob of text).
However, now that I got the appserver to accept the post data, calendar says "missing file param", or in more detail:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Oracle Corporation/CS 7u2-4.19//EN
X-NSCP-WCAP-ERRNO:60
X-NSCP-WCAP-ERRNO-MESSAGE:Invalid arguments such as invalid email address
, invalid date.
X-NSCP-WCAP-ERRNO-DETAILED-MESSAGE:missing file param
END:VCALENDARI've tried with "id" and proper login session (via login.wcap) instead of simple http auth, with the same result.
Am I hitting something stupid simple? ;)
Next I'd have to try it with a real web-browser...
Edited by: JimKlimov on Apr 24, 2013 3:22 AM
UPDATE: Tried with a browser, same result when I login with either a proxy-user and its pass, or the end-user and his pass. Logins with bad credentials do fail.
Maybe the ICS data format is unexpected by Calendar Server (too many fields, some Microsoft-centric), or there are problems with UTF-8 text pieces in the entries? (Produced with DavMail, an open-source tool recommended by an Oracle engineer)
Alas, same result for the sample ICS markup in that Wiki post...
Thanks in advance for any more ideas :)

Similar Messages

  • Import Access and Excel datafile into Oracle

    Dear SQL Expert:
    Could you hint me how to import Access and Excel datafiles into a newly install oracle database. An outline doc on procedure would be helpful.
    Thanks, user607670.

    either thru one of the following methods:
    <ol>
    <li> SQL*Loader </li>
    <li> UTL_FILE </li>
    <li> PL/SQL Developer tool using the text import utility </li>
    </ol>

  • When I import video and place it into timeline as a raw file with no fx or any added processing I get the message that the video is unrendered and therefore it doesn´t playback?

    When I import video and place it into timeline as a raw file with no fx or any added processing I get the message that the video is unrendered and therefore it doesn´t playback?

    FCE can use DV or AIC video formats natively.  Any other format will need to be converted to one of those two if you want to avoid constant rendering.  The clips you use must match the Sequence settings.
    -DH

  • I am using  MacBook Pro and running 10.8.4. iTunes version 11.0.4. Several of the cd's i have imported recently have been split into multiple albums by ITunes. How do I bring all the bonus tracks together with the original album?

    I am using a MacBook Pro and running 10.8.4. iTunes version 11.0.4. Several of the cd's i have imported recently have been split into multiple albums by iTunes where it has identified bonus tracks. How do I bring all the bonus tracks together with the original album?

    Hello there, Fineshot.
    The following Knowledge Base article might provide some information that should help you resolve the issue you're having:
    Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/TS1468
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • When I import audio and move it into my timeline the project will no longer play?

    When I import audio and move it into my timeline the project will no longer play?

    The audio is a .wav file created in Audacity.
    The OS is Windows XP
    The verison is CS4
    I have included images of the Sequence settings and the playback settings because I was not sure what information you would need.
    I am not sure what you mean by waiting for the Audio to conform but I know I have imported the audio and gone back the next day and tried to place it in the timeline and it still did not work.

  • TS3991 I cannot get Calendar and mail to delete, multiple duplications in the cloud. I have 60 calendars where only 15 should be there. Please advise.

    I cannot get Calendar and mail to delete, multiple duplications in the cloud. I have 60 calendars where only 15 should be there. Please advise.

    one last thing: I'm also getting this problem here too:
    https://discussions.apple.com/thread/5324398?start=15&tstart=0

  • How to convert Xstring to PDF format and send pdf to multiple user

    Hi to all
    can any one provide me saple code to convert Xstring to PDF format and send pdf to multiple user
    i have searched the SDN , but cant get any proper soulution.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

    Use function module 'SCMS_XSTRING_TO_BINARY' to convert from XString to a Binary table. Just like this:
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer          = lv_xstring_pdf
          append_to_table = ' '
        TABLES
          binary_tab      = lt_doc_content.
    To send the email in an OO way you should user class CA_SEND_REQUEST_BCS. Take a look to program BCS_EXAMPLE_6 or any of the test programs in package SBCOMS.

  • How do I best integrate existing laptops for a new server?  Can I use the existing home folders on the laptops and make them into Network Users?

    How do I best integrate existing laptops for a new server?  Can I use the existing home folders on the laptops and make them into Network Users?

    Yes it will work.  I've done it for a few users in my small office.  As with anything, there are quirks that you may or may not experience.  Most quirks are app-related, due to app developers hard-coding absolute paths into their apps for things like temp files (Photoshop).  Strategies for resolving these sorts of quirks can be found via google.  You would probably have seen these quirks already when using server-based home folders for your kids.  If you haven't noticed them, then you're probably fine.
    The tech note you cited should be fine.  It doesn't explicitly say so, but you'll need to enable ssh on your server, at least temporarily, so you can upload your home folder to the server using scp, rsync, etc.  Don't try to copy the files up to the server via Finder.
    Once all your files are transferred to the server and in the right place, make sure to chown them on the server, so they are owned by the userID you created for yourself on the server.
    As with anything this involved, make a good backup of your laptop first.
    Note I have one user that isn't too happy with the responsiveness of the periodic mobile home syncing.  She has about a decade of e-mail in her home folder, probably 50 to 100 emails per day, many with attachments.  Mobile home syncing takes a long time to check and sync this huge tree of itty-bitty files, eevn with server-side file tracking turned on.  The other users are happy.
    The nice thing about mobile home syncing is that when a user "graduates" to an age where they've earned their own laptop, you can change them from a server home user to a mobile home user, with a minimum of fuss.  Also, if you lose or break a laptop, you can add a new replacement laptop to your network, and pull-down a replica of the home folder from the server, with almost no downtime.

  • Outlook-Updates to EXISTING Calendar and Contact entries not syncing correctly - two PC's

    My setup is two PC's (one at work, one at home), one BB. Both PC's Outlook are Outlook 2003, SP3. I do not use BES. I sync my BB to both PCs.
    I have experiencing specific issues where updates to existing Outlook Calendar (mtg notes) and Contact (contact notes) are not being sync'd from one PC to the next PC (via my BB device - Sprint Curve 8330 running OS v4.5.0.131). I sync PC's to my BB using BB Desktop Mgr (v4.7) and USB cable.
    Here are specific details of what I am doing to duplicate the issues.
    1) Calendar:
    I have been away from work the past two days. In that time, I have updated two (2) calendar items at my PC at home - both items are at my work PC as well.
    Item one: I moved the date from Wed to Thurs, and added a note - done from home PC
    Item two: I changed the description of the meeting, and shortened appt from 3 hrs to two hrs - done from home PC
    Both items sync OK with my BB
    Upon coming to work this morning, neither sync'd to my work PC. I finally did the following:
    Item one: I deleted from Desktop Outlook, opened in BB put a space in the meeting description saved.
    Item two: Opened on BB, put a space in the meeting description saved.
    Upon resyncing, here is what happened
    Item one: Sync Mgr noticed conflict of deleting from PC and changed in BB. I chose to copy item to PC. This results in syncing correctly to PC
    Item two: Sync'd to PC correctly.
    Something is NOT right. The sync process did NOT recognize these two items that changed until I manually intervened (updating on the BB).
    2) Contact: 
    I ran a test today where on my work PC, I added a comment into one contact's note. I successfully sync'd that contact note to my BB. However, when I sync the BB with my home PC, that note did NOT make it to the home PC.
    I opened the contact (in edit mode) on my BB, inserted a space to the contact's name, erased the space, and saved the contact.
    I then sync'd the BB to the home PC again. This time, success - the contact's note got sync'd to the home PC.
    HELP
    I have seen this sort of thing a few times before (where sync did not sync a Calendar event/mtg correctly) in the past three months or so I owned my BB - but this is the first time I decided to actually test out the fix. This is the first time I noticed with a contact (maybe b/c i do not look at my Contacts updates as closely as I do my Calendar mtgs updates)
    Message Edited by Winger on 06-12-2009 10:32 AM
    Message Edited by Winger on 06-12-2009 10:33 AM

    Thanks for your feedback:
    2 things..... I somehow had created a duplicate calendar which may have been >blocking the sync. If you have it as well, delete this calendar and try to sync.
    I have several calendars in Outlook - there is the main one which contains everything, then where I have marked certain entries as 'Personal' or as 'Anniversaries' etc a separate calendar is created with those entries in them.
    Also, I read somewhere that some calendar entries will corrupt the sync of the > phone. Delete all new entries since the last successful sync and enter a test >entry and try to sync the phone. To the best of my knowledge, there is no >indication that an appointment is "bad" other than the phone will stop syncing. >So perhaps after each sync, check the phone to ensure any new entries appear.
    I can't possibly tell when the last successful synch occurred! I also don't want to delete entries - I need them all!
    There appears to be very little advice on this problem, hopefully this will >work.
    Yes, it seems that the Great God Apple isn't anywhere as smart as it thinks it is. I am really frustrated and not a little angry. This is basic stuff for any other phone, let alone a Smart Phone!
    Thanks for your comments, though.

  • Is there a solution to the duplicating calendar and contact entries

    has anyone found a solution to this problem of duplicate calendar and contact entires for DM for mac? its driving me crazy and makes the program unusable
    thanks!
    www.whatsgoodblog.com
    What's Good is your one stop site reviews about everything.
    http://www.whatsgoodblog.com/featured/how-to-install-beta-os-or-other-carrier-os-on-blackberry-with-desktop-manager-for-mac/

    alos, i am discovering that it is not syncing events added on my blackberry to my calendar. all of my settings are set up properly but it doesnt sync. i tried only syncing the calednar and that didnt help. it also didnt add any of my tasks to my calendar even though they were both set to two way sync and not set to replace the bb contents.
    has anyone had any experiences with this?
    www.whatsgoodblog.com
    What's Good is your one stop site reviews about everything.
    http://www.whatsgoodblog.com/featured/how-to-install-beta-os-or-other-carrier-os-on-blackberry-with-desktop-manager-for-mac/

  • How can I share the same music but separate calendars and address book for 2 users on the same computer?

    Can anyone help to answer if I can share the same music account on itunes but still maintain separate calendars and address books on the same computer?

    Make sure each user has their own computer login.
    Copy the entire /Music/iTunes/ folder to /Users/Shared.
    Hold Option and launch iTunes.
    Select Choose library and select /Users/Shared/iTunes/ folder.
    Quit iTunes and log into other user.
    Hold Option and launch iTunes.
    Select Choose library and select /Users/Shared/iTunes/ folder.
    That is all you need to do.
    Any changes in iTunes by one will be seen by all others (since you are using the same library).
    All users will have their own Contacts & Calendars and all other info.
    If you are using Fast User switching, you must quit iTunes before switching users if others wish to use iTunes.

  • Import video and be broke into separate clips by scene breaks.

    Is there no way anymore to have iMovie create separate clips for imported movies by scene breaks on the camcorder? I know previous versions would recognize when the filming stopped then started again and separate these into separate clips.
    (I'm talking about in the Even Library not Projects)
    I know I can select one frame and delete it to create separate clips then but its one more step and will lots of scene breaks makes it a pain in the @$$

    I am importing from a Sony Digital 8 camcorder through firewire just like I always did. When I imported the footage in imovie o9 instead of detecting when the recording stopped and started again and breaking it into separate event clips it put it as on big clip.
    It imports the clips as .dv files

  • LDAP- When importing a Group it goes into Security Users and not Groups.

    Hello,
    I created a new LDAP Server
    cn=GroupBI,OU=Groups,OU=Systems,OU=Milan,OU=Italy,OU=Countries,DC=u,DC=a,DC=g
    Connection Test was ok.
    The problem is on importing members of my group, on Security Import window instead of having the group drop-down list populated I have the user drop-down list populated with "GroupBI".
    If I import this group (considered as a user by BI) it goes into Security > Users and not Security > Groups.
    This does not make sense.
    I'm sure this "GroupBI" is a group and not a user and the atribute type used is sAMAccountname
    Any help?
    Cheers

    Let me tell how we did Authentication using LDAP
    I havent imported any groups or users once the LDAP is set up and connection was successfull. I simply created the session variables USER DISPLAYNAME EMAIL and mapped to LDAP Variables uid, displayname, mail.
    Authentication is done in this way by mapping the OBIEE variables to LDAP variables instead of importing the groups.
    Now for Authorization I created the groups populated using some db tables and captured the group name and loglevel and applied filters on the group in the rpd for data level and permissions on the group in webcat for object level.
    So just for Authentication purposes I think we can authenticate with out really importing groups as long as you map OB variables to LDAP
    hope it helps
    Prash

  • Importing avi and mp4 files into iPhoto

    I just finished importing my PC photo library into iPhoto and I ran into a snag.
    iPhoto does not import video files in *.avi or *mp4 format.
    On my old PC photo library, I have video clips taken into mostly avi format with older digital cameras, and which are stored in the same photo directories by date. When I realized that I could not sync avi files to my iOS devices, I used a conversion program to convert the the avi files to mp4 format, and was able to sync these to my iOS devices.
    Now apparently iPhoto does not recognize these mp4 files. I would like to have my video clips in iPhoto so that I can sync them as needed to my iOS devices through iTunes and also sometimes use them for video editing in iMovie. Within iMovie, I see where there is a link to the iPhoto video library... so somehow I have to get these into a format recognized by iPhoto.
    Can anyone recommend a method that will accomplish this? I assume I will have to convert the avi/mp4 files to some other format. Is there a utility that will extract out the video files from my hundreds of photo directories and let me convert them to the accepted format by iPhoto, preferably keeping the time/date stamp intact?

    Check over on MacUpdate for file converters.

  • HT4622 How to import .band and .mid files into GarageBand for iOS

    Using GarageBand for MacOS X, I have no difficulty importing and playing .mid (MIDI) files.  Indeed, I can even rename .kar (Karaoke) files to .mid, import them into GarageBand for MacOS X and see the lyrics along with the score.  Using File Sharing for iOS apps in iTunes.app, I have tried to import .mid and .band files (made from .mid files with GarageBand for MacOS X) using this mechanism.  I get no errors but it doesn't seem to work.  That is, neither the .band file nor the .mid file are accessible from within GarageBand for iOS as far as I can tell.  What should I be doing instead?

    As I understand it GarageBand for iOS .band projects can be imported to GarageBand for OS X, but the reverse isn't true. GarageBand for iOS does not import midi files.
    The File Sharing section of iTunes doesn't validate the files you put into it, but if the app doesn't like the structure of the file it will just ignore it.
    tt2

Maybe you are looking for

  • Can't connect to Powerbook via wireless network......

    I have an iMac and a Powerbook and a wireless router. From the Powerbook, I can connect to the iMac's hard drive wirelessly by going to the network pane then clicking on Jason's iMac G5, entering the password, etc. But, I can't do the oppostite. I wo

  • Loading new pages into frames

    Hey Murray or anyone else : ) This might seem like a redundant question but it would seem there is some confusion surrounding it. I say this because I can't seem to get an answer. I have a site that uses a page with a frame and a swf control ( just a

  • Customer specific fields or tab in SOLAR_PROJECT_ADMIN

    Hi Experts, is it possible to add customer specific fields to transaction SOLAR_PROJECT_ADMIN? If yes, is it also possible touses that fields for reporting functionalities? Best regards, Martin

  • Unable to download itunes 10.5 cannot delete older version of bonjour

    I am unable to download the latest version of I tunes. An error message comes up that says it is unable to delete and older version of bonjour

  • X only startable as root afer pacman -Suy

    Hello everybody, since i've done a system upgrade with pacman -Suy some hours ago i am no more able to start x neither with startx nor gdm as a non root user. root can do startx and will see the GUI as expected. I think it's a permissions problem, bu