Domain Controller on Ubuntu server old tutorial

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












For testing I try to get a domain controller (samba4) up and running on an Ubuntu server 18.04. I have found a tutorial for it on YouTube but it is for a older version.



https://www.youtube.com/watch?v=Rf7Hk8qWt1Q



I have done all the steps until 23:13, instead of asking for the password I get an error




kinit: Cannot contact any KDC for realm 'GOGUDA.LOCAL' while getting
initial credentials




Do I need to do something special on the 18.04 version?



/etc/hosts



127.0.0.1 localhost
192.168.0.100 gogudaserver.goguda.local

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


/etc/netplan/50-cloud-init.yaml



# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: config: disabled
network:
ethernets:
eth0:
addresses: [192.168.0.70/24]
dhcp4: no
dhcp6: no
gateway4: 192.168.0.1
nameservers:
search: [goguda.local]
addresses: [192.168.0.70, 1.1.1.1, 8.8.8.8]
version: 2






share|improve this question





















  • Check this kinit: Cannot contact any KDC for realm 'UBUNTU' while getting initial credentials
    – ASIL
    Jun 11 at 13:09










  • @ASIL, i have changed the krb5.conf file and has reboot the server. the error keeps the same
    – Christophe195
    Jun 11 at 14:47










  • @ASIL when i do "telnet gogoda.local" i got "telnet: could not resolve gogoda.local/telnet: Temporary failure in name resolution". and a ping to gogoda.local does not work. It seems ubuntu has change some network files in the new version, but on this moment i did not find a solution
    – Christophe195
    Jun 11 at 20:54














up vote
0
down vote

favorite












For testing I try to get a domain controller (samba4) up and running on an Ubuntu server 18.04. I have found a tutorial for it on YouTube but it is for a older version.



https://www.youtube.com/watch?v=Rf7Hk8qWt1Q



I have done all the steps until 23:13, instead of asking for the password I get an error




kinit: Cannot contact any KDC for realm 'GOGUDA.LOCAL' while getting
initial credentials




Do I need to do something special on the 18.04 version?



/etc/hosts



127.0.0.1 localhost
192.168.0.100 gogudaserver.goguda.local

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


/etc/netplan/50-cloud-init.yaml



# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: config: disabled
network:
ethernets:
eth0:
addresses: [192.168.0.70/24]
dhcp4: no
dhcp6: no
gateway4: 192.168.0.1
nameservers:
search: [goguda.local]
addresses: [192.168.0.70, 1.1.1.1, 8.8.8.8]
version: 2






share|improve this question





















  • Check this kinit: Cannot contact any KDC for realm 'UBUNTU' while getting initial credentials
    – ASIL
    Jun 11 at 13:09










  • @ASIL, i have changed the krb5.conf file and has reboot the server. the error keeps the same
    – Christophe195
    Jun 11 at 14:47










  • @ASIL when i do "telnet gogoda.local" i got "telnet: could not resolve gogoda.local/telnet: Temporary failure in name resolution". and a ping to gogoda.local does not work. It seems ubuntu has change some network files in the new version, but on this moment i did not find a solution
    – Christophe195
    Jun 11 at 20:54












up vote
0
down vote

favorite









up vote
0
down vote

favorite











For testing I try to get a domain controller (samba4) up and running on an Ubuntu server 18.04. I have found a tutorial for it on YouTube but it is for a older version.



https://www.youtube.com/watch?v=Rf7Hk8qWt1Q



I have done all the steps until 23:13, instead of asking for the password I get an error




kinit: Cannot contact any KDC for realm 'GOGUDA.LOCAL' while getting
initial credentials




Do I need to do something special on the 18.04 version?



/etc/hosts



127.0.0.1 localhost
192.168.0.100 gogudaserver.goguda.local

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


/etc/netplan/50-cloud-init.yaml



# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: config: disabled
network:
ethernets:
eth0:
addresses: [192.168.0.70/24]
dhcp4: no
dhcp6: no
gateway4: 192.168.0.1
nameservers:
search: [goguda.local]
addresses: [192.168.0.70, 1.1.1.1, 8.8.8.8]
version: 2






share|improve this question













For testing I try to get a domain controller (samba4) up and running on an Ubuntu server 18.04. I have found a tutorial for it on YouTube but it is for a older version.



https://www.youtube.com/watch?v=Rf7Hk8qWt1Q



I have done all the steps until 23:13, instead of asking for the password I get an error




kinit: Cannot contact any KDC for realm 'GOGUDA.LOCAL' while getting
initial credentials




Do I need to do something special on the 18.04 version?



/etc/hosts



127.0.0.1 localhost
192.168.0.100 gogudaserver.goguda.local

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


/etc/netplan/50-cloud-init.yaml



# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: config: disabled
network:
ethernets:
eth0:
addresses: [192.168.0.70/24]
dhcp4: no
dhcp6: no
gateway4: 192.168.0.1
nameservers:
search: [goguda.local]
addresses: [192.168.0.70, 1.1.1.1, 8.8.8.8]
version: 2








share|improve this question












share|improve this question




share|improve this question








edited Jun 11 at 20:47









SurvivalMachine

8632517




8632517









asked Jun 11 at 13:06









Christophe195

1




1











  • Check this kinit: Cannot contact any KDC for realm 'UBUNTU' while getting initial credentials
    – ASIL
    Jun 11 at 13:09










  • @ASIL, i have changed the krb5.conf file and has reboot the server. the error keeps the same
    – Christophe195
    Jun 11 at 14:47










  • @ASIL when i do "telnet gogoda.local" i got "telnet: could not resolve gogoda.local/telnet: Temporary failure in name resolution". and a ping to gogoda.local does not work. It seems ubuntu has change some network files in the new version, but on this moment i did not find a solution
    – Christophe195
    Jun 11 at 20:54
















  • Check this kinit: Cannot contact any KDC for realm 'UBUNTU' while getting initial credentials
    – ASIL
    Jun 11 at 13:09










  • @ASIL, i have changed the krb5.conf file and has reboot the server. the error keeps the same
    – Christophe195
    Jun 11 at 14:47










  • @ASIL when i do "telnet gogoda.local" i got "telnet: could not resolve gogoda.local/telnet: Temporary failure in name resolution". and a ping to gogoda.local does not work. It seems ubuntu has change some network files in the new version, but on this moment i did not find a solution
    – Christophe195
    Jun 11 at 20:54















Check this kinit: Cannot contact any KDC for realm 'UBUNTU' while getting initial credentials
– ASIL
Jun 11 at 13:09




Check this kinit: Cannot contact any KDC for realm 'UBUNTU' while getting initial credentials
– ASIL
Jun 11 at 13:09












@ASIL, i have changed the krb5.conf file and has reboot the server. the error keeps the same
– Christophe195
Jun 11 at 14:47




@ASIL, i have changed the krb5.conf file and has reboot the server. the error keeps the same
– Christophe195
Jun 11 at 14:47












@ASIL when i do "telnet gogoda.local" i got "telnet: could not resolve gogoda.local/telnet: Temporary failure in name resolution". and a ping to gogoda.local does not work. It seems ubuntu has change some network files in the new version, but on this moment i did not find a solution
– Christophe195
Jun 11 at 20:54




@ASIL when i do "telnet gogoda.local" i got "telnet: could not resolve gogoda.local/telnet: Temporary failure in name resolution". and a ping to gogoda.local does not work. It seems ubuntu has change some network files in the new version, but on this moment i did not find a solution
– Christophe195
Jun 11 at 20:54















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1045613%2fdomain-controller-on-ubuntu-server-old-tutorial%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1045613%2fdomain-controller-on-ubuntu-server-old-tutorial%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491