Join a DC to a domain howto

Ricky Nance ricky.nance at weaubleau.k12.mo.us
Mon Sep 10 10:29:21 MDT 2012


Check /etc/resolv.conf for the DNS and make sure that your nameserver line
looks like the following: nameserver X.X.X.X (where X.X.X.X is the ip for
your AD server), also you must join as root like Michael said.

On Mon, Sep 10, 2012 at 11:12 AM, Michael Wood <esiotrot at gmail.com> wrote:

> Hi
>
> On 10 September 2012 17:14, Jan B Kinander <samba at kinander.nu> wrote:
> > I get two errors when I try to follow the
> > http://wiki.samba.org/index.php/Samba4_joining_a_domain
> > <http://wiki.samba.org/index.php/Samba4_joining_a_domain>
> >
> > 1) The "kinit administrator" didn't work until I added:
> >
> > KINANDER.LOCAL = {
> > kdc = raspberrypi.kinander.local
> > kdc = ksdc04.kinander.local
> > admin_server = raspberrypi.kinander.local
> > default_domain = kinander.local}
> >
> > to the krb5.conf
>
> There might be a DNS issue?  Not sure, though.
>
> > 2) the samba-tool didn't work, perhaps that is because my previous point,
> > anyhow, I need some guidance. Here follows the errormessages I got.
> >>>>
> >
> > jan at KSDC04:~$ samba-tool domain join kinander.local DC -Uadministrator
> > --realm=kinander.local
> [...]
> > ERROR(<type 'exceptions.IOError'>): uncaught exception - [Errno 13]
> > Permission denied: '/usr/local/samba/etc/smb.conf'
>
> It seems to be trying to read from/write to your smb.conf file, but
> you appear to be running as a normal user.  Try running it as root.
>
> --
> Michael Wood <esiotrot at gmail.com>
>



--


More information about the samba-technical mailing list