Hello Francois
On 08/05/2011 01:53 PM, xbgmsharp wrote: > > 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 > ''' You have to specify username and password in the URL like this: https://username:[email protected]/SOGo/dav/... Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- [email protected] https://inverse.ca/sogo/lists
