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 - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-05-2016, 07:20 AM   #1
czar1983
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Rep: Reputation: Disabled
Kerberos AD


Hello world,

A week ago I am trying to set up a project in training to add linux seveurs to Active directory but without success.

I followed the following tutorial I turn on CentOS and virtualbox in Bridge.

https://community.spiceworks.com/how...tive-directory

I can not run the command kinit} {rabah} who is a user in my AD.
kinit {rabah}
Code:
kinit: Cannot find KDC for realm "{TEST.LOCAL}" while getting initial credentials
vim /etc/krb5.conf



Code:
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
 
[libdefaults]
default_realm = {TEST.LOCAL}
dns_lookup_realm = true
dns_lookup_kdc = true
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
 
[realms]
{TEST.LOCAL} = {
admin_server = {WIn-Server2012}.{Test.local}
kdc_server = {Win-Server2012}.{Test.local}
}
 
{Test.local} = {
}
 
[domain_realm]
.{Win-Server2012.Test.local} = {WIN-SERVER2012.TEST.LOCAL}
{Win-Server2012.Test.local} = {WIN-SERVER2012.TEST.LOCAL}
FQDN of my AD
Code:
Win-Server2012.Test.local
hostname
Code:
CentOsSrv.local
vim /etc/resolv.conf
Code:
# Generated by NetworkManager
search CentOsSrv.local
nameserver 192.168.0.254
dns-nameserver  Win-Server2012.Test.local
Vim /etc/hosts
Code:
127.0.0.1       localhost.localdomain   CentOsSrv
192.168.0.10    CentOsSrv.local
192.168.0.20    Win-Server2012.Test.local
ping windows server
Code:
ping win-server2012.test.local
PING Win-Server2012.Test.local (192.168.0.20) 56(84) bytes of data.
64 bytes from Win-Server2012.Test.local (192.168.0.20): icmp_seq=1 ttl=128 time=0.947 ms
64 bytes from Win-Server2012.Test.local (192.168.0.20): icmp_seq=2 ttl=128 time=0.287 ms
64 bytes from Win-Server2012.Test.local (192.168.0.20): icmp_seq=3 ttl=128 time=0.451 ms
64 bytes from Win-Server2012.Test.local (192.168.0.20): icmp_seq=4 ttl=128 time=0.469 ms
Thanks for help

Last edited by czar1983; 10-05-2016 at 07:21 AM.
 
Old 10-05-2016, 04:50 PM   #2
Felipe
Member
 
Registered: Oct 2006
Posts: 302

Rep: Reputation: 32
Read all this:

http://www.linuxquestions.org/questi...-samba-903806/
 
Old 10-06-2016, 10:59 AM   #3
czar1983
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
prob comme from resolv.conf

good info for my config


nameserver 192.168.0.20
 
  


Reply



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
Kerberos abourke Linux - Newbie 2 04-21-2015 02:39 PM
ssh and kerberos error: Server not found in Kerberos database Felipe Linux - Server 1 01-17-2011 03:12 AM
kerberos paul_mat Linux - Networking 0 05-10-2006 12:02 AM
kerberos denning Slackware 1 11-02-2005 07:04 AM
Kerberos Krizzc Slackware 0 10-21-2004 07:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:34 AM.

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