Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-11-2009, 04:24 AM   #1
Registered: Aug 2006
Posts: 36

Rep: Reputation: 15
Problem in get ticket with Kerberos


I have problem for get tickets from kerberos in my Centos 5.2, when I type this command /usr/local/kerberos/bin/kinit admin@LABCOM.UNASP
Show this message

kinit(v5): Cannot resolve network address for KDC in realm LABCOM.UNASP while getting initial credentials

I donīt understand why this message !!! My DNS is work , I can resolve the domain (LABCOM.UNASP)

nslookup labcom.unasp

Name: labcom.unasp

My DNS server is on Windows 2003 Server , this command kinit was tested from the server Linux with Centos 5.2 using version keberos 1.6 of MIT , follow I paste kr5b.conf

# determines your default realm name
default_realm = LABCOM.UNASP
default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc des-cbc-md5
default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc des-cbc-md5
permitted_enctypes = des3-hmac-sha1 des-cbc-crc des-cbc-md5
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true

# specifies where the servers are and on
# which ports they listen (88 and 749 are
# the standard ports)
kdc = kdc.AmbLivre:88
admin_server = kdc.AmbLivre:749
default_domain = labcom.unasp

# maps your DNS domain name to your Kerberos
# realm name
.labcom.unasp = LABCOM.UNASP
labcom. = LABCOM.UNASP
profile = /var/kerberos/krb5kdc/kdc.conf
# determines where each service should write its
# logging info
admin_server = SYSLOG:INFOAEMON

and kdc.conf

v4_mode = nopreauth
kdc_tcp_ports = 750,88

database_name = /var/kerberos/krb5kdc/principal
key_stash_file = /var/kerberos/krb5kdc/.k5.LABCOM.UNASP
master_key_type = des3-hmac-sha1
acl_file = /var/kerberos/krb5kdc/kadm5.acl
dict_file = /usr/share/dict/words
admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab
supported_enctypes = des3-hmac-sha1:normal arcfour-hmac:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal des-cbc-crc:v4 des-cbc-crc:a
kdc_ports = 750,88
max_file = 10h 0m 0s
max_renewable_life = 7d 0h 0m 0s

I try resolv but I canīt resolve this problem , somebody can helpme get ticket from keberos !!!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
obtain Kerberos afs ticket automatically at login OkoSanto Linux - Networking 9 06-06-2009 04:51 AM
mount smbfs with cifs. using kerberos ticket permalac Linux - Desktop 0 12-24-2008 06:17 AM
pam_krb5 won't retrieve a kerberos ticket Thakowbbery Conectiva 1 01-10-2007 05:20 AM
Mounting network shares using kerberos ticket dlbuhl Linux - Networking 0 12-19-2006 10:53 AM
Samba Kerberos Ticket sindri Linux - Software 0 11-24-2004 01:10 AM

All times are GMT -5. The time now is 01:00 PM.

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