[owncloud-devel] Sabre and Apps

Klaus Herberth klaus at herberth.eu
Mon Jun 15 14:13:31 GMT 2015


Hi guys,

I wrote a custom user backend [1], which authenticates again an other
website. Everything works fine, if I login through the webinterface. But
it will fail if I try caldav or webdav. I see in the log files, that
owncloud tries to authenticate the user against the core user backend.
Do you have any idea or reference, how I can get it work?

I use this snippet to register my backend:

```
OC_User::clearBackends();
OC_User::registerBackend("HIORG");
OC_User::useBackend( "HIORG" );
```

Klaus


[1] https://github.com/sualko/owncloud_user_hiorg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20150615/6f760a06/attachment.sig>


More information about the Devel mailing list