Dear community,
Here is a question for the Nethserver 8, ActiveDirectory and Nextcloud specialists (in this combination) including you @Andy_Wismer:
Until now, the AD connected to Nextcloud always displayed the actual email address of the user in Nethserver (7) as the email address in Nextcloud.
So, for example, “username@domain.tld”
If an “old” AD is moved to the new Nethserver 8, this remains the same.
However, if a new AD is created in Nethserver 8 (bare installation), it is displayed in a connected Nextcloud as follows: “username@ad.domain.tld”.
I noticed this during test installations many months ago, and I had hoped that this behavior would be corrected.
In SOGo, the account is displayed correctly under Settings/Email/IMAP accounts.
Based on the fact that the behavior is different for new and migrated ADs, this is probably due to the way the AD is set up. But why is it like this now and not like before? Is this a mistake or is it the new way? And can it be changed later? And what would be the intended way to do this so that it doesn’t change again with an update etc.?
In the LDAP/AD integration (Nextcloud plugin) under special settings, I have “userPrincipalname” under “Email field” for the migrated AD. I also entered this in Nextcloud on a new AD, but it doesn’t change anything. What do you suggest to generally correct this for new users?
The behavior affects externally connected Nextclouds, in my test installations it also affected the internal Netcloud (I haven’t tested it since then).
Greetings
Yummiweb
Addendum:
I’m not sure if this is a reliable solution, especially since it was from a fairly early stage of NETH8: