Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 Search this Thread Display Modes
  #1 (permalink)  
Old 12-06-2006, 12:56 PM
Loyal Member
 
Posts: 78
Default share calendar to group

Hello,

I've provisioned a test install of zimbra from my ldap server by creating mail accounts.

When I'm testing the calendar sharing feature, I'd like to share a calendar to a group of people but I can only enter an email address one by one.

Is this something that has already been discussed ? (I've searched a bit but found nothing)
Could this be done via a distribution list ? Or is it a planned feature ?

Regards,

Artturi
Reply With Quote
  #2 (permalink)  
Old 12-06-2006, 02:19 PM
Zimbra Employee
 
Posts: 1,434
Default via distribution list

I believe that you should already be able to share with a distribution list.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 03-10-2008, 05:18 AM
Active Member
 
Posts: 28
Default

Firstly, before I go through the test process myself: Can a calendar be shared to a group as described above. (I don't like the word "believe").
If so, I don't want users to be given any option in whether or not they accept the share. I just want the share to appear for them.

Imagine this scenario:
Catbert, Evil HR Director:"I want everybody to record their holiday leave requests on our new Company Calendar"
3 days later:
Catbert: "Where is Salesman John Doe today"
Pointy Haired Boss: "On Holiday"
Catbert:"Why has this not been recorded in the calendar ?"
Pointy Haired Boss: "What Calendar ?"
Catbert:"Remember, the one I told you about 3 days ago"
Pointy Haired Boss: "We could not see any calendar in our Zimbra Interface. Let me speak to Dilbert in IT and find out why this has happened."
An hour later:
Pointy Haired Boss: "Dilbert, why can't I see the company calendar in my Zimbra Interface"
Dilbert: "You were supposed to accept the request to join the calendar that appeared in your inbox"
Pointy Haired Boss: "Oh, I saw that email. It looked a bit technical and I thought it had been sent to me by mistake - so I deleted it"
Dilbert: "You're fired for being technically incompetent"
Pointy Haired Boss: "You're fired for insubordination"

See what I mean ?
__________________
Schrödinger's Birthday Present Experiment proves that:
"The contents of a box are much more interesting before the box is opened"
Reply With Quote
  #4 (permalink)  
Old 03-10-2008, 07:46 AM
Moderator
 
Posts: 1,554
Default

you can share a calendar to a distribution list, I use it in my current setup. However, it takes a bit of scripting to make it automaticly show up on someone's calendar. We created a custom script to add people from command line and you have to specify the distribution list as an argument. Without posting the mess of a script i'll give you the basic logic

1. Admin runs the script to add the user John Doe who is part of the marketing department wtih addzimbrauser jdoe marketing

2. After adding the user, the script fetches the members of the distribution list 'marketing'

3. the script mounts each member of that distribution list's calendar to jdoe's calendar as /<Full Name> and cycles through the colors.

4. the script sets jdoe's calendar to be read-only to the distribution list 'marketing' and then mounts his calendar as /John Doe in the calendar of every other member of that department

5. So now when John Doe logs in he goes to calendar, he sees every other member of the marketing department's calendar in his pane. Each has it's own color and is turned off by default. Additionally, every other member now has John's calendar in theirs.
Reply With Quote
  #5 (permalink)  
Old 03-10-2008, 02:53 PM
Active Member
 
Posts: 28
Default

Many thanks for the response BDial.
That sounds like the ticket.
Don't suppose you have released that script to the community ?

__________________
Schrödinger's Birthday Present Experiment proves that:
"The contents of a box are much more interesting before the box is opened"
Reply With Quote
  #6 (permalink)  
Old 03-10-2008, 03:16 PM
Moderator
 
Posts: 6,237
Default

So first you need to give permission:
(You an also do this with the web-client/ZCO of course & -i might send an invite.)
CLI:
zmmailbox -z -m theshare@domain.com mfg -i /Calendar account user@domain.com r
OR
zmmailbox -z -m theshare@domain.com mfg /Calendar all r

mfg=modifyFolderGrant

You could do any of the following [account <name> |group <name> |domain <name> |all |public| guest <email> <password>] followed by the permissions r, rw, rwixd, none.


To mount:
zmmailbox -z -m user@domain.com createMountpoint --view appointment -F # folder theshare@domain.com folder
OR
zmmailbox -a admin -p password -m user@domain.com createMountpoint --view appointment /theshare@domain.com /sharedFolder #
OR
zmmailbox
mbox>adminAuthenticate -u https://server.domain.com:7071 admin@domain.com password
mbox user@domain.com>createMountpoint --view appointment -F # folder theshare@domain.com folder

So an example for you:
zmmailbox -a admin -p password -m user@domain.com createMountpoint --view appointment "/Vacation Calendar" vacationcal@domain.com /VacationDates

Not exactly what you're asking, but do vote on this as well because I'd imagine your employees would like it Bug 7473 - Share management and discovery
Reply With Quote
  #7 (permalink)  
Old 03-10-2008, 03:39 PM
Moderator
 
Posts: 6,237
Default

If you wanted to use SOAP instead I've attached the requests in a txt file.
Before we forget: Welcome to the forums!

Last edited by mmorse; 04-14-2008 at 08:45 PM..
Reply With Quote
  #8 (permalink)  
Old 03-10-2008, 03:59 PM
Active Member
 
Posts: 28
Default

Many thanks for your replies and your welcome !
That gives me a nice couple of ways in.
Sadly my employees won't vote in favour of this issue because they all hate my IT policies ;-) or at least they would if I had any employees. Maybe that's why I don't have any employees....
__________________
Schrödinger's Birthday Present Experiment proves that:
"The contents of a box are much more interesting before the box is opened"
Reply With Quote
  #9 (permalink)  
Old 04-22-2008, 05:06 PM
Senior Member
 
Posts: 54
Default

I have attempted to use DL for permissions, however receive error that "invalid email address" was entered. I have verified that the DL can receive email and is not hidden from GAL. Please let me know where and how to verify why this is an invalid address.
__________________
Bill Rowland MCDST MCSA MCSE
Reply With Quote
  #10 (permalink)  
Old 04-22-2008, 06:44 PM
Moderator
 
Posts: 1,554
Default

Quote:
Originally Posted by browland View Post
I have attempted to use DL for permissions, however receive error that "invalid email address" was entered. I have verified that the DL can receive email and is not hidden from GAL. Please let me know where and how to verify why this is an invalid address.
post the command you're using
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.