<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=358574719-02082006><FONT face=Arial color=#0000ff size=2>Hi
Fab,</FONT></SPAN></DIV>
<DIV><SPAN class=358574719-02082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=358574719-02082006><FONT face=Arial color=#0000ff size=2>Any
update on this issue? Can I at least check in the patch that was
sent?</FONT></SPAN></DIV>
<DIV><SPAN class=358574719-02082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=358574719-02082006><FONT face=Arial color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=358574719-02082006><FONT face=Arial color=#0000ff
size=2>Tzachi</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> openib-windows-bounces@openib.org
[mailto:openib-windows-bounces@openib.org] <B>On Behalf Of </B>Tzachi
Dar<BR><B>Sent:</B> Sunday, July 30, 2006 6:08 PM<BR><B>To:</B> Fab Tillier;
openib-windows@openib.org<BR><B>Subject:</B> [Openib-windows] Running WSD from
as a non-administrator<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=029145814-30072006>Hi
Fab,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=029145814-30072006>When testing WSD
from an account that is not an administrator, I have found out that we have a
critical problem in this scenario. IT seems that the way that we were creating
the IOCTLs for IBAT was wrong, and so was the way that we were opening the
devices.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=029145814-30072006>The following
patch solves this problem. (See also discussions on the OpenVpn forums about
this: <A
href="http://openvpn.net/archive/openvpn-users/2004-09/msg00233.html">http://openvpn.net/archive/openvpn-users/2004-09/msg00233.html</A>)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=029145814-30072006>Please also note
that such a user will also not be able to connect to the performance counters.
Can you please fix this problem?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=029145814-30072006>Another issue that
we have noticed is that there is no counter that tells the number of sockets
that were connected using WSD. Can you add such a counter?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006>Tzachi</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=029145814-30072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=029145814-30072006>Index:
inc/iba/ib_at_ioctl.h<BR>===================================================================<BR>---
inc/iba/ib_at_ioctl.h (revision 420)<BR>+++
inc/iba/ib_at_ioctl.h (working copy)<BR>@@ -46,7 +46,7
@@<BR> <BR> #define IOCTL_IBAT( n
) \<BR> CTL_CODE( FILE_DEVICE_UNKNOWN, (0x800 + n),
\<BR>- METHOD_BUFFERED, FILE_READ_ACCESS
)<BR>+ METHOD_BUFFERED, FILE_ANY_ACCESS )<BR> <BR> /**
This IRP is used to return all available CAs ports number<BR> * and port
guid */<BR>Index:
ulp/wsd/user/ibsp_ip.c<BR>===================================================================<BR>---
ulp/wsd/user/ibsp_ip.c (revision 420)<BR>+++
ulp/wsd/user/ibsp_ip.c (working copy)<BR>@@ -96,7 +96,7
@@<BR> if( g_ibsp.h_ibat_dev == INVALID_HANDLE_VALUE
)<BR> {<BR> g_ibsp.h_ibat_dev = CreateFileW(
IBAT_WIN32_NAME,<BR>- GENERIC_READ, FILE_SHARE_READ |
FILE_SHARE_WRITE, NULL,<BR>+ MAXIMUM_ALLOWED, 0,
NULL,<BR> OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL
);<BR> }<BR> cl_spinlock_release( &g_ibsp.ip_mutex
);<BR></SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>