473,811 Members | 3,026 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.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.abcdefghij klm.com'. The name of the server
housing AD is now 'DC1.123.abcdef ghijklm.com'. The netbios name had to be
truncated to 15 characters to accommodate a couple NT4 servers and its new
designation is '123.abcdefghij k'.

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.abcdefg hijklm.com/DC=123.abcdefgh ijklm, 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 1794
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.abcdefghij klm.com'. The name of the server
housing AD is now 'DC1.123.abcdef ghijklm.com'. The netbios name had to be
truncated to 15 characters to accommodate a couple NT4 servers and its new
designation is '123.abcdefghij k'.

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.abcdefg hijklm.com/DC=123.abcdefgh ijklm, 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
1651
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 (based on the portal starter kit) and I want to apply role based security to the site. - When the users type in the intranet URL, a windows logon window would pop up and then users login with their NT credentials. Based upon theie level of security...
1
4760
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 I have run into I am not sure how to fix, and really not sure what is causing it. Here's what is going on (test server - Windows 2003 Server): I have a page in a folder (under anonymous authentication in IIS6) that has a link on it that...
10
4072
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 Pop up windows Authentication box so that user will give his userId, Password & domain name for authenticaion. After that I want to take these three info of user and make a search in Active Directory.
1
307
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. 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...
0
9727
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10398
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10133
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9204
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7669
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3017
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.