[Samba] samba-tool domain join fail

Rowland penny
Wed, 20 Jan 2021 13:35:16 -0000

On 20/01/2021 13:20, Pisch Tam?s via samba wrote:
> Hi,
>
> I would like to install a Samba DC in a Windows AD environment according to
> this document:
>
https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Directory
> The system is Debian 10 with Samba 12.10 from https://apt.van-belle.nl/ .
>
> The join command:
>
> samba-tool domain join ourdomain.local DC -U" ourdomain\admin"
--option="dns
> forwarder=208.67.222.222 208.67.220.220" --option="interfaces=lo
eth0" -d3
> I get an error message:
> ...
> Failed to apply records: Failed to locally apply remote add of CN=owa
> (Default Web Site),CN=HTTP,CN=Protocols,CN=OCS1,CN=Servers,CN=Exchange
> Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First
> Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC>
ourdomain,DC=local: attribute 'msExchOWATranscodingFileTypes': value
'S:8:
>        .:<GUID=36b83610-396d-4f53-ac03-5eae2fb4677a>;CN=owa (Default
Web
> Site),CN=HTTP,CN=Protocols,CN=OCS1,CN=Servers,CN=Exchange Administrative
> Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First
> Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC>
ourdomain,DC=local' on 'CN=owa (Default Web
> Site),CN=HTTP,CN=Protocols,CN=OCS1,CN=Servers,CN=Exchange Administrative
> Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First
> Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC>
ourdomain,DC=local' provided more than once in ADD object: Operations error
> Failed to commit objects: WERR_GEN_FAILURE
> ...
>
> Thank you in advance.
>
> Regards,
>
> Tamas Pisch.

What version of Windows are you trying to join to ?

 From my understanding you should be able to join to a 2012R2 (even with
exchange), but anything higher isn't yet possible (even without exchange).

Rowland