aboutsummaryrefslogtreecommitdiff
path: root/package/keyutils/0002-cifs.patch
blob: 23f8e33126c80f3904381a95d3d27fdd2a43fffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Patch vampirised from Debian's packaging of keyutils-1.4

Author: Marcus Meissner <meissner@suse.de>
Description: Added 2 cifs helpers to request-key.conf (for CIFS DFS support)

diff -Naurp keyutils.orig/request-key.conf keyutils/request-key.conf
--- keyutils.orig/request-key.conf	2008-09-07 23:53:10.000000000 +0000
+++ keyutils/request-key.conf	2009-02-05 00:53:00.000000000 +0000
@@ -38,4 +38,6 @@
 create  user    debug:*         revoked         /bin/keyctl reject %k 30 %c %S
 create	user	debug:loop:*	*		|/bin/cat
 create	user	debug:*		*		/usr/share/keyutils/request-key-debug.sh %k %d %c %S
+create	cifs.spnego	*	*		/usr/sbin/cifs.upcall -c %k
+create	dns_resolver	*	*		/usr/sbin/cifs.upcall %k
 negate	*	*		*		/bin/keyctl negate %k 30 %S