ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Stanislav Levin <slev@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] kerberos plugins и rebuild
Date: Mon, 13 Jul 2020 11:42:52 +0300
Message-ID: <c574783b-a9f9-1c59-80b4-589928f6c5dc@altlinux.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1396 bytes --]

Доброго дня.


Было анонсирован приход krb5 1.18 в сизифе [0].

Появление новой версии вызвало проблему для FreeIPA:


krb5 плагин определен в krb5.conf :

[plugins]
 certauth = {
  module = ipakdb:kdb/ipadb.so
  enable_only = ipakdb
 }


# kdb5_util create -s -r IPA.TEST
Loading random data
Initializing database '/var/lib/kerberos/krb5kdc/principal' for realm
'IPA.TEST',
master key name 'K/M@IPA.TEST'
You will be prompted for the database Master Password.
It is important that you NOT FORGET this password.
Enter KDC database master key:
Re-enter KDC database master key to verify:
kdb5_util: Database module does not match KDC version while creating
database '/var/lib/kerberos/krb5kdc/principal'


Для этого плагина реализация отличается в зависимости от
KRB5_KDB_DAL_MAJOR_VERSION.

git log -p -G KRB5_KDB_DAL_ upstream/krb5-1.17..upstream/krb5-1.18

-#define KRB5_KDB_DAL_MAJOR_VERSION 7
+#define KRB5_KDB_DAL_MAJOR_VERSION 8


Уверен, что просто rebuild для freeipa исправит проблему.

Вопрос: не нужно ли это было сделать при сборке krb5? могут быть еще
пострадавшие.


[0]: https://lists.altlinux.org/pipermail/sisyphus/2020-July/368738.html


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2020-07-13  8:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-13  8:42 Stanislav Levin [this message]
2020-07-13  9:22 ` Ivan A. Melnikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c574783b-a9f9-1c59-80b4-589928f6c5dc@altlinux.org \
    --to=slev@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git