|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
LDAP AuthenticationHi,
I need to do the following. 1. I have an .aspx on an IIS Server that is not in the domain.It performs queries against the domain controller. 2. User enters his login and password and clicks submit 3. I need to authenticate him for his login, password and then redirect to a different url can somebody tell me how to do this in asp or aspx using LDAP Do I need to configure/hardcode the LDAP domain controller IP addresses somewhere? Thanks. Your best bet is probably to use the ActiveDirectoryMembershipProvider in
..NET to accomplish this, as it is designed to do LDAP authentication. On a non-domain machine, you need to either supply a specific DC name, or (ideally) just the DNS domain name of the domain. The web server should then use the DC locator service to pick a DC in the current site to use based on the domain name supplied. However, there may be reasons (firewall, DNS, etc.) why you can't use this approach. I'd try that first though, as it is better for you to take advantage of the built in infrastructure for dynamically locating DCs if at all possible. Joe K. -- Show quoteHide quoteJoe Kaplan-MS MVP Directory Services Programming Co-author of "The .NET Developer's Guide to Directory Services Programming" http://www.directoryprogramming.net -- "satyendra" <satyend***@gmail.com> wrote in message news:1155740150.998131.143040@h48g2000cwc.googlegroups.com... > Hi, > I need to do the following. > 1. I have an .aspx on an IIS Server that is not in the domain.It > performs queries against the domain controller. > 2. User enters his login and password and clicks submit > 3. I need to authenticate him for his login, password and then redirect > > to a different url > > can somebody tell me how to do this in asp or aspx using LDAP > > Do I need to configure/hardcode the LDAP domain controller IP addresses > somewhere? > > Thanks. >
password salting
Running .NET 2.0 App from UNC - Windows 2000 Server vs Windows XP Pro How to SELECT records based upon ASP.NET Roles CAS Policy issue Windows Authentication when Web Server is in DMZ Strong Name Sandboxed AppDomain and GAC Problem with plugins Security Library Classes GetAccess Control for Directory AzMan Administration on Advanced Server 2000 Can I run a service with a user profile |
|||||||||||||||||||||||