PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Heimdal 0.6.2



Jorge
23.05.04, 18:43
Hallo zusammen,

wollte mich etwas mit LDAP beschäftigen und bin gerade dabei alles nötige zu installieren. Vorgegangen bin in nach BLFS Anleitung (http://lfs.linux-matrix.net/blfs/view/cvs/postlfs/heimdal.html) und stehe nun vor folgendem Problem.

Nach erfolgreicher Installation muss Heimdal entsprechend konfiguriert werden.

Meine krb5.conf:


# Begin /etc/heimdal/krb5.conf

[libdefaults]
default_realm = [MATRIX.LAN]
encrypt = true

[realms]
[MATRIX.LAN] = {
kdc = [cws-lx.matrix.lan]
admin_server = [cws-lx.matrix.lan]
kpasswd_server = [cws-lx.matrix.lan]
}

[domain_realm]
.[matrix.lan] = [MATRIX.LAN]

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

# End /etc/heimdal/krb5.conf


Als nächstes soll das Master Password mittels kstash gespeichert werden, aber dies schägt bei mir fehl:


root@cws-lx:~# kstash
kstash: krb5_init_context failed: 22
root@cws-lx:~#

Ein Suche bei Google war nicht erfolgreich http://forum.lfs-tipps.de/images/simlies/wall.gif Kann jemand helfen?

Jorge
23.05.04, 18:55
Noch was:

Heimdal wurde aus den Sourcen mit folgenden ./configure Optionen gebaut:




./configure --prefix=/usr
--sysconfdir=/etc/heimdal
--datadir=/var/lib/heimdal
--libexecdir=/usr/sbin/heimdal
--sharedstatedir=/usr/share
--localstatedir=/var/lib/heimdal
--enable-shared
--with-openssl=/usr

Durch das --libexecdir=/usr/sbin/heimdal wurden lediglich die Heimdal Daemons in selbiges Verzeichnis installiert, alles andere befindet sich in den erwarteten Verzeichnissen (hoffe ich zumindest).

Jorge
24.05.04, 10:07
Ich habe kurzerhand einfach mal auf der BLFS Mailinglist nachgefragt, und folgende Antwort erhalten:


>> I have installed Heimdal 0.6.2 as discussed in BLFS (CVS version). Ok, then I
>> did configure Heimdal as announced in BLFS book, so this is my
>> /etc/heimdal/krb5.conf:
>>
>> ,------------------------------------------------
>> / # Begin /etc/heimdal/krb5.conf
>> /
>> / [libdefaults]
>> / default_realm = [MATRIX.LAN]
>> / encrypt = true
>> /
>> / [realms]
>> / [MATRIX.LAN] = {
>> / kdc = [cws-lx.matrix.lan]
>> / admin_server = [cws-lx.matrix.lan]
>> / kpasswd_server = [cws-lx.matrix.lan]
>> / }
>> /
>> / [domain_realm]
>> / .[matrix.lan] = [MATRIX.LAN]
>> /
>> / [logging]
>> / kdc = FILE:/var/log/kdc.log
>> / admin_server = FILE:/var/log/kadmin.log
>> / default = FILE:/var/log/krb.log
>> /
>> / # End /etc/heimdal/krb5.conf
>> '------------------------------------------------


After looking over your config file again, I noticed the brackets
that should *not* be there. The BLFS book uses the square brackets
to indicate what should be replaced, including the brackets.

Remove the square brackets and all should be okay.

Also, see an almost-finished hint for the installation of heimdal
and LDAP at: http://www.mcmurchy.com/lfs/ldap-nameservice.txt

Werde das heute Abend gleich mal testen und natürlich vom Ergebnis berichten.