Why is the Calendar not locked down?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
ArcaneMagus
Elite member
Elite member
Posts: 1138
Joined: Fri Sep 12, 2014 10:25 pm

Why is the Calendar not locked down?

Post by ArcaneMagus »

Ok well obviously you don't have any shares, so the calendar can't be shared with the public. But I can still access your calendar from the link you sent me... So I really have no idea how this is possible.
Have you done any customization of the server? Anything that might have affected HTTP permissions.
Anybody have any ideas?
DavidFix
Posts: 13
Joined: Sat Sep 13, 2014 12:24 am

Why is the Calendar not locked down?

Post by DavidFix »

No, I haven't done anything at all in the way of customization... That is more-or-less a default Zimbra install, straight out of the box. I don't trust myself enough to fool around with the webserver install... I know Apache, but absolutely nothing about Jetty. :D
ArcaneMagus
Elite member
Elite member
Posts: 1138
Joined: Fri Sep 12, 2014 10:25 pm

Why is the Calendar not locked down?

Post by ArcaneMagus »

What does the following command show?

zmmailbox -z -m user@domain.com gf /Calendar
DavidFix
Posts: 13
Joined: Sat Sep 13, 2014 12:24 am

Why is the Calendar not locked down?

Post by DavidFix »

[quote user="ArcaneMagus"]What does the following command show?

zmmailbox -z -m user@domain.com gf /Calendar[/QUOTE]
I'm seeing this:


[zimbra@mail ~]$ zmmailbox -z -m myemail@mycompany.com gf /Calendar

{

"color": "defaultColor",

"contentSequence": 1,

"defaultView": "appointment",

"flags": "#i",

"grants": [{

"permissions": "r",

"type": "pub"

}],

"id": "10",

"isCheckedInUI": true,

"isExcludedFromFreeBusy": false,

"isSyncEnabled": false,

"isSyncFolder": false,

"isSystemFolder": true,

"itemCount": 30,

"name": "Calendar",

"parentId": "1",

"path": "/Calendar",

"pathURLEncoded": "/Calendar",

"size": 69065,

"subFolders": [],

"unreadCount": 0

}

bdial
Elite member
Elite member
Posts: 1633
Joined: Fri Sep 12, 2014 10:39 pm

Why is the Calendar not locked down?

Post by bdial »

zmmailbox -z -m user@domain mfg /Calendar public none
ArcaneMagus
Elite member
Elite member
Posts: 1138
Joined: Fri Sep 12, 2014 10:25 pm

Why is the Calendar not locked down?

Post by ArcaneMagus »

Ah ha, there is your problem!

"grants": [{

"permissions": "r",

"type": "pub"

}],

That is saying the folder is shared with the public with read only access...
To remove this access use the command

zmmailbox -z -m user@domain.com mfg /Calendar public none
Now as to why it didn't show up in the Preferences -> Shares I am really confused now...
DavidFix
Posts: 13
Joined: Sat Sep 13, 2014 12:24 am

Why is the Calendar not locked down?

Post by DavidFix »

Aha! :) That did it, thank you! :) I'll run that on all of my user's mailboxes just to be on the safe side. :)
DavidFix
Posts: 13
Joined: Sat Sep 13, 2014 12:24 am

Why is the Calendar not locked down?

Post by DavidFix »

[quote user="ArcaneMagus"]Now as to why it didn't show up in the Preferences -> Shares I am really confused now...[/QUOTE]
Me too. :D
Post Reply