Matthieu Patou mat at samba.org
Thu Oct 11 15:31:29 MDT 2012

On 10/11/2012 05:29 AM, Oguz Yilmaz wrote:
> Dear list users,
> I have a problem when joining an Active Directory domain. In this
> project we have one Main Dc in capital city and one read only dc in
> one remote city.
> We join to main DC succesfully. However, we can not join to local
> Replicate (rodc14). We are using this method for winbind / squid ntlm
> authentication purposes not a full samba server. Ä°nternet conection is
> not fast and we have thousands of users. Remote joining is not our
> first choice.
> First of all I try to join without lmhosts entry. That time , I got
> "Failed to join domain: failed to find DC for domain". /etc/hosts
> entry was in place and AD dns server was running. Anyway, I have
> overcomed this problem after adding lmhosts entry.
> Now my problem is:
> "result                   : WERR_NOT_SUPPORTED
> Failed to join domain: Failed to set account flags for machine account

I think that it's expected, you can't join on a RODC maybe Windows is 
able to discover it and do the join with the RWDC.

Is your rodc a samba 4 DC or a Microsoft Windows ?


Matthieu Patou
Samba Team

More information about the samba mailing list