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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved import users into groups

    Support
    ldap groups nextcloud
    3
    8
    202
    Loading More Posts
    • 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
      perler last edited by girish

      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 Reply Quote 2
      • girish
        girish Staff last edited by

        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 Reply Quote 2
        • Topic has been marked as a question  girish girish 
        • P
          perler @girish last edited by

          @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
          
          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @perler last edited by

            @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 Reply Quote 0
            • P
              perler @nebulon last edited by

              @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 Reply Quote 0
              • P
                perler @girish last edited by

                @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..)

                nebulon 1 Reply Last reply Reply Quote 0
                • nebulon
                  nebulon Staff @perler last edited by

                  @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 Reply Quote 1
                  • P
                    perler @nebulon last edited by

                    @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 Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB