3

I'm trying config samba4 as domain controller following samba wiki

/etc/resolv.conf :

domain transbekk.lan
nameserver 192.168.1.1
nameserver 192.168.1.254

/etc/hostname :

domain.transbekk.lan

/etc/samba/smb.conf

# Global parameters
[global]
    workgroup = TRANSBEKK
    realm = TRANSBEKK.LAN
    netbios name = DOMAIN
    server role = active directory domain controller
    dns forwarder = 192.168.1.1,192.168.1.254
    idmap_ldb:use rfc2307 = yes

[netlogon]
    path = /var/lib/samba/sysvol/transbekk.lan/scripts
    read only = No

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

/etc/krdb5.conf

  [libdefaults]
    default_realm = TRANSBEKK.LAN
    dns_lookup_realm = false
    dns_lookup_kdc = true  

When I have tried to test kerberos configuration (kinit administrator) an error occur:

kinit: Cannot find KDC for realm "TRANSBEKK.LAN" while getting initial credentials

Please what is wrong ? Thanks

Mezoo
  • 161
  • 1
  • 1
  • 5

1 Answers1

3

Finally, It was a winbind issue with this version. Laster samba's version resolves my problem.

Mezoo
  • 161
  • 1
  • 1
  • 5