Join a DC to a domain howto

Michael Wood esiotrot at gmail.com
Mon Sep 10 10:12:48 MDT 2012


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