B
B
bigazzzz2020-08-31 14:38:19
linux
bigazzzz, 2020-08-31 14:38:19

How to solve RPC server is unavailable error when replicating domains?

Hello colleagues!
There is a domain controller on Windows Server 2012R2. I want to raise another controller on Ubuntu with samba4 on board. I do everything according to the manual
https://wiki.samba.org/index.php/Joining_a_Samba_D...
But when I try to register as a DC, I get an error. Failed to commit objects: WERR_GEN_FAILURE

First samba-tool domain join my.domain DC -U"MYDOMAIN\admin" --dns-backend=BIND9_DLZ threw this error. On the domain controller, I found the error "8524 The DSA operation is unable to proceed because of a DNS lookup failure."
Cured via samba-tool dns add MYPDC my.domain samba-dc A 10.1.1.15 -U"MYDOMAIN\admin"
Now the error is "1722 The RPC server is unavailable."
I don't understand how to overcome this error. Maybe some packages to deliver? Maybe the domain controller needs additional manipulations?
Installed the following packages apt update && apt full-upgrade -y && apt install -y samba winbind libpam-winbind libnss-winbind libpam-krb5 krb5-config krb5-user krb5-kdc bind9 acl dnsutils ntp ntpdate

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lastbit, 2020-08-31
@lastbit

Disabling or configuring the Firewall on the domain controller may help. There, by default, the rules for RPC are disabled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question