473,322 Members | 1,232 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,322 software developers and data experts.

.NET portal, Active Directory on a sub domain, Windows Authenticat

I run a .NET based portal product. I am using windows authentication. This
mode of authentication and the string specifying the connection to AD is
specified in the application's web.config file. This portal has always worked
fine, though recently, our infrastructure team changed our internal domain
name. Now I can no longer authenticate any users no matter how I change the
connect string in the web.config file.

For the purposes of this discussion my former domain name is 'abc.com' and
my new domain name is '123.abcdefghijklm.com'. The name of the server
housing AD is now 'DC1.123.abcdefghijklm.com'. The netbios name had to be
truncated to 15 characters to accommodate a couple NT4 servers and its new
designation is '123.abcdefghijk'.

The previous connect string in web.config which worked with the old domain
name:
<code><add key="ADdns" value="LDAP://DC1.abc.com/DC=abc, DC=com;
WinNT://abc"/></code>

I tried the following to accommodate the name change (domain and netBios):
<code><add key="ADdns"
value="LDAP://DC1.123.abcdefghijklm.com/DC=123.abcdefghijklm, DC=com;
WinNT://123.abcdefghijk"/></code>

It didn't work. The application generates an error specifying the domain
cannot be contacted.

Can anyone help me with this one?
Jul 21 '05 #1
1 1768
I figured it out. In this case, the trick is to use only the netbios name
for the ADdns key:

<code><add key="ADdns" value="WinNT://123.abcdefghijk"/></code>

Rock on!!!!!

"Frank00" wrote:
I run a .NET based portal product. I am using windows authentication. This
mode of authentication and the string specifying the connection to AD is
specified in the application's web.config file. This portal has always worked
fine, though recently, our infrastructure team changed our internal domain
name. Now I can no longer authenticate any users no matter how I change the
connect string in the web.config file.

For the purposes of this discussion my former domain name is 'abc.com' and
my new domain name is '123.abcdefghijklm.com'. The name of the server
housing AD is now 'DC1.123.abcdefghijklm.com'. The netbios name had to be
truncated to 15 characters to accommodate a couple NT4 servers and its new
designation is '123.abcdefghijk'.

The previous connect string in web.config which worked with the old domain
name:
<code><add key="ADdns" value="LDAP://DC1.abc.com/DC=abc, DC=com;
WinNT://abc"/></code>

I tried the following to accommodate the name change (domain and netBios):
<code><add key="ADdns"
value="LDAP://DC1.123.abcdefghijklm.com/DC=123.abcdefghijklm, DC=com;
WinNT://123.abcdefghijk"/></code>

It didn't work. The application generates an error specifying the domain
cannot be contacted.

Can anyone help me with this one?

Jul 21 '05 #2

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

Similar topics

1
by: .net user | last post by:
can some one point me what i'm doing wrong? I have spent half a day figuring out and totally stuck now. Here's what I'm trying to accomplish: I am writing a web appl - an intranet portal site...
1
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem...
10
by: Hriday | last post by:
Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to...
1
by: Frank00 | last post by:
I run a .NET based portal product. I am using windows authentication. This mode of authentication and the string specifying the connection to AD is specified in the application's web.config file....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.