Edit the kerberos server config file
Edit the kerberos server config file
To be more exact, the "kerberos server" consists of several processes, and all together are called a "Key Distribution Center" (KDC). The config file is /etc/kerberos/krb5kdc/kdc.conf or /var/lib/kerberos/krb5kdc/kdc.conf depending on your distribution. On rpm based distributions you can search the file using the command
rpm -ql krb5-server |grep kdc.conf
We start with a basic kdc.conf (taken from a suse installation):
[kdcdefaults]
kdc_ports = 88
[realms]
REDFLO.DE = {
database_name = /var/lib/kerberos/krb5kdc/principal
admin_keytab = FILE:/var/lib/kerberos/krb5kdc/kadm5.keytab
acl_file = /var/lib/kerberos/krb5kdc/kadm5.acl
key_stash_file = /var/lib/kerberos/krb5kdc/.k5.REDFLO.DE
kdc_ports = 88
max_life = 10h 0m 0s
max_renewable_life = 7d 0h 0m 0s
}
[logging]
kdc = FILE:/var/log/kdc.log
admin_server = FILE:/var/log/kadmin.log
I've edited the kdc_ports that was kdc_ports=750,88. 750 is the Kerberos 4 Port, and i don't want to run old Kerberos. Two of the sections are interesting: the kdcdefaults are default values for all realms a kdc runs. Hey, a kdc can run more than one realm! In realms you specify in more detail what configuration values you want to set for this realm. For detailed explanation read the Kerberos Admin Book. We'll touch some values again later.
Created by system. Last Modification: Friday 30 of September, 2005 21:59:01 UTC by admin.
Category: UNIX
-
wiki page:
- How to use Microsoft Active Directory with postfix
- inserting the first object in your ldap directory
- Installing the mailsystem packages
- Integrating LDAP in your unix system
- Introduction
- Kerberizing kadmin
- Kerberizing sshd
- Kerberos setup
- LDAP
- LDAP schema files
- logging
- Motivation
- nss_ldap security
- OpenLDAP config files
- Other documentation
- performing a first ldap query
- PerfParse
- populating the directory
- Postfix and cyrus imapd and kerberos and LDAP
- Setting up a kerberos client machine
- Setting up your Kerberos servers
- SIngle sign on (SSO) first try
- SSO and Central Administration with Kerberos and LDAP
- Start the kerberos servers
- The configuration files
- The name service switch
- Tweak pam
- Understanding Kerberos
- Understanding Kerberos pt. 2
- Webserver Stress Test Tools
- What is LDAP?
- What the heck is pam?
- What we need
- What we want
- Audience
- Authenticating
- Bash script with timeout function
- Check Processes
- Check your installation
- Choosing a Realm
- configure your mail client
- Configuring and understanding pam
- configuring cyrus imapd
- configuring postfix
- Connect to kadmind and have a look into the database
- Creating the kerberos database
- Edit the Kerberos Admin Server ACL config
- Edit the kerberos client config file
- Edit the kerberos server config file
- Excursus to principals
- exploring schemas
- Fight Image Spam
- Fight Spam best practice
- adding a group
- Adding principals and authenticating
- Another principal
- nss with Solaris 10
- SerialConsole






