Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29889 - [krb5] kerberos.schema missing in package

Attached to Project: Arch Linux
Opened by Oliver L. (Grimeton) - Monday, 14 May 2012, 19:10 GMT
Last edited by Stéphane Gaudreault (stephane) - Wednesday, 23 May 2012, 20:53 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Stéphane Gaudreault (stephane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Hi,

in the krb5 package there is the file "kerberos.schema" missing which is used to deploy "in-tree-kerberos-databases" together with openldap.

It would be nice if the file, that is part of MIT's source, become part of the krb5 package. E.g. in /usr/share/krb5 or something.

Thanks!

KR,

Grimeton
This task depends upon

Closed by  Stéphane Gaudreault (stephane)
Wednesday, 23 May 2012, 20:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  pkg in [testing]
Comment by Stéphane Gaudreault (stephane) - Monday, 14 May 2012, 23:02 GMT
Would it be ok if I put the generic example file from the upstream tarball in /usr/share/doc/krb5/examples/ ?
Comment by Oliver L. (Grimeton) - Monday, 14 May 2012, 23:07 GMT
The "generic example file" ? Can't find that in the upstream tarball.

I'm talking about this file:

# md5sum ./krb5-1.10.1/src/plugins/kdb/ldap/libkdb_ldap/kerberos.schema
4d309b26c8b0104d022f8dbdc6d32300 ./krb5-1.10.1/src/plugins/kdb/ldap/libkdb_ldap/kerberos.schema
#

That's the schema which provides the krb* objects for in-tree kerberos.
Comment by Stéphane Gaudreault (stephane) - Tuesday, 15 May 2012, 01:01 GMT
Ok. I did not use this feature, so could you please send me a patch for the PKGBUILD that works for you ?
Comment by Oliver L. (Grimeton) - Tuesday, 15 May 2012, 01:33 GMT
Hi,

find attached two patches.

"PKGBUILD_install_kerberos_schema_only.patch" just adds the schema file to the example directory
"PKGBUILD_with_sha1_change.patch" has also the sha1sums array patched, because the gcc47 patch file produced a different sha1sum than the one expected (downloaded from here: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/krb5 )

I built the package and everything works as expected. "kerberos.schema" is now part of "/usr/share/doc/krb5/examples/"

KR,

Grimeton
Comment by Mantas Mikulėnas (grawity) - Saturday, 19 May 2012, 16:14 GMT
  • Field changed: Percent Complete (100% → 0%)
This should include kerberos.ldif as well, for use with new format openldap configuration.

(Edit: Of course, I managed to typo the filename.)
Comment by Oliver L. (Grimeton) - Saturday, 19 May 2012, 17:31 GMT
Et voila.

Like the other file, two patches.

I moved the files from the examples subfolder over to extras. Looks a bit cleaner imho.

KR and nice weekend,

Grimeton

Loading...