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

import users into groups

Scheduled Pinned Locked Moved Unsolved Support
ldapgroupsnextcloud
8 Posts 3 Posters 256 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.
  • P Offline
    P Offline
    perler
    wrote on last edited by girish
    #1

    We try to do a semi-automated migration from nextcloud to cloudtron (with using cloudron for user management).

    We now try to import users into the cloudron user management, which is documented (although btw this link is broken:7179a081-6d30-48ce-9894-8c0cbfb76a72-image.png

    As far as I can see, we cannot import users into groups which then are mapped to nextcloud groups. Is this right? Is there any LDAP/SQL magic to make this happen or can you point us to where the cloudron user management backend is located, so that we can try it ourselves?

    1 Reply Last reply
    2
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #2

    https://docs.cloudron.io/user-management/#import-users is the correct doc link (fixed this for next release).

    As for nextcloud mapping, currently groups are not exposed to the app with user management. But I think maybe it's high time we fixed this (since the external LDAP server already supports this). We can just expose groups that are assigned to the app. @nebulon what do you think?

    P 2 Replies Last reply
    2
  • girishG girish marked this topic as a question on
  • P Offline
    P Offline
    perler
    replied to girish on last edited by
    #3

    @girish this sounds good.

    what we kind of miss in the whole project is some kind of hierarchy in user management, so that we can use cloudron as a multi client server.

    for instance, right now, when exposing the groups to nextcloud, the nextcloud group name must be unique within cloudron LDAP, so, another nextcloud instance can't have the same group name. or are we missing something?

    ideally:

    client 1
        randomgroup
    client 2
        randomgroup
    

    right now we are doing it like this by naming:

    client1-randomgroup
    client2-randomgroup
    
    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to perler on last edited by
    #4

    @perler mostly Cloudron is developed from a viewpoint where there is one Cloudron per organization and not one Cloudron serving many orgs. This is also because it keeps complexity lower while it being quite trivial by now to spin up servers.

    P 1 Reply Last reply
    0
  • P Offline
    P Offline
    perler
    replied to nebulon on last edited by
    #5

    @nebulon ok, I understand.

    re the original question, is there a way to import groups and user/group association into LDAP?

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

    @girish ok, the usual question, how long do you think until groups are exposed into nextcloud? (this decides if we are implementing a workaround or wait for you..)

    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to perler on last edited by
    #7

    @perler groups are already exposed to apps via LDAP only Nextcloud handles those a bit oddly. There is a separate thread about this at https://forum.cloudron.io/topic/7151/ldap-group-support-in-nextcloud/5

    P 1 Reply Last reply
    1
  • P Offline
    P Offline
    perler
    replied to nebulon on last edited by
    #8

    @nebulon can you maybe have a look into the other thread, I am a bit stuck but it would be important to get this right for a porject of mine.

    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
  • Login

  • Don't have an account? Register

  • Login or register to search.