El 25/3/20 a les 11:14, Luca Olivetti ha escrit:
Hello,

I configured samba4 according to http://wiki.sogo.nu/ResourceConfiguration

Now I have my resources in ldap and  everything seems to be working.
I'm trying to script the creation of resources by combining ldapadd (to create the resource in samba) and sogo-tool (to assign the ACLs). The problem is that after creating the user sogo-tool manage-acl doesn't work since the resource has not yet a calendar. I cannot find a sogo-tool option to create the default Calendar/personal for the user (I tried "sogo-tool checkup" which does nothing and "sogo-tool create-folder" which does not create the default calendar).
The only way I found to create the calendar is to use

   curl --user "${USER}" "https://my.sogo.host/SOGo/so/${ID}/freebusy.ifb";

(where USER is the current user with access to SOGo and ID is the id of the resource).

And I just found that it only works (i.e. creates the default calendar) if I give a WRONG password for a VALID user. An invalid user gives me forbidden, a valid password doesn't create the calendar (i see in the resulting vcalendar that ATTENDEE is "mailto:(null)").
That's strange.



Isn't there a better way?

Bye


--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to