[Samba] Error joining Domain - after first try failed

Dirk Laurenz (Samba Mailinglist Account) samba at laurenz.ws
Wed Mar 26 23:01:06 MDT 2014


I is installed :-(

root at samba02:~# dpkg -l | grep krb
ii  krb5-config                           2.3
all          Configuration files for Kerberos Version 5
ii  krb5-locales                          1.10.1+dfsg-5+deb7u1
all          Internationalization support for MIT Kerberos
ii  krb5-multidev                         1.10.1+dfsg-5+deb7u1
armhf        Development files for MIT Kerberos without Heimdal conflict
ii  krb5-user                             1.10.1+dfsg-5+deb7u1
armhf        Basic programs to authenticate using MIT Kerberos
ii  libgssapi-krb5-2:armhf                1.10.1+dfsg-5+deb7u1
armhf        MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii  libkrb5-3:armhf                       1.10.1+dfsg-5+deb7u1
armhf        MIT Kerberos runtime libraries
ii  libkrb5-dev                           1.10.1+dfsg-5+deb7u1
armhf        Headers and development libraries for MIT Kerberos
ii  libkrb5support0:armhf                 1.10.1+dfsg-5+deb7u1
armhf        MIT Kerberos runtime libraries - Support library

-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Rowland Penny
Gesendet: Mittwoch, 26. März 2014 15:29
An: samba at lists.samba.org
Betreff: Re: [Samba] Error joining Domain - after first try failed

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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list