473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Using net.tcp binding, allowNtlm=false doesn't work if same box

I've created a simple WCF client-server application that uses the net.tcp
binding. I'm using SPN's in a domain environment and want to force mutual
authentication via Kerberos by setting the "allowNtlm" property to "false" at
the client. This works exactly as planned when the client and server are on
not on the same system. However, when co-located, the exception is thrown
stating "...remote server did not satisfy the mutual authentication
requirement". Is there a trick to make this work? I've tried practically
every possible option with no success. BTW, the test is run on Server 2003.
Oct 8 '08 #1
1 3822
Yes, I'm using the FQDN in both the local and remote machine scenarios. In
both cases, the machines are joined to the same DC, have the correct DNS
entries, user accounts are within same DC and the SPNs have been checked and
double-checked. In the shared box scenario, the only way I could make the
code work was to set allowNtlm=true, which I don't want to do...unless I can
get a vote of confidence that mutual authentication is somehow guaranteed?

Thanks you for the response. I had actually worked through the debugging
link previously. The odd thing is the I know for certain that machine to
machine works perfectly. As soon as I move the client onto the target server,
the mutual auth exception is thrown. Doesn't make sense to me, and I look
forward to any more suggestions.

"Tiago Halm" wrote:
Are you using the FQDN when performing the test?

read here for possible hints on what the issue may be:
http://msdn.microsoft.com/en-us/library/bb463274.aspx

Tiago Halm

"smpdave" <sm*****@discussions.microsoft.comwrote in message
news:77**********************************@microsof t.com...
I've created a simple WCF client-server application that uses the net.tcp
binding. I'm using SPN's in a domain environment and want to force mutual
authentication via Kerberos by setting the "allowNtlm" property to "false"
at
the client. This works exactly as planned when the client and server are
on
not on the same system. However, when co-located, the exception is thrown
stating "...remote server did not satisfy the mutual authentication
requirement". Is there a trick to make this work? I've tried practically
every possible option with no success. BTW, the test is run on Server
2003.
Oct 17 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Frank Wisniewski | last post by:
I have the following persudo code: //My Form Class class Form1 { //Local Variable for my custom object private MyCustomObject1 //Constructor for Form Class public Constructor{
4
by: Coot | last post by:
I've been running many tests of the Asynchronous Delegate technique and I find that although BeginInvoke() does queue the method delegate onto a worker thread, it always does so on the _same_...
5
by: Michelle Stone | last post by:
Hi everybody I am writing a simple asp.net application using form authentication. I store the list of all users and their passwords in an SQL Server database table. My client recently told me...
1
by: Antonio Lopez Arredondo | last post by:
hi all !!! I have an HTML page with two links: link1 point to page1.aspx link2 point to page2.aspx page1.aspx and page2.aspx are two different ASP.NET applications, that require user...
4
by: Darrel | last post by:
This is a followup to a previous question. I'm trying to grab some data and bind it to two different dropdown lists. (same data in each one). I can't seem to populate them both without resorting...
5
by: Marina | last post by:
Hi, Let's say I bind the same column to multiple properties of one control (or even to the same property of several controls). If a user changes the value of the property in one control - I...
2
by: Rich | last post by:
Is there a way to inform all users concurrently using same web application when one user has made changes to data? Remote scripting has that ability to send data to client but can't be done...
6
rcollins
by: rcollins | last post by:
I have several reports that I want to run at the same time. I have them all set up to run one at a time using a start and end date for the criteria. I would like for there to be one button to run all...
2
by: poolboi | last post by:
hey guys, another question for thoughts, i'm matching this: MHI:; when i use
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.