LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-25-2018, 04:38 AM   #1
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Rep: Reputation: Disabled
Test Kerberos


Hi guys,
I have just studied the network authentication protocol Kerberos and, I would like to test it on Ubuntu configuring a Client Kerb. and a Server on two virtual machines. Is it feasible? How could I do? I was thinking to install two machines on VirtualBox, one called "Client" and the other "Server", basically two Ubuntu OS. Is it right?
Any tips?

Thanks
MB
 
Old 04-25-2018, 05:07 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Kerberos uses two servers, a Key Distribution Center (KDC) and an Admin server. The KDC can do replication so you can set up a slave KDC synched with the master. So that would be three on the server side. With one more for the client, that makes four.

VirtualBox or Qemu could work. Depending on your budget, cheap Single Board Computers would work too.
 
Old 04-25-2018, 05:31 AM   #3
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
Kerberos uses two servers, a Key Distribution Center (KDC) and an Admin server. The KDC can do replication so you can set up a slave KDC synched with the master. So that would be three on the server side. With one more for the client, that makes four.

VirtualBox or Qemu could work. Depending on your budget, cheap Single Board Computers would work too.
You mean, I should install 4 machines= 3 server and 1 client. Right? So, can you suggest me a procedure or a pdf file with all steps to configure a Server and a Client (that asks for a service) on Ubuntu, creating and environment ad-hoc? I have no idea on how to start on it. I have studied theory about Kerberos and I would like to implement a system to emulate how it works. That's all.

Last edited by michele_deb; 04-25-2018 at 05:33 AM.
 
Old 04-25-2018, 05:34 AM   #4
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Yes. Install Ubuntu-server on the three and Ubuntu-desktop on the fourth. I'd start looking at the networking prerequisites layed out in documents like these:

https://help.ubuntu.com/community/Kerberos

https://help.ubuntu.com/lts/serverguide/kerberos.html

After each machine has a hostname which you can ping or connect to via from any of the others, then you can start looking at the actual Kerberos packages and configuration.
 
1 members found this post helpful.
Old 04-25-2018, 01:26 PM   #5
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
Yes. Install Ubuntu-server on the three and Ubuntu-desktop on the fourth. I'd start looking at the networking prerequisites layed out in documents like these:

https://help.ubuntu.com/community/Kerberos

https://help.ubuntu.com/lts/serverguide/kerberos.html

After each machine has a hostname which you can ping or connect to via from any of the others, then you can start looking at the actual Kerberos packages and configuration.
Turbo, please, sorry for the stupid question:
instead of installing 3 servers, could I install just one virtual machine server, let's say: "kerberos.com" (my KDC) with an IP static address with the admin Server on the same machine and a Client virtual machine, let's say: "client.com" with a static IP?

Last edited by michele_deb; 04-25-2018 at 01:28 PM.
 
Old 04-25-2018, 01:38 PM   #6
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by michele_deb View Post
Turbo, please, sorry for the stupid question:
instead of installing 3 servers, could I install just one virtual machine server, let's say: "kerberos.com" (my KDC) with an IP static address with the admin Server on the same machine and a Client virtual machine, let's say: "client.com" with a static IP?
It's a sensible question.

You could put the admin server and kdc on the same machine but it would really be most practical, especially from a learning perspective, to have the client separate. This is a protocol intended to operate over the net, so you'll need that aspect to really know how it is used. There should be a GUI for VirtualBox that facilitates arranging the addresses of the VMs. If you're going to run it in a work environment then you'll want at least a little redundancy though.
 
Old 04-25-2018, 05:18 PM   #7
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
It's a sensible question.

You could put the admin server and kdc on the same machine but it would really be most practical, especially from a learning perspective, to have the client separate. This is a protocol intended to operate over the net, so you'll need that aspect to really know how it is used. There should be a GUI for VirtualBox that facilitates arranging the addresses of the VMs. If you're going to run it in a work environment then you'll want at least a little redundancy though.
Thanks. What I would like to do is at the following link: http://blog.manula.org/2012/04/setti...th-debian.html and I want configure the server part on the server virtual machine and client part on the client virtual machine following the instruction at that link. You think is the right way to proceed?
 
Old 04-25-2018, 10:14 PM   #8
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by michele_deb View Post
Thanks. What I would like to do is at the following link:
For me that just goes to a blank page with some javascripts and no content. What about the two Ubuntu links above? Unfortunately it was kind of common knowledge how to set up Kerberos so now it is virtually undocumented, especially since most of the the canonical links from the 1990s dead and haven't been replaced.
 
Old 04-26-2018, 09:51 AM   #9
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
For me that just goes to a blank page with some javascripts and no content. What about the two Ubuntu links above? Unfortunately it was kind of common knowledge how to set up Kerberos so now it is virtually undocumented, especially since most of the the canonical links from the 1990s dead and haven't been replaced.
Sorry Turbocapitalist,
attached you can find a pdf file with all instruction included in the link I sent you. I have also to set up an IP address for my Server and Client on VirtualBox using option "Only Host".
Attached Files
File Type: pdf Kerberos set up.pdf (53.5 KB, 56 views)
 
  


Reply

Tags
authentication, kerberos, ubuntu 16.04



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Load test, boundary test & stress test for USB EHCI/xHCI driver rama_toshiba Linux - Kernel 5 02-29-2012 02:43 PM
Kerberos Test Server for training purposes abohmeed Linux - Server 1 11-18-2011 01:28 AM
ssh and kerberos error: Server not found in Kerberos database Felipe Linux - Server 1 01-17-2011 03:12 AM
[SOLVED] Silencing the line "echo test > test/test.txt" in a shell script Arenlor Linux - General 2 06-18-2010 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration