syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
392 stars 39 forks source link

[photoprism] webdav is not working #706

Closed cyberb closed 1 month ago

cyberb commented 1 month ago

suggested url seems to a valid webdavs endpoint but connecting to it produces 401 unauthorized response https://admin@example.com/originals/

Log says that ldap auth is ok but service still thinks it is not authorized.

May 24 15:33:27 syncloud slapd[24458]: conn=2195 fd=10 closed (connection lost)
May 24 15:33:28 syncloud slapd[24458]: conn=2196 fd=10 ACCEPT from IP=127.0.0.1:44354 (IP=127.0.0.1:389)
May 24 15:33:28 syncloud slapd[24458]: conn=2196 op=0 BIND dn="cn=admin,ou=users,dc=syncloud,dc=org" method=128
May 24 15:33:28 syncloud slapd[24458]: conn=2196 op=0 BIND dn="cn=admin,ou=users,dc=syncloud,dc=org" mech=SIMPLE ssf=0
May 24 15:33:28 syncloud slapd[24458]: conn=2196 op=0 RESULT tag=97 err=0 text=
May 24 15:33:28 syncloud slapd[24458]: conn=2196 op=1 SRCH base="cn=syncloud,ou=groups,dc=syncloud,dc=org" scope=2 deref=3 filter="(memberUid=admin)"
May 24 15:33:28 syncloud slapd[24458]: conn=2196 op=1 SRCH attr=memberUid
May 24 15:33:28 syncloud slapd[24458]: <= mdb_equality_candidates: (memberUid) not indexed
May 24 15:33:28 syncloud slapd[24458]: conn=2196 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
May 24 15:33:28 syncloud slapd[24458]: conn=2196 fd=10 closed (connection lost)
May 24 15:33:28 syncloud photoprism.web[483]: time="2024-05-24T15:33:28Z" level=debug msg="server: OPTIONS /originals/ (401) [20.379684ms]"