I try to set up Samba 4 on a dedicated server from kimsufi.com but I have difficulties configuring Kerberos and Samba4.
I am very confused about IP, Realm, Domain, NetBIOS, DNS etc. in Kerberos and Samba. All tutorials I found by Google seem to deal with homeservers in a LAN and show domains like TEST.LOCAL but my machine in the internet with an IP different to 192.168...
My question is: How is the config in my specific case?
Details of my server (Debian 7.8):
Hostname: ks12345xxx.kimsufi.com
IP: 37.187.xx.xxx
/ect/host:
127.0.0.1 localhost.localdomain localhost
37.187.xx.xxx ks12345xxx.kimsufi.com ks12345xxx
/ect/hostname:
ks12345xxx.kimsufi.com
/etc/sesolve.conf:
nameserver 127.0.0.1
nameserver 213.186.33.99
search ovh.net
During Kerberos installation I get the following defaults:
Kerberos version 5 realm: KIMSUFI.COM
Is that right? Server can't be reached by kimsufi.com as this is my hoster's domain
Kerberos servers for your realm:
Empty by default. What shall I put in? Nothing or my hostname ks12345xxx?
Administrative server for your Kerberos realm:
Empty by default. What shall I put in? Nothing or my hostname ks12345xxx?
During SAMBA4 provisoning by "samba-tool domain provision" I am getting these defaults:
Realm [KIMSUFI.COM]:
Same concern as with Kerberos installation: Is that right, kimsufi.com does NOT point to my server
Domain [KIMSUFI]:
Correct?
Server Role (dc, member, standalone) [dc]:
DNS backend [SAMBA_INTERNAL]:
These are okay.
DNS forwarder IP address [127.0.0.1]:
Is that correct?
At the end I get this output:
Server Role: active directory domain controller
Hostname: ks12345xxx
NetBIOS Domain: KIMSUFI
DNS Domain: kimsufi.com
and in /etc/samba/smb.conf
[global]
workgroup = KIMSUFI
realm = KIMSUFI.COM
netbios name = KS12345xxx
server role = active directory domain controller
Can this configuration be right despite the fact that kimsufi.com does not lead to my server?
Or will I need to buy an extra domain like mysamba4server.net?
Thanks for any clearing advice or proposals.