Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

No LDAP Connection to Local LDAP Server #46

Open
u63725 opened this issue Apr 4, 2019 · 2 comments
Open

No LDAP Connection to Local LDAP Server #46

u63725 opened this issue Apr 4, 2019 · 2 comments

Comments

@u63725
Copy link

u63725 commented Apr 4, 2019

I have installed the Wonderfall Nextcloud Docker on my Synology NAS Server. I will use the Active Directory Server of my Synology NAS. The Problem is i can't connect to the LDAP Server wich is on the same Server.
My LDAP Configuration:
1
2
3
Nextcloud Log:
4

@DeAlexPesh
Copy link

LDAP addon work on this mod only by shell

@DeAlexPesh
Copy link

docker exec -it nextcloud php -m | grep ldap   // search installed mod
docker exec -it nextcloud occ app:enable user_ldap   // enable ldap

docker exec -it nextcloud occ ldap:create-empty-config   // create empty confug
docker exec -it nextcloud occ ldap:show-config --show-password   // show config with pass

docker exec -it nextcloud occ ldap:set-config s01 ldapHost "domain.org" && \
docker exec -it nextcloud occ ldap:set-config s01 ldapPort "389" && \
docker exec -it nextcloud occ ldap:set-config s01 ldapAgentName "cn=user,ou=group,dc=domain,dc=org" && \
docker exec -it nextcloud occ ldap:set-config s01 ldapAgentPassword 'PASSWORD'; history -d $((HISTCMD-1)) && \
docker exec -it nextcloud occ ldap:set-config s01 ldapBase "dc=domain,dc=org" && \
docker exec -it nextcloud occ ldap:set-config s01 ldapLoginFilter "(&(&(memberOf=cn=cloud,ou=group,dc=domain,dc=org)(|(objectClass=person)))(|(sAMAccountName=%uid)(userPrincipalName=%uid)))" && \
docker exec -it nextcloud occ ldap:set-config s01 ldapUserFilter "(&(memberOf=cn=cloud,ou=group,dc=domain,dc=org)(|(objectClass=person)))" && \
docker exec -it nextcloud occ ldap:set-config s01 ldapUserFilterObjectclass "person" && \
docker exec -it nextcloud occ ldap:set-config s01 ldapEmailAttribute "mail" && \
docker exec -it nextcloud occ ldap:set-config s01 ldapExpertUsernameAttr "sAMAccountName"

docker exec -it nextcloud occ ldap:test-config s01   // test
docker exec -it nextcloud occ ldap:set-config s01 ldapConfigurationActive "1"   // activation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants