[Samba] Convert Member Server to DC

Paul R. Ganci ganci at nurdog.com
Sun Dec 31 05:46:39 UTC 2017


On 12/30/2017 07:58 PM, Paul R. Ganci via samba wrote:
> On 12/30/2017 05:22 PM, Paul R. Ganci via samba wrote:
>> 1.) net ads leave -U administrator
>> 2.) Remove the machine entry on the 1st DC (used ldbedit)
>> 3.) mv /var/lib/samba /var/lib/samba-client
>> 4.) mv /etc/krb5.keytab /etc/krb5.keytab-client
>> 5.) samba-tool domain join 2nd DC
> I tried this procedure and it just doesn't want to work. I have this 
> error:
>
> >samba-tool domain join mydc.mydom.com DC -U"MYDC\administrator" 
> --dns-backend=SAMBA_INTERNAL
>
Okay I finally got this all to work. What seemed to help was to move 
everything out of the way and then I re-installed the Sernet Samba to 
re-create a clean /var/lib/samba. Then the samba-tool domain join worked 
as advertised.
-- 
Paul (ganci at nurdog.com)
Cell: (303)257-5208



More information about the samba mailing list