PopeRigby
09/23/2024, 2:04 AMenv
OCIS_LDAP_URI="ldap://localhost:3890"
OCIS_LDAP_INSECURE="true"
OCIS_LDAP_BIND_DN="uid=ocis,ou=people,dc=haddock,dc=cc"
OCIS_LDAP_BIND_PASSWORD="REDACTED"
IDP_LDAP_LOGIN_ATTRIBUTE="uid"
IDP_LDAP_UUID_ATTRIBUTE="entryuuid"
LDAP_LOGIN_ATTRIBUTES="uid"
OCIS_LDAP_GROUP_BASE_DN="ou=groups,dc=haddock,dc=cc"
OCIS_LDAP_GROUP_FILTER="(objectclass=groupOfUniqueNames)"
OCIS_LDAP_GROUP_OBJECTCLASS="groupOfUniqueNames"
OCIS_LDAP_GROUP_SCHEMA_GROUPNAME="uid"
OCIS_LDAP_GROUP_SCHEMA_ID="uid"
OCIS_LDAP_USER_OBJECTCLASS="inetOrgPerson"
OCIS_LDAP_USER_FILTER="(objectclass=inetOrgPerson)"
OCIS_LDAP_USER_SCHEMA_ID="entryuuid"
OCIS_LDAP_USER_ENABLED_ATTRIBUTE="uid"
GRAPH_LDAP_SERVER_WRITE_ENABLED="false"
GRAPH_LDAP_REFINT_ENABLED="false"
This is the output in my logs when attempting to login: https://gist.github.com/poperigby/451f9e1bd40ea724494294b70c65674bthemooer1
09/23/2024, 2:15 AMPopeRigby
09/23/2024, 2:16 AMthemooer1
09/23/2024, 2:16 AMthemooer1
09/23/2024, 2:16 AMPopeRigby
09/23/2024, 2:16 AM{"level":"error","service":"proxy","error":"failed to get userinfo: 401 Unauthorized: {}\n","authenticator":"oidc","path":"/ocs/v1.php/cloud/user","time":"2024-09-22T19:02:05-07:00","message":"failed to authenticate the request"}themooer1
09/23/2024, 2:16 AMPopeRigby
09/23/2024, 2:17 AMPopeRigby
09/23/2024, 2:17 AMlldap_users.PopeRigby
09/23/2024, 2:17 AMocis user as part of lldap_strict_readonly.PopeRigby
09/23/2024, 2:19 AM"(objectclass=groupOfUniqueNames)"? Will that be a unique group for each user?themooer1
09/23/2024, 2:22 AMthemooer1
09/23/2024, 2:23 AMthemooer1
09/23/2024, 2:24 AMPopeRigby
09/23/2024, 2:25 AMPopeRigby
09/23/2024, 2:25 AMthemooer1
09/23/2024, 2:26 AMthemooer1
09/23/2024, 2:27 AMthemooer1
09/23/2024, 2:28 AMthemooer1
09/23/2024, 2:28 AMthemooer1
09/23/2024, 2:30 AMthemooer1
09/23/2024, 2:31 AMthemooer1
09/23/2024, 2:32 AMthemooer1
09/23/2024, 2:32 AMPopeRigby
09/23/2024, 2:33 AMthemooer1
09/23/2024, 2:34 AMthemooer1
09/23/2024, 2:34 AMPopeRigby
09/23/2024, 2:35 AMthemooer1
09/23/2024, 2:39 AMthemooer1
09/23/2024, 2:39 AMthemooer1
09/23/2024, 2:40 AMthemooer1
09/23/2024, 2:40 AMthemooer1
09/23/2024, 2:41 AMthemooer1
09/23/2024, 2:41 AMthemooer1
09/23/2024, 2:42 AMthemooer1
09/23/2024, 2:42 AMPopeRigby
09/23/2024, 2:42 AMthemooer1
09/23/2024, 2:42 AMthemooer1
09/23/2024, 2:43 AMldapsearch -H ldap://localhost:54308 -D 'cn=authelia,ou=people,dc=example,dc=com' -w password -b 'dc=example,dc=com'themooer1
09/23/2024, 2:43 AMthemooer1
09/23/2024, 2:43 AMdn: uid=admin,ou=people,dc=example,dc=com
objectclass: inetOrgPerson
objectclass: posixAccount
objectclass: mailAccount
objectclass: person
uid: admin
cn: Administrator
createtimestamp: 2024-09-22T03:01:04.742305307+00:00
entryuuid: 260b776f-c433-308e-8ec5-3cd88e62c789themooer1
09/23/2024, 2:44 AMthemooer1
09/23/2024, 2:44 AMthemooer1
09/23/2024, 2:44 AMthemooer1
09/23/2024, 2:45 AM# lldap_strict_readonly, groups, example.com
dn: cn=lldap_strict_readonly,ou=groups,dc=example,dc=com
objectclass: groupOfUniqueNames
uid: lldap_strict_readonly
cn: lldap_strict_readonly
member: uid=authelia,ou=people,dc=example,dc=com
uniquemember: uid=authelia,ou=people,dc=example,dc=com
entryuuid: baa2dc4c-fd65-3d64-997a-123dabc8c98dthemooer1
09/23/2024, 2:45 AMthemooer1
09/23/2024, 2:47 AMthemooer1
09/23/2024, 2:47 AMthemooer1
09/23/2024, 2:47 AMthemooer1
09/23/2024, 2:48 AMPopeRigby
09/23/2024, 2:49 AMthemooer1
09/23/2024, 2:49 AMthemooer1
09/23/2024, 2:50 AMthemooer1
09/23/2024, 2:50 AMPopeRigby
09/23/2024, 2:51 AMthemooer1
09/23/2024, 2:51 AMthemooer1
09/23/2024, 2:52 AMthemooer1
09/23/2024, 2:52 AMPopeRigby
09/23/2024, 2:56 AMnone and it's still not working 😐PopeRigby
09/23/2024, 3:01 AMthemooer1
09/23/2024, 3:11 AMthemooer1
09/23/2024, 3:11 AMthemooer1
09/23/2024, 3:11 AMthemooer1
09/23/2024, 3:11 AMthemooer1
09/23/2024, 3:12 AMthemooer1
09/23/2024, 3:12 AMPopeRigby
09/23/2024, 3:12 AMthemooer1
09/23/2024, 3:12 AMthemooer1
09/23/2024, 3:13 AMPopeRigby
09/23/2024, 3:13 AMthemooer1
09/23/2024, 3:14 AMthemooer1
09/23/2024, 3:14 AMthemooer1
09/23/2024, 3:14 AMPopeRigby
09/23/2024, 3:15 AMthemooer1
09/23/2024, 3:15 AMPopeRigby
09/23/2024, 3:16 AMPopeRigby
09/23/2024, 3:16 AMthemooer1
09/23/2024, 3:17 AMthemooer1
09/23/2024, 3:21 AMnitnelave
09/23/2024, 5:56 AMxaverius666
09/23/2024, 8:23 AMversion: "3.8"
services:
app:
image: owncloud/ocis:latest
entrypoint:
- /bin/sh
command: ["-c", "ocis init || true; ocis server"]
volumes:
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
ports:
- 9200:9200
environment:
OCIS_LOG_LEVEL: debug
OCIS_INSECURE: true
OCIS_ADMIN_USER_ID: "dedyms" #https://github.com/owncloud/ocis/issues/3808
PROXY_HTTP_ADDR: 0.0.0.0:9200
OCIS_URL: https://ocis.ddyms.space
AUTH_BASIC_AUTH_PROVIDER: ldap
LDAP_URI: ldap://192.168.0.2:3890
LDAP_INSECURE: true
LDAP_BIND_DN: "cn=readonly,ou=people,dc=example,dc=com"
LDAP_BIND_PASSWORD: ldapreadonly
LDAP_LOGIN_ATTRIBUTES: "uid"
LDAP_USER_BASE_DN: "ou=people,dc=example,dc=com"
LDAP_GROUP_BASE_DN: "ou=groups,dc=example,dc=com"
LDAP_USER_FILTER: "(&(objectClass=person)(memberOf=cn=lldap_ocis,ou=groups,dc=example,dc=com))"
LDAP_GROUP_FILTER: "(cn=lldap_ocis,ou=groups,dc=example,dc=com)"
IDP_LDAP_URI: ldap://192.168.0.2:3890
IDP_LDAP_LOGIN_ATTRIBUTE: "uid"
IDP_LDAP_UUID_ATTRIBUTE: "uuid"
GRAPH_IDENTITY_BACKEND: ldap
GRAPH_LDAP_SERVER_WRITE_ENABLED: false
# PROXY_ENABLE_BASIC_AUTH: true
OCIS_RUN_SERVICES: app-registry,app-provider,audit,auth-basic,auth-machine,frontend,gateway,graph,groups,idp,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav
LDAP_USER_SCHEMA_ID: uuid
LDAP_GROUP_SCHEMA_ID: uuid
volumes:
ocis-config:
ocis-data:PopeRigby
09/23/2024, 10:47 PMPopeRigby
09/23/2024, 10:48 PMPopeRigby
09/23/2024, 10:49 PMPopeRigby
09/23/2024, 10:49 PMnitnelave
09/24/2024, 5:22 AMPopeRigby
09/24/2024, 5:23 AMnitnelave
09/24/2024, 5:26 AMPopeRigby
09/24/2024, 5:33 AMthemooer1
09/24/2024, 5:44 AMthemooer1
09/24/2024, 5:46 AMthemooer1
09/24/2024, 5:46 AMthemooer1
09/24/2024, 5:49 AMthemooer1
09/24/2024, 5:49 AMPopeRigby
09/24/2024, 5:51 AMthemooer1
09/24/2024, 5:52 AMPopeRigby
09/24/2024, 5:53 AMnitnelave
09/24/2024, 6:07 AMnitnelave
09/24/2024, 6:08 AMnitnelave
09/24/2024, 6:11 AMthemooer1
09/24/2024, 6:11 AMthemooer1
09/24/2024, 6:11 AMnitnelave
09/24/2024, 6:11 AMnitnelave
09/24/2024, 6:12 AMnitnelave
09/24/2024, 6:12 AMnitnelave
09/24/2024, 6:14 AMthemooer1
09/24/2024, 6:22 AMPopeRigby
09/24/2024, 6:19 PMxaverius666
09/25/2024, 4:27 AMapp-1 | {"level":"error","service":"idp","error":"ldap identifier backend logon connect error: LDAP Result Code 64 \"Naming Violation\": Not a subtree of the base tree","time":"2024-09-25T04:24:42Z","line":"github.com/owncloud/ocis/v2/ocis-pkg/log/logrus_wrapper.go:50","message":"identifier failed to logon with backend"}
when it used to be work, man...PopeRigby
09/25/2024, 4:41 AM