LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-20-2009, 08:20 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 50
Please post simple & working configuations Server and Client for KERBEROS,& TUTORIAL


I found those things, but kerberos is impossible complicated to be installed.

Code:
server:

/etc/krb5.conf:
[libdefaults]
default_realm = LOCALDOMAIN

[realms]
LOCALDOMAIN = {
kdc = server.localdomain:88
admin_server = server.localdomain:750
}

[domain_realm]
.localdomain = LOCALDOMAIN
localdomain = LOCALDOMAIN

[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log

/etc/hosts:
127.0.0.1 localhost
192.168.0.2 server server.localdomain

real hostname is actually *not* "server"!

kadmin.local:
addprinc foo


client:

/etc/krb5.conf
[libdefaults]
ticket_lifetime = 600
default_realm = LOCALDOMAIN
default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc

[realms]
LOCALDOMAIN = {
kdc = server.localdomain:88
admin_server = server.localdomain:750
}

[domain_realm]
.localdomain = LOCALDOMAIN
localdomain = LOCALDOMAIN

[kdc]
profile = /etc/krb5kdc/kdc.conf

[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log

$ kinit foo
$ krsh server
error getting credentials: Server not found in Kerberos database
trying normal rlogin (/usr/bin/rlogin)
 
Old 09-20-2009, 08:29 AM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 50
where are the logs?

nothing in /var/log ?
 
Old 09-20-2009, 08:40 AM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by frenchn00b View Post
where are the logs?

nothing in /var/log ?
add this to /etc/krdb5.conf

Code:
[logging]
     kdc = FILE:/var/log/krb5kdc.log
     admin_server = FILE:/var/log/kadmin.log
     default = FILE:/var/log/krb5lib.log
then restart in /etc/init.d/krdn-kdc start
 
Old 09-20-2009, 08:41 AM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 50
error

Quote:
# cat /var/log/krb5kdc.log
krb5kdc: No such file or directory - while initializing database for realm
 
Old 09-20-2009, 08:44 AM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 50
for the nfs and kerberos, ok, but for the moment no kerberos server running
http://wiki.debian.org/NFS/Kerberos
 
  


Reply


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
Source Code for a simple ftp server and client koodoo Programming 17 07-05-2013 11:48 AM
i really really need help with a simple client-server application mihaimnb Linux - Server 3 06-21-2009 06:52 AM
simple udp server client programm in not working between two systems gssmsc Programming 4 02-26-2008 10:56 AM
simple backup process using server/client technology debloxie Linux - Networking 11 10-24-2005 02:58 PM
Samba 3.0.2, Kerberos, Linux (RHAS3.0), Win2kAD - linux smb server with a w2k client irishb3 Linux - Networking 2 07-20-2004 08:05 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration