Re: [SOGo] Creating Calendar Resources

2012-10-09 Thread Christian Mack
Hello Sven Tegethoff


On 2012-10-08 14:20, Sven Tegethoff wrote:
 On 08.10.2012 14:06, Igor Vitorac wrote:
 defaults write sogod SOGoCalendarDefaultRoles
 '(PublicDAndTViewer,ConfidentialDAndTViewer,PrivateDAndTViewer)' 
 
 This solved it! Excellent :) I didn't know you could set default
 policies, and it's impossible to log in as the resource itself, since
 windows refuses to authenticate against my rather minimalistic
 CalenderResource object. Thanks for the hint, that was exactly what I
 needed.
 
 So, I have now a fairly complete set of step-by-step instructions how to
 put CalendarResources into an Active Directory without going insane,
 including schema extension LDIF files and stuff. It took me about a week
 to figure it all out, and google couldn't find anybody who has done this
 before. So I have a feeling it might be knowledge worth sharing.
 
 But what's the best way? Should I simplay post them here for future
 reference, or is there a better way?
 

You should add it to the SOGo Wiki
http://wiki.sogo.nu/


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Creating Calendar Resources

2012-10-08 Thread Igor Vitorac

Hello Sven,

Most probably you have problem with ACL.
Check on the following page: http://wiki.sogo.nu/ResourceConfiguration
Be sure that the resource has set at MINIMUM View Time and Date for 
All Authenticated Users is set in ACL.


So, you can:
1. either login as that resource and configure ACL
2. either set the default ACL in SOGo config, example:

defaults write sogod SOGoCalendarDefaultRoles 
'(PublicDAndTViewer,ConfidentialDAndTViewer,PrivateDAndTViewer)'


Regards,
Igor




Sven Tegethoff wrote, On 08/10/2012 13:20:


Hello everyone!

I'm trying to implement calendar resources ... and failing :) I'm 
using the pre-packaged SoGo 2.0 for Ubuntu 12.04 with LDAP as a user 
source - a windows 2003 active directory, to be more precise. I 
managed to create the necessary schema extensions in a way that do not 
conflict with the default classes (which is kinda tricky by itself), 
and I can create CalenderResource objects now. For testing purposes, I 
created this one:


dn: cn=Big Meetingroom, ou=Resources,dc=win2003test,dc=baerkatalog,dc=de
changetype: add
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
objectClass: CalendarResource
objectClass: calEntry
cn: Big Meetingroom
sn: Meetingroom
displayName: Example Big Meetingroom
givenName: Big
Kind: location
mail: meetingr...@example.com
uid: meetingroom
Multiplebookings: 1

So far so good. Using the web interface, I created an event, and 
invited the meeting room as attendee. The web interface finds the 
meeting room (it auto-completes the name, and I can find it in the 
adressbook, too). But when I try to save the appointment, I get an 
error message on the GUI that says:


Cannot access resource: Big Meetingroom $o21000-5E3ENOFJ7Jb)@test.com

The sogo.log shows nothing more specific. So is there anybody out 
there who can enlighten me, what this error message actually 
technically means? Is this an LDAP related problem (like, insufficient 
access rights), or is it a DATABASE related problem?


On a related note ... does anybody know when sogo is supposed to 
create the meetingroom's calendar in the database? Usually I think, 
personal calendars are created upon first login. But then, nobody ever 
logs in as a resource (and I tried, I can't ... even if I upgrade the 
resource user to a full windows user and assign a password :). So 
what's the official way to create a calendar for a resource?


Best regards,

Sven




--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Creating Calendar Resources

2012-10-08 Thread Sven Tegethoff

On 08.10.2012 14:06, Igor Vitorac wrote:
defaults write sogod SOGoCalendarDefaultRoles 
'(PublicDAndTViewer,ConfidentialDAndTViewer,PrivateDAndTViewer)' 


This solved it! Excellent :) I didn't know you could set default 
policies, and it's impossible to log in as the resource itself, since 
windows refuses to authenticate against my rather minimalistic 
CalenderResource object. Thanks for the hint, that was exactly what I 
needed.


So, I have now a fairly complete set of step-by-step instructions how to 
put CalendarResources into an Active Directory without going insane, 
including schema extension LDIF files and stuff. It took me about a week 
to figure it all out, and google couldn't find anybody who has done this 
before. So I have a feeling it might be knowledge worth sharing.


But what's the best way? Should I simplay post them here for future 
reference, or is there a better way?


Best regards,

Sven

--
users@sogo.nu
https://inverse.ca/sogo/lists