Dash:
[t2.git] / package / network / samba / hotfix.patch
blobaf6dc913f2c68daeabe58617f2c2413a2695f71b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../samba/hotfix.patch
5 # Copyright (C) 2018 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- ./source3/libads/kerberos_keytab.c.orig 2017-12-23 14:23:53.247467000 +0100
18 +++ ./source3/libads/kerberos_keytab.c 2017-12-23 18:57:07.135340000 +0100
19 @@ -32,8 +32,6 @@
21 #ifdef HAVE_KRB5
23 -#ifdef HAVE_ADS
25 /* This MAX_NAME_LEN is a constant defined in krb5.h */
26 #ifndef MAX_KEYTAB_NAME_LEN
27 #define MAX_KEYTAB_NAME_LEN 1100
28 @@ -85,6 +83,8 @@
29 return ret;
32 +#ifdef HAVE_ADS
34 /**********************************************************************
35 Adds a single service principal, i.e. 'host' to the system keytab
36 ***********************************************************************/