aboutsummaryrefslogtreecommitdiff
path: root/security/sssd/files/patch-src__providers__krb5__krb5_delayed_online_authentication.c
blob: 4c9b6be071999bc1d5ac210d4854c929872422a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/providers/krb5/krb5_delayed_online_authentication.c.orig	2014-09-17 13:01:37 UTC
+++ src/providers/krb5/krb5_delayed_online_authentication.c
@@ -320,6 +320,7 @@ errno_t init_delayed_online_authentication(struct krb5
                                            struct tevent_context *ev)
 {
     int ret;
+#ifdef __linux__
     hash_table_t *tmp_table;
 
     ret = get_uid_table(krb5_ctx, &tmp_table);
@@ -339,6 +340,7 @@ errno_t init_delayed_online_authentication(struct krb5
               "hash_destroy failed [%s].\n", hash_error_string(ret));
         return EFAULT;
     }
+#endif /* __linux__ */
 
     krb5_ctx->deferred_auth_ctx = talloc_zero(krb5_ctx,
                                           struct deferred_auth_ctx);