[Heimdal-source-changes] [heimdal/heimdal] 2f110d: krb5_principal_is_anonymous

Luke Howard noreply at github.com
Sön May 19 03:49:55 CEST 2019


  Branch: refs/heads/jaltman/heimdal-7.6-fixes
  Home:   https://github.com/heimdal/heimdal
  Commit: 2f110d6608a1f167052df0c1813b839ee7c2cd02
      https://github.com/heimdal/heimdal/commit/2f110d6608a1f167052df0c1813b839ee7c2cd02
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-18 (Sat, 18 May 2019)

  Changed paths:
    M kdc/kerberos5.c
    M kuser/kinit.c
    M kuser/kuser_locl.h
    M lib/krb5/krb5.h
    M lib/krb5/libkrb5-exports.def.in
    M lib/krb5/principal.c
    M lib/krb5/ticket.c
    M lib/krb5/version-script.map

  Log Message:
  -----------
  krb5_principal_is_anonymous

_krb5_principal_is_anonymous() is used outside lib/krb5 and
therefore it needs to be properly exported and its flag macros
need to be in a public header: krb5.h not krb5_locl.h.

Including krb5_locl.h from within kuser_locl.h for instance
results in build failures on Solaris.

This change renames the function and makes it part of the public
api.

Change-Id: I130d1698b10bdbd150b95e8c7d32dfc362889ce6
(cherry picked from commit bdcd7d2f3dc02f902628a9145084cf7a80496f7a)


  Commit: 20032f8447c9b01bee9fc9bbc629789b23f38c59
      https://github.com/heimdal/heimdal/commit/20032f8447c9b01bee9fc9bbc629789b23f38c59
  Author: Luke Howard <lukeh at padl.com>
  Date:   2019-05-18 (Sat, 18 May 2019)

  Changed paths:
    M lib/krb5/get_cred.c
    M lib/krb5/get_in_tkt.c
    M lib/krb5/init_creds_pw.c
    M lib/krb5/krb5_locl.h
    M lib/krb5/ticket.c

  Log Message:
  -----------
  krb5: check KDC supports anonymous if requested

Verify the KDC recognized the request-anonymous flag by validating the returned
client principal name.

(cherry picked from commit 014e318d6bdefd8ecfcb99ca9928921f6a49d721)


Compare: https://github.com/heimdal/heimdal/compare/bcc0cf473df7...20032f8447c9


More information about the Heimdal-source-changes mailing list