Giter Site home page Giter Site logo

LDAP cleanup in config.php about all-in-one HOT 5 OPEN

Fred-DTV avatar Fred-DTV commented on May 28, 2024
LDAP cleanup in config.php

from all-in-one.

Comments (5)

szaimen avatar szaimen commented on May 28, 2024 1

Hi, we will not add this by default but could add a hint to our docs. https://github.com/nextcloud/all-in-one?tab=readme-ov-file#ldap and potentially https://github.com/nextcloud/all-in-one/tree/main/community-containers/lldap

from all-in-one.

szaimen avatar szaimen commented on May 28, 2024 1

Would you mind opening a PR that adds this? :)

from all-in-one.

Fred-DTV avatar Fred-DTV commented on May 28, 2024

Ok there seems to be more to this problem than thought.
One week later now I started receiving the bounced e-mail warnings again for the same deleted user.

So I went into the docs again and tried the following commands:
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ ldap:show-remnants
Which showed me that this specific users is deleted, which one should think should be enough to not send updates to that account anymore 😅
But to be 100% certain i even deleted the user from there by using this command:
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ user:delete <insert-nextcloudname-here-which-for-ldap-is-the long-string-of numbers>

I will report back and see if this solved the issue.
However, there has to be something flawed with the way NC is handling it's LDAP user database, as deleting a user from the LDAP server should be enough to clear it from NC as well.

P.S.: For reference, I am using the Synology LDAP server

from all-in-one.

szaimen avatar szaimen commented on May 28, 2024

I will report back and see if this solved the issue.

Did it?

from all-in-one.

Fred-DTV avatar Fred-DTV commented on May 28, 2024

Sorry I have some private troubles at the moment so I couldn't find the time for this.

However, I think I actually found the cause of this issue: The "Everyone Group" App.
The NC extension app doesn't delete users from it's group that have been deleted from LDAP.

So I am pretty certain that this isn't a problem of NC in general.

from all-in-one.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.