Hi Sumit, thanks for your answer!


2018-05-15 17:53 GMT+02:00 Sumit Bose <sbose@redhat.com>:
Did you use 'realm join' to join the domain?

Yes, I am using Openmediavault and I followed this guide: https://forum.openmediavault.org/index.php/Thread/18886-Guide-how-to-join-OpenMediaVault-3-x-in-an-Active-Directory-domain/

This guide tells to execute the following commands to join the domain:

realm discover -v domain.com 
realm -v join domain.com -U administrator --membership-software=adcli


realm can either use 'adcli' or 'net ads join' to join the AD domain. If
you want to run Samba you should make sure the latter is used. I do not
know what it the default for Debian/Ubuntu but you can tell 'realm join'
to use 'net ads join' with the option --membership-software=samba.

Would I just need to re-execute "realm join" even if I already executed it with adcli instead of samba?
 
One of the main differences is that 'net ads join' will write the clear
teat machine password into an internal database of Samba. Current
versions of adcli will not do this but my plan is to add this
functionality to adcli as well.

Thanks! I will try and let you know. 

Bye!