Hello,

I am trying to add/update events and contacts using dav.
I am unable to make it work. I always get ' 401 Unauthorized' reply.
I try with a perl module (HTTP::DAV) and a python lib (davlib).
When i use FF to to same URL i got the user/pass request and it works fine, got a blank page after.

I found a script post on the list but i still get the same error.
http://comments.gmane.org/gmane.comp.groupware.sogo.user/5720
But still get ' 401 Unauthorized' reply.

So my question is it possible to access calendar and contacts using dav via scripts?
If yes what should be the URL?
I do use https://domain.tld/SOGo/dav/ or https://domain.tld/SOGo/dav/username/
to authenticate but for both 401 reply.

SOGo reply
'''
"PROPFIND /SOGo/dav/ HTTP/1.1" 401 0/90 0.001 - - 0
'''

Does anybody use some script to automate task on SOGo?
I know there is a python extensions but it is only on SOGo action.
I will use it when a contacts or events has been update but I first need to be able to push data into it.

In the mean time I did a script using the SOGo DB but i think it will be better if i can directly use the dav functionality.

Thanks
Francois
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to