[Samba] net ads join fails

Roman Dilken rdilken at gmx.de
Tue Mar 10 22:49:33 MDT 2015


smb.conf and krb5.conf on dc2:

# Global parameters
[global]        workgroup = AD
        realm = ad.dilken.eu
        netbios name = DC2
        server role = active directory domain controller
        idmap_ldb:use rfc2307 = yes
        log level = 5

[netlogon]
        path = /var/lib/samba/sysvol/ad.dilken.eu/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No

[libdefaults]
    dns_lookup_realm = true
    dns_lookup_kdc = true
    default_realm = AD.DILKEN.EU

smb.conf and krb5.conf on raspberry-pi:

[libdefaults]
        default_realm = AD.DILKEN.EU
        dns_lookup_realm = true
        dns_lookup_kdc = true

[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log

# Global parameters
[global]
        workgroup = AD
        realm = AD.DILKEN.EU
        netbios name = RASPBERRY-PI
        server role = active directory domain controller
        dns forwarder = 192.71.247.247
        idmap_ldb:use rfc2307 = yes
        log level = 5

[netlogon]
        path = /var/lib/samba/sysvol/ad.dilken.eu/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No

I'll check the DNS entries later again.

Greetings


Am 10.03.2015 um 22:55 schrieb Rowland Penny:

>> 
> 
> Hmm, it should actually be _kerberos._udp.ad.dilken.eu, what is in /etc/krb5.conf on the two DCs, also what is smb.conf on the two DCs
> 
> 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