NethServer Version: NS7RC2 / OpenLDAP as accountprovider / virtualbox VM Module: Nextcloud
First: I installed Nexcloud after SOGo and create user admin. I was not able to access nextcloud with admin-rights. admin was recognized as normal user. The admin user is necessary for SOGo as administrator.
Second: I restored a snapshot before SOGo with out user admin and installed nextcloud. I could login with user admin and passwd Nethesis,1234 (default). This user has admin-rights, but is not shown in user-panel in GUI.
Third: I created a user admin in GUI and now I can login in nextcloud 2 times with the same “admin” but 2 different passwds. If I use admin + Nethesis,1234 I get admin-rights, if I login with admin and passwd (give in GUI) I’m recognized as normal user.
Is this ment to be this way or is this a bug? I’m a little confused now.
No, the admin user of WebGui is a normal user in NextCloud. The admin user (same name) with password Nethesis,1234 is the administrator of nextcloud. It is not a bug.
I did that mistake with the same passwords allready, but could figure it out myself as not a good idea.
But I think it’s not perfekt to have 2 user with the same username and different passwords.
That’s, hmmm how to say, a little sloppy, isn’t it?
It’s not ideal to have two users with the same name. It is not normally possible.
Surely it is a technical necessity.
Friends of @dev_team can give you more information.
Remember to mark “solved” the answer that helped you.
After 2 days of using, I’ve to say it’s not that bad to have it this way. You get used to it.
Maybe it would be an idea if a infobar apears after installation (similar to i.e. webtop “please visit…”) with a notice about admin user and default password. So we can everything let as is and can avoid confusion.
Something like:" Please notice, that the admin user of nextcloud is not the admin user of the system. It’s a specific user to nextcloud. Please use a different password for this second admin!"
EDIT: Just noticed that we have the same with webtop. Another different admin!
Hmmm, let’s look how many admins we will find 'till the end of the day.