Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Two NextCloud instances mixes up LDAP settings

Scheduled Pinned Locked Moved Nextcloud
6 Posts 3 Posters 77 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote on last edited by
    #1
    1. I have one NextCloud instance - configured with LDAP auth
    2. I setup another NextCloud instance, recover it from backup - it's configured to leave authorisation to the app itself.

    As a result, second instance of NextCloud ends up having LDAP user and group backend module enabled as well, trying to authorise users against LDAP as well (and failing).

    girishG 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #2

    did you clone the second instance from the first one? If so, it should be then safe for that instance to disable the ldap plugin in nextcloud to avoid it looking up users there. Not sure what will happen with the users already in the database, marked as ldap users though.

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to potemkin_ai on last edited by
    #3

    @potemkin_ai said in Two NextCloud instances mixes up LDAP settings:

    I setup another NextCloud instance, recover it from backup - it's configured to leave authorisation to the app itself.

    Do you mean import here? If I understand correctly, you imported a backup which had cloudron user management enabled into an instance which does not have cloudron user management. If this is the case, after importing, you have to login as admin and disable the ldap settings manually.

    1 Reply Last reply
    1
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote on last edited by
    #4

    Apologies for the delay!

    @nebulon, nop it was fresh installation followed by recovery from the backup of ldap-disabled instance.
    @girish , nop as well...

    Let me repeat my steps:

    • install fresh NextCloud with ldap enabled
    • install fresh NextCloud with ldap disabled
    • recovered my old install of NextCloud, ldap disabled, to my new install - ldap-disabled
    • got NextCloud ldap-enabled instance to my surprise...

    And yeah, I had to login as admin and disable the ldap plugin.

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to potemkin_ai on last edited by girish
    #5

    @potemkin_ai in this whole procedure, is the first step of "install fresh NextCloud with ldap enabled" relevant?

    got NextCloud ldap-enabled instance to my surprise...

    I don't understand what this step means.

    potemkin_aiP 1 Reply Last reply
    0
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    replied to girish on last edited by
    #6

    @girish that's not the steps - that's an outcome 🙂

    I didn't expect NextCloud instance without LDAP somehow got converted to the one with LDAP 🙂

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks