tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
samba: drop heimdal compat patch to fix the build (ZHF)
Luca Bruno
10 years ago
04356dc2
f8f0c719
+1
-17
2 changed files
expand all
collapse all
unified
split
pkgs
servers
samba
4.x-heimdal-compat.patch
4.x.nix
-16
pkgs/servers/samba/4.x-heimdal-compat.patch
···
1
1
-
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
2
2
-
index bb476e1..0a407a4 100644
3
3
-
--- a/source4/kdc/kdc.c
4
4
-
+++ b/source4/kdc/kdc.c
5
5
-
@@ -967,9 +967,9 @@ static void kdc_task_init(struct task_server *task)
6
6
-
* The old behavior in the _kdc_get_preferred_key()
7
7
-
* function is use_strongest_server_key=TRUE.
8
8
-
*/
9
9
-
- kdc->config->as_use_strongest_session_key = false;
10
10
-
+ kdc->config->tgt_use_strongest_session_key = false;
11
11
-
+ kdc->config->svc_use_strongest_session_key = false;
12
12
-
kdc->config->preauth_use_strongest_session_key = false;
13
13
-
- kdc->config->tgs_use_strongest_session_key = false;
14
14
-
kdc->config->use_strongest_server_key = true;
15
15
-
16
16
-
/* Register hdb-samba4 hooks for use as a keytab */
+1
-1
pkgs/servers/samba/4.x.nix
···
29
29
patches =
30
30
[ ./4.x-no-persistent-install.patch
31
31
./4.x-fix-ctdb-deps.patch
32
32
-
] ++ stdenv.lib.optional enableKerberos ./4.x-heimdal-compat.patch;
32
32
+
];
33
33
34
34
buildInputs =
35
35
[ python pkgconfig perl libxslt docbook_xsl docbook_xml_dtd_42 /*