I am trying to install the active directory that comes with the server,
I am having issues to have username emails customised, as I am completely blocked in adding a custom email.
I have several users that doesn’t have the same email domain that I have,
How I can I modify this?
you cannot have several domain name email like this with nethserver, you must create a first domain for the server and use alias to create the correct domain name
Thank you for your Response.
I understand however your mentioning this for the email domain.
I would like to know if there’s a chance to have multiple domains for the active directory. It seems it’s blocked entirely. If I add domain aliases will it work withe Gmail adresses and other domain?
you need to install nethserver-mail, but indeed your question is only related to active-directory, probably with nethserver-phpldadadmin you could change the mail field property in the samba AD, but I do not know what issue you could have later.
the field to modify is userPrincipalName, I bet you could break something
Thank you, I had a look at your solution, unfortunately this is not working for me, I don’t have any files in that folder as recommended.
Furthermore, I am not using samba, nor emails,
My server is providing a web solution with nextcloud and other web based services.
The fact that I want to create a bind between the ldap is to have more control like a jump cloud solution.
The option of not being able to create the domain name is especially difficult as it creates a local email account for the client and I cannot change this after.
As I am providing web service to people that have their own email profiles such as some gmail, or other domains, I want to have the system sending them password and welcome email.
My domain doesn’t run emails on the machine.
I also don’t want to have my clients using other emails.
I also tried to install phpldapadmin module, and I get a php error when I try to login.
I am currently using jump cloud solution as a side service, however this is an inconvenient solution as it is 3USD per users. I’d like to run my own solution.
Please let me know if there is something else that I could do.
I had a look at what you send me, however I am afraid my skills are not developed enough to understand this.
I only have basic knowledge.
If I seem to get you, you mean that the domain of the server is bound with the user email field. Thats exactly what I would like to change, like this apps like nextcloud can recognise a gmail email for one user as its login and also password recovery.
Be aware that AD allows a restricted set of domain suffixes in userPrincipalName attribute. That attribute has an email address syntax but is not required to be a valid email address.