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

Connecting to LDAP

Hi Experts,

I am using windows Authenication in my ASP.Net application. I have different
LDAP's configured in my network and my applicaiton uses one of these LDAP
users. How can I specify IIS to use one of these LDAP for user
authentication. Is there any way of instructing the IIS to do so?

Thanking in advance

Regards
Ganesh
Nov 19 '05 #1
5 1505
Or do you want to validate your users against Active Directory?
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #2
Ganesh Ramamurthy,
Are u interested in implementing Security?
U want to use IIS to use LDAP for what?
Pls elaborate!
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #3
Yes. My application uses windows authenication. I get the windows login
dialog box (the grey box) when the user clicks on the login button. However,
I can't specify which LDAP to look for the user. Is there any way in IIS to
mention which Active Directory to search for the user?

Thanx Patrick for your reply.

Regards
Ganesh

----- Original Message -----
From: Patrick Olurotimi Ige
Newsgroups: microsoft.public.dotnet.framework.aspnet
Sent: Monday, December 13, 2004 11:29 AM
Subject: Re: Connecting to LDAP
Or do you want to validate your users against Active Directory?
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
"Ganesh Ramamurthy" <ga****@kottsoftware.com> wrote in message
news:uJ**************@TK2MSFTNGP09.phx.gbl...
Hi Experts,

I am using windows Authenication in my ASP.Net application. I have different LDAP's configured in my network and my applicaiton uses one of these LDAP
users. How can I specify IIS to use one of these LDAP for user
authentication. Is there any way of instructing the IIS to do so?

Thanking in advance

Regards
Ganesh

Nov 19 '05 #4
heres a good article that explains the authentication model of IIS and
asp.net

http://msdn.microsoft.com/library/de...haspdotnet.asp

I just made an app that authenticates users against AD. In my
web.config, I set it to impersonate=true, and windows authentication.
Then in IIS, I set it to integrated windows authentication and basic
authentication. I had to do this because from what I understand,
windows authentication encrypts the password and checks it against the
encrypted password, but when asp passes it to IIS, IIS cannot check the
encrypted password against AD, so you have to use basic so it is sent
in plain text. I just added an SSL cert to the webpage so prying eyes
can't look at the data being transfered. Read that article tho, it
gives alot of information I wasn't aware about.

hope that helps!

DKode

Nov 19 '05 #5
Hi Ganesh..Regarding ur email..

First try reading through:-
http://msdn.microsoft.com/library/de.../en-us/dnbda/h
tml/authaspdotnet.asp

And as Dkode also adviced u can easily implement Windows Auth against
AD.I believe if you would be using basic Auth and integrated Windows
Auth together what you can do is to go IIS on the Directory Security TAB
click on Basic and then Edit and search for the Domain you would like to
Authenticate against..
Let me know how it goes..
Enjoy
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #6

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

Similar topics

5
by: dmcconkey | last post by:
Hi folks, I've been searching for a while and haven't found my specific question anywhere else. If this has already been asked, please accept my appologies and point me to the appropriate...
0
by: DanC | last post by:
How connecting a ActiveX-Object on server with authentication. Situation. ASP-aplication calling a JScript-script. It has to do with permissions because the script run correct on the server. So...
0
by: CjB | last post by:
Good Morning, I am having some issues connecting to LDAP through PHP. I am using the function provided here: http://www.php.net/manual/en/function.ldap-bind.php (By 'edi01 at gmx dot at'). I...
1
by: Angel | last post by:
Hello all - I have a LDAP service running on a NT4 box (not a mbr of my AD domain), I'd like to extract the users/attributes from that LDAP service and populate my AD domain with those users and...
0
by: for_your_spam_only | last post by:
Hi everybody, please take a look at the "screenshot" (DB2 CLI), Server is V7, FP12 running on WinNT, LDAP service is on AIX, IBM Directory Server 4.1 D:\>db2level DB21085I Instance "DB2"...
4
by: m96 | last post by:
hi, i'm trying to make a query to a ldap server (version v2 or v3 doen't matter) with c#. the query works just fine but the problem is that i can't read the custom attributes/fields, since .net...
0
by: Sharon | last post by:
Hi to all. I need to use directory services on asp.net project. I tried to connect from the asp page using ldap://serverIp, and also providing user name and password of the administrator, but it...
0
by: Luis Esteban Valencia | last post by:
I've never worked with LDAP before, and I'm having issues connecting to our AD for user authentication. I am trying to use the code found at: ...
0
by: rbukkara | last post by:
Hi, I have got the following error while trying to add a user in the LDAP Directory. javax.naming.NameNotFoundException: ; remaining name 'uid=vassila,ou=People,dc=cs,dc=uno,dc=edu' I have...
0
by: Sells, Fred | last post by:
I'm running python 2.5 (or 2.4) in an XP environment. I downloaded and installed the .dll's from OpenLDAP-2.4.8+OpenSSL-0.9.8g-Win32.zip and copied the .dll's in c:/windows/system32 as instructed...
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.