[Heimdal-source-changes] [heimdal/heimdal] 211b3f: krb5_principal_is_anonymous

Luke Howard noreply at github.com
Sön May 19 05:19:33 CEST 2019


  Branch: refs/heads/heimdal-7-1-branch
  Home:   https://github.com/heimdal/heimdal
  Commit: 211b3f0ae3abb7989b8312c87d71c39c6f8daa62
      https://github.com/heimdal/heimdal/commit/211b3f0ae3abb7989b8312c87d71c39c6f8daa62
  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: 61c5d273ca07dab99e57e7f753f85b40ca531796
      https://github.com/heimdal/heimdal/commit/61c5d273ca07dab99e57e7f753f85b40ca531796
  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/cabd96a7b3e3...61c5d273ca07


More information about the Heimdal-source-changes mailing list