Web lists-archives.com

Re: [Samba] Setup a Samba AD DC as an additional DC

On Sat, 24 Nov 2018 07:36:56 +0000
"Barry D. Adkins via samba" <samba@xxxxxxxxxxxxxxx> wrote:

> >>As you are are using Ubuntu 18.04, you could just install Louis's
> >>Samba packages. They will install over and replace your existing
> >>Samba packages.
> >
> >I did this and the domain join with a Samba DC succeeded.
> Well these "errors/warnings" were reported even though the command
> succeeded:
> A Kerberos configuration suitable for Samba AD has been generated
> at /var/lib/samba/private/krb5.conf Merge the contents of this file
> with your system krb5.conf or replace it with this one. Do not create
> a symlink!
> I don't know why this warning because the system krb5.conf has the
> entries in that file they want to be merged.  Maybe the install
> examined the file in /usr/shar/samba/setup  ??

No, it isn't a 'warning', it is a notice. It is just telling you that
there is a 'krb5.conf' file that you should use. This is a part of the
'provision' code that runs during the 'join' and can be ignored in this
case, because the join wouldn't work if krb5.conf wasn't set up

> AND at the very end of a long list of things it did:
> ERROR(runtime): uncaught exception - (9601,
> "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
> 177, in _run return self.run(*args, **kwargs) File
> "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 716,
> in run backend_store=backend_store) File
> "/usr/lib/python2.7/dist-packages/samba/join.py", line 1500, in
> join_DC ctx.do_join() File
> "/usr/lib/python2.7/dist-packages/samba/join.py", line 1405, in
> do_join ctx.join_add_dns_records() File
> "/usr/lib/python2.7/dist-packages/samba/join.py", line 1164, in
> join_add_dns_records None)

Very strange, it looks like it is trying to add a dns record to a zone
that doesn't exist, does the Windows DC you are using to join to the
domain run a dns server ?


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