I`ve got an issue with Nextcloud user email address imported from Samba AD.
When I create domain in NS8 I follow the Active Directory Naming FAQ:
- my external domain (website) is
example.com
- so i choose
ad.example.com or corp.example.com as Samba AD domain name (realm name, root DN, etc.)
Then I create users, and they have a user@ad.example.com or user@corp.example.com UPN's by default. Also I fill their mail field with user@example.com (in LAM application).
Nextcloud fires imageroot/bin/setup-ldap every time on boot, so set_ldap("ldapEmailAttribute", "userPrincipalname") row overwrites my changes made in Nextcloud UI (I want to switch the ldapEmailAttribute from userPrincipalname to mail).
I use latest NS8.
My options:
- change domain name to
example.com (and have DNS issues, right?)
- create an additional UPN suffix
example.com with RSAT (and remember to change it on every new user creation, right?)
- ask your help and advice
Thank you! Sorry for my clumsy English!
I`ve got an issue with Nextcloud user email address imported from Samba AD.
When I create domain in NS8 I follow the Active Directory Naming FAQ:
example.comad.example.comorcorp.example.comas Samba AD domain name (realm name, root DN, etc.)Then I create users, and they have a
user@ad.example.comoruser@corp.example.comUPN's by default. Also I fill theirmailfield withuser@example.com(in LAM application).Nextcloud fires
imageroot/bin/setup-ldapevery time on boot, soset_ldap("ldapEmailAttribute", "userPrincipalname")row overwrites my changes made in Nextcloud UI (I want to switch theldapEmailAttributefromuserPrincipalnametomail).I use latest NS8.
My options:
example.com(and have DNS issues, right?)example.comwith RSAT (and remember to change it on every new user creation, right?)Thank you! Sorry for my clumsy English!