Start the kerberos servers
Start the kerberos servers
Just type/etc/init.d/krb5kdc start
/etc/init.d/kdamind start
Some distributions use other init.d scripts (kadmin instead of kadmind) and some start all kerberos servers with one startscript. As usual, you can find out with rpm:
rpm -ql krb5-server |grep init.d
kpropd and krb524d are not used at the moment. Enable startup at boot:
insserv krb5kdc
insserv kadmind
on suse or
chkconfig --add krb5server
on mandrake or just make symlinks. On the first start of the kerberos admin server we see:
Extracting kadm5 Service Keys: Authenticating as principal root/admin@REDFLO.DE with password. Entry for principal kadmin/admin with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/var/lib/kerberos/krb5kdc/kadm5.keytab. Entry for principal kadmin/admin with kvno 3, encryption type DES cbc mode with CRC-32 added to keytab WRFILE:/var/lib/kerberos/krb5kdc/kadm5.keytab. Entry for principal kadmin/changepw with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/var/lib/kerberos/krb5kdc/kadm5.keytab. Entry for principal kadmin/changepw with kvno 3, encryption type DES cbc mode with CRC-32 added to keytab WRFILE:/var/lib/kerberos/krb5kdc/kadm5.keytab. Starting Kerberos 5 Admin Server
If this does not happen, then you have to create the keytab file yourself! Huh wat's that? A keytab file is a file where a application stores the keys to authenticete to a kerberos server. This is like storing a password in a file! So be careful that noone else can read these files. So. In case the startscript did not do that for you, just execute:
kadmin.local -q "ktadd -k /var/lib/kerberos/krb5kdc/kadm5.keytab kadmin/admin kadmin/changepw"
The location of the file kadm5.keytab may vary. Check the value of "admin_keytab" in your kdc.conf file.
Created by system. Last Modification: Saturday 23 of July, 2005 12:40:16 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






