Your message dated Sat, 25 Mar 2017 22:33:46 +0000
with message-id <[email protected]>
and subject line Bug#822765: fixed in augeas 1.7.0-1
has caused the Debian Bug report #822765,
regarding augeas-lenses: Krb5 lens fails to parse default krb5.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
822765: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822765
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: augeas-lenses
Version: 1.2.0-0.2+deb8u1
Severity: normal

Dear Maintainer,

Trying to puppetize some changes to a (pristine, freshly-installed) krb5.conf 
file, I run into the following parse errors:

1) missing krb524_server parameter:

        CSAIL.MIT.EDU = {
                kdc = kerberos-1.csail.mit.edu
                kdc = kerberos-2.csail.mit.edu
                admin_server = kerberos.csail.mit.edu
                default_domain = csail.mit.edu
                krb524_server = krb524.csail.mit.edu
        }

2) realm names starting with a digit:

        1TS.ORG = {
                kdc = kerberos.1ts.org
                admin_server = kerberos.1ts.org
        }

3) realm names starting with a lowercase letter:

        stanford.edu = {
                kdc = krb5auth1.stanford.edu
                kdc = krb5auth2.stanford.edu
                kdc = krb5auth3.stanford.edu
                master_kdc = krb5auth1.stanford.edu
                admin_server = krb5-admin.stanford.edu
                default_domain = stanford.edu
        }

I believe that the lens as shipped by Debian should be able to address
the krb5.conf file as shipped by Debian.  The following patch addresses
all three problems.

--- krb5.aug.orig       2016-04-27 11:13:15.824046489 +0200
+++ krb5.aug    2016-04-27 11:12:46.031915687 +0200
@@ -21,7 +21,7 @@
    and realms in the [appdefaults] section.
 *)
 
-let realm_re = /[A-Z][.a-zA-Z0-9-]*/
+let realm_re = /[a-zA-Z0-9][.a-zA-Z0-9-]*/
 let app_re = /[a-z][a-zA-Z0-9_]*/
 let name_re = /[.a-zA-Z0-9_-]+/
 
@@ -83,7 +83,7 @@
 let realms =
   let simple_option = /kdc|admin_server|database_module|default_domain/
       |/v4_realm|auth_to_local(_names)?|master_kdc|kpasswd_server/
-      |/admin_server|ticket_lifetime|pkinit_anchors/ in
+      |/admin_server|ticket_lifetime|pkinit_anchors|krb524_server/ in
   let subsec_option = /v4_instance_convert/ in
   let option = subsec_entry simple_option eq comment in
   let subsec = [ indent . key subsec_option . eq_openbr .

Thanks,

Roland.
-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

augeas-lenses depends on no packages.

augeas-lenses recommends no packages.

Versions of packages augeas-lenses suggests:
pn  augeas-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: augeas
Source-Version: 1.7.0-1

We believe that the bug you reported is fixed in the latest version of
augeas, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hilko Bengen <[email protected]> (supplier of updated augeas package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 25 Mar 2017 23:08:18 +0100
Source: augeas
Binary: augeas-tools libaugeas-dev libaugeas0 augeas-dbg augeas-lenses 
augeas-doc
Architecture: source
Version: 1.7.0-1
Distribution: unstable
Urgency: medium
Maintainer: Hilko Bengen <[email protected]>
Changed-By: Hilko Bengen <[email protected]>
Description:
 augeas-dbg - Debugging symbols for libaugeas0
 augeas-doc - Augeas lenses documentation
 augeas-lenses - Set of lenses needed by libaugeas0 to parse config files
 augeas-tools - Augeas command line tools
 libaugeas-dev - Development files for writing applications based on libaugeas0
 libaugeas0 - Augeas configuration editing library and API
Closes: 749919 822765
Changes:
 augeas (1.7.0-1) unstable; urgency=medium
 .
   * Adopting package
   * Update Maintainer, Uploaders fields, with permission from previous
     maintainer
   * Add fixes to NRPE (Closes: #749919) and krb5 (Closes: #822765) parsers
Checksums-Sha1:
 5b06c7cf94535edd654ac1955d4d93df3f4b45ab 2306 augeas_1.7.0-1.dsc
 e76d541cbfa7c4d4407b4a10ea964ebfb09d68cb 9856 augeas_1.7.0-1.debian.tar.xz
 b69bef433c395131310f9cbbf2e1981f45c63985 8492 augeas_1.7.0-1_source.buildinfo
Checksums-Sha256:
 b7252ba9224261d181fe80913d05bb48fe5cf53318cd11c34ef723a50c72d340 2306 
augeas_1.7.0-1.dsc
 275bd613ddd18f104338ccb532f44ad5e428c36e6c84aa6e75ced3714d2d1610 9856 
augeas_1.7.0-1.debian.tar.xz
 9efb86ebc476ef207c73c9a4c79108c8783d6a0476d7fb1c6791d6ac8808b391 8492 
augeas_1.7.0-1_source.buildinfo
Files:
 6365cd2188750c723747695d7592766e 2306 libs optional augeas_1.7.0-1.dsc
 de1c4c6074ff550e22e6b3e1d8bb088d 9856 libs optional 
augeas_1.7.0-1.debian.tar.xz
 98430ec665d934416efc3f0f07418b4a 8492 libs optional 
augeas_1.7.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErnMQVUQqHZbPTUx4dbcQY1whOn4FAljW6msACgkQdbcQY1wh
On5j5Q//W+zqtDxCGmabegODOvjBx9L/UG6vQO/6+ZDUzm7erFcDK+6e92YFVrvD
6aKBHliozhSNX+/4na8Z1sPrKKRASl4dymdJ/bF9s1pLA3LL2JLDBh54EF6SoJCo
orDXInW8euVtU2C0aI1fjSbgB4gajNCt0UFo+1JtZCP/32S2Fv5C04IwtbfTd4+9
2w7Zw16mzZRDdF2Nxg8XKy2U/H/j2dlBWWU980MxmPEX0wTVniix1myPe8MxmmXH
jzfNuGbLZQnpgrg7/kR5iJrGFaqNTBMrxW0MjJ6Bk4EnFBAH6mxkdAXUsC3gCKZ2
Nv1yRKwm6Iz63753dfnEzzEUxH0eksL5Y9G2ggoP+tWDcySFO3jnEVopzwV2xExT
yC2RYpUbgZnh5+oOZPCvvcgR6a1WBo0w+36HFkzRFoqlE/rTpy8IDDsqSlRq1/wB
hgFj8WjmDq/QoG2g1vrG3LQhqBa1Olv2+szmHzgXwQIVdXksgUp7wIZ5ivk52vsb
Ix0Yett0qa14dZLlKwH4Kbo/gg4oIwrxfSAwAFO/oasTgLPc0JTMsvcLhOQvx4U/
JDUHrOSsHY+lhcaRZeFplpIDS0c61T5nip0Qh20lqKcGQPgCFJJUJlrRIbxCk8Ak
1gqDpYzyUrhILt5YIeih0TJGWPikoBsWF8zk2msesmYQj93a58M=
=cteL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to