Web lists-archives.com

Re: [Samba] Convert Member Server to DC




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@xxxxxxxxxx)
Cell: (303)257-5208

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba