[Samba] Error joining Domain - after first try failed

Rowland Penny rowlandpenny at googlemail.com
Wed Mar 26 08:29:28 MDT 2014


On 25/03/14 18:33, Dirk Laurenz (Samba Mailinglist Account) wrote:
> Hello,
>
> no problem, i will provide more information:
>
> First DC - Linux samba01 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64
> GNU/Linux
> Samba Sernet Debian Packages - Version 4.1.5-SerNet-Debian-7.wheezy
> Running with bind-dlz
>
> -----------------------------------
> /etc/resolv.conf
> domain local.domain.ws
> nameserver 192.168.2.91
> nameserver 8.8.8.8
>
> --------------------------------------
> /etc/krb5.conf
> [libdefaults]
>          default_realm = LOCAL.DOMAIN.WS
>          dns_lookup_realm = false
>          dns_lookup_kdc = true
>
> ---------------------------------------
> # Global parameters
> [global]
>          workgroup = DOMAIN
>          realm = LOCAL.DOMAIN.WS
>          netbios name = SAMBA01
>          server role = active directory domain controller
>          dns forwarder = 8.8.8.8
>          allow dns updates = nonsecure
>          idmap_ldb:use rfc2307 = yes
>          server services = -dns
>          client ldap sasl wrapping = sign
>
> [netlogon]
>          path = /var/lib/samba/sysvol/local.DOMAIN.ws/scripts
>          read only = No
>
> [sysvol]
>          path = /var/lib/samba/sysvol
>          read only = No
>
> Second DC (which has the problem) - Linux samba02 3.10.33+ #658 PREEMPT Tue
> Mar 18 17:35:55 GMT 2014 armv6l GNU/Linux (aka raspberry pi)
> (selfcompiled) - Version 4.1.6
>
> ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
> --enable-fhs
>
> -----------------------------------
> /etc/resolv.conf
> domain local.domain.ws
> nameserver 192.168.2.92
> nameserver 192.168.2.91
> nameserver 8.8.8.8
>
> /etc/krb5.conf and smb.conf will be generated by samba-tool and are not
> existant at the moment
>
OK, after a bit more thought, Have you installed on the pi, krb5-config 
& krb5-user ? if not this could be your problem, you need more than 
/etc/krb5.conf

Rowland


More information about the samba mailing list