<!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><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></BODY></HTML>