summaryrefslogtreecommitdiff
path: root/net/samba3/files/patch-nsswitch_winbindd.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba3/files/patch-nsswitch_winbindd.c')
-rw-r--r--net/samba3/files/patch-nsswitch_winbindd.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/samba3/files/patch-nsswitch_winbindd.c b/net/samba3/files/patch-nsswitch_winbindd.c
new file mode 100644
index 000000000000..efbb4402f818
--- /dev/null
+++ b/net/samba3/files/patch-nsswitch_winbindd.c
@@ -0,0 +1,12 @@
+--- nsswitch/winbindd.c.orig Sun Apr 22 01:00:32 2007
++++ nsswitch/winbindd.c Mon Jun 4 02:59:13 2007
+@@ -303,6 +303,9 @@
+ if (state->mem_ctx == NULL)
+ return;
+
++ /* Remember who asked us. */
++ state->pid = state->request.pid;
++
+ /* Process command */
+
+ for (table = dispatch_table; table->fn; table++) {