RE: Problems with security requirements in Windows WorkGroups.
- From: stcheng@xxxxxxxxxxxxxxxxxxxx ("Steven Cheng")
- Date: Mon, 10 Mar 2008 01:03:37 GMT
Thanks for your reply Domingo,
You can reach me through the following email:
"stcheng" + "@" + "microsoft.com"
Best regards,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we
can improve the support we provide to you. Please feel free to let my
manager know what you think of
the level of service provided. You can send feedback directly to my manager
at: msdnmg@xxxxxxxxxxxxxx
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?d29taW4=?= <vt_supervisor@xxxxxxxxxxxxxxxxxxxxxxxxx><p3vBGF1fIHA.4200@xxxxxxxxxxxxxxxxxxxxxx>
References: <800CF03C-C49C-4E08-B27F-681FEBC8F60D@xxxxxxxxxxxxx>
Subject: RE: Problems with security requirements in Windows WorkGroups.
Date: Thu, 6 Mar 2008 08:57:02 -0800
message
Hello Steven, first of all, thank you for your quick answer.
Yes, of course I have a security error as you can read in the error
I obtain:authentication.
"A remote side security requirement was not fulfilled during
Try increase the ProtectionLevel and/or ImpersonationLevel".error
(No Inner Exception is thrown)
I can give you some code generated for the error purpose. It consists in a
small chat application between a client (ChatClient) and a server
(ChatServer). By the way, how should I send you the code? I can not find a
way in my web news interface... :(
I am executing the example in two machines with Windows XP, the same users
and passwords in both machines and belonging to a WorkGroup.
When I try to use the TCP channel I get the error (with NO inner exception
messages) I have written above.
Thanks again and regards,
Domingo.
--
Domingo López.
Software Engineer & Project Manager.
Visual Tools.
""Steven Cheng"" wrote:
Hi Domingo,
From your description, I got that you're encountering some security
manywhen using .net remoting to communicate between client , server
application, correct?
Based on my experience, this general error message could be caused by
exceptionthings such as user identity not supplied, or the client and server
channel's security setting not match.....
As for the error, what's the innerException, generally the inner
youmay provide some further information. Also, for non-domain machines that
need to communicate under windows authentication, you need to use a
duplicated account(with same username/password) on both sides. If
convenient, you can try creating a simplified client/server project
pair(with a very simple remoting class) to demonstrate the problem. And
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notifcan send me the package so that I can also perform some tests on my side.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
issuesications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent
followwhere an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
theup response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
situationsmost efficient resolution. The offering is not appropriate for
bestthat require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
contactinghandled working with a dedicated Microsoft Support Engineer by
rights.Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
TCP
--------------------
From: =?Utf-8?B?d29taW4=?= <vt_supervisor@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Problems with security requirements in Windows WorkGroups.
Date: Wed, 5 Mar 2008 07:21:03 -0800
Hello everybody,
I have a .NET C# client-server application that is being used in two
machines with Windows XP installed. Both the client and the server are
executed into users of a Work Group.
I am using .NET Remoting to connect the client and the server with a
using achannel. The registration of the channel is made by using the followingcode:
"true"
"ChannelServices.RegisterChannel(channel, true);"
Where "channel" is a TCP channel. The ensureSecurity option is set to
in order to ensure the channel encryption.
Both the client and sever must send objects to each other (usually
cases,proxy).
The problem is, although this environment works well in most of the
channel:I
have an example where I obtain the following error text when the servertries
to access the client proxy (the error is displayed in the client):authentication.
"A remote side security requirement was not fulfilled during
Try increase the ProtectionLevel and/or ImpersonationLevel".
It is important to remark that the (.NET Remoting) proxies have right
permissions when accessing the server from the client.
After that, I have proved making the following change to the TCP
the
"ChannelServices.RegisterChannel(channel, false);"
That is, setting "false" the ensureSecurity option. So this means (as
inMicrosoft documentation says) that the channel will be encrypted only
thecase
it is possible. So in this case the error is resolved because although
notserver does not have the proper client credentials, the channel will
be
encrypted.impersonation
Finally, my question: I mandatory need to ensure the encryption of the
channel, and I need to know which could be the problem with the
and credentials in the wrong example. Is it machine configurationdependant?
Which is the reason for having two environment apparently identical(Windows
XP, WorkGroup, same users) but with different behavors?
Could you please give me some help about my problem?
Thanks a lot in advance.
Regards,
Domingo.
--
Domingo L�³pez.
Software Engineer & Project Manager.
Visual Tools.
.
- Follow-Ups:
- References:
- Problems with security requirements in Windows WorkGroups.
- From: womin
- RE: Problems with security requirements in Windows WorkGroups.
- From: "Steven Cheng"
- RE: Problems with security requirements in Windows WorkGroups.
- From: womin
- Problems with security requirements in Windows WorkGroups.
- Prev by Date: Re: Making Definitions
- Next by Date: Re: are getters/setters a must?
- Previous by thread: RE: Problems with security requirements in Windows WorkGroups.
- Next by thread: RE: Problems with security requirements in Windows WorkGroups.
- Index(es):
Relevant Pages
|
Loading