diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2011-04-28 02:52:38 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-05-05 13:24:59 -0400 |
commit | 628187049e815ee54637398c8011883d762c8a64 (patch) | |
tree | 19b5319574cfa6c14ec50d8a1f76baa76c44ce15 /src/util/sss_krb5.h | |
parent | eb6f8a6ebd90084c8132007e2712cddc527a93f4 (diff) | |
download | sssd-628187049e815ee54637398c8011883d762c8a64.tar.gz sssd-628187049e815ee54637398c8011883d762c8a64.tar.xz sssd-628187049e815ee54637398c8011883d762c8a64.zip |
Added some kerberos functions for building on RHEL5
Diffstat (limited to 'src/util/sss_krb5.h')
-rw-r--r-- | src/util/sss_krb5.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util/sss_krb5.h b/src/util/sss_krb5.h index d17bfe969..15f862b47 100644 --- a/src/util/sss_krb5.h +++ b/src/util/sss_krb5.h @@ -102,4 +102,14 @@ krb5_error_code KRB5_CALLCONV sss_krb5_get_init_creds_opt_set_fast_flags( #define SSS_KRB5_FAST_REQUIRED 0 #endif + +#ifndef HAVE_KRB5_UNPARSE_NAME_FLAGS +#define KRB5_PRINCIPAL_UNPARSE_SHORT 0x1 +#define KRB5_PRINCIPAL_UNPARSE_NO_REALM 0x2 +#define KRB5_PRINCIPAL_UNPARSE_DISPLAY 0x4 +#endif +krb5_error_code +sss_krb5_unparse_name_flags(krb5_context context, krb5_const_principal principal, + int flags, char **name); + #endif /* __SSS_KRB5_H__ */ |