http://bugs.winehq.org/show_bug.cgi?id=19767
--- Comment #2 from Stefan Kuhr winesku@googlemail.com 2009-08-17 13:25:08 --- Created an attachment (id=23147) --> (http://bugs.winehq.org/attachment.cgi?id=23147) Patch for this bug
This is the same patch I sent to the patch mailing list. I dunno what the proper way for submitting a patch is, so I hope one of the two alternatives is okay. This patch reverts the introduction of the new static variable LONG next_id and the assignment of an InterlockedIncrement on this variable to auth_hdr->auth_context_id and assigns auth_hdr->auth_context_id the old value (unsigned long)Connection. This change makes authenticated RPC calls work again for me.