Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page DNS Issue With SAMBA (kinit error)
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Reply
 
Thread Tools Display Modes
Old 06-17-2008   #1 (permalink)
crazy01
Just Joined!
 
Join Date: Jul 2005
Location: Australia
Posts: 78
DNS Issue With SAMBA (kinit error)

Hi guys,

I'm trying to setup a Debian fileserver with samba.

i have a Windows domain controller etc

The Domain Controller is called atmosphere
The Domain is ct.local

The error i get is below:

Code:
kinit administrator@CT.LOCAL
kinit(v5): Cannot resolve network address for KDC in requested realm while getting initial credentials
My /etc/resolv.conf file contains:
Code:
# generated by NetworkManager, do not edit!

search ct.local


nameserver 10.135.148.7
nameserver 10.135.148.1
and my /etc/hosts contains

Code:
127.0.0.1       localhost
127.0.1.1       X-Wing.ct.local X-Wing
not sure if this helps, but i can ping my server (ping atmosphere) but not the FQDN (ping atmosphere.ct.local)
crazy01 is offline   Reply With Quote
Old 06-17-2008   #2 (permalink)
jledhead
Linux Engineer
 
jledhead's Avatar
 
Join Date: Oct 2004
Location: North Carolina
Posts: 789
whats in your /etc/krb5.conf file?
jledhead is offline   Reply With Quote
Old 06-17-2008   #3 (permalink)
HROAdmin26
Linux User
 
Join Date: Nov 2007
Posts: 488
My experience has been that for best results in joining Samba > Domain, hostname --fqdn had better match the domain you are joining - which can be done via the hosts file.

In your case:

Quote:
/etc/hosts:

<ip_address> x-wing.ct.local x-wing
So that hostname returns x-wing and hostname --fqdn = x-wing.ct.local. I'd also put your DC into the debian hosts file. Only have localhost resolve to 127.0.0.1 - and x-wing resolve to an IP that the DC can reach.
HROAdmin26 is online now   Reply With Quote
Old 06-17-2008   #4 (permalink)
crazy01
Just Joined!
 
Join Date: Jul 2005
Location: Australia
Posts: 78
my /etc/krb5.conf contains

Code:
[realms]

CT.LOCAL = {
#kdc = 10.135.148.7
#admin_server = 10.135.147.7

kdc = atmosphere.ct.local
admin_server = atmosphere.ct.local
default_domain = ct.local
}
crazy01 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 02:59 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0