Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2004, 02:58 AM
Registered User
 
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ADSI Authentication across domains

Hi,

I've 2 Systems (D1S, D2S) in 2 different domains.
1) D1: Normal Domain where all the systems (Win2k) of our office installed. D1 network is not with active directory setup.
2) D2: Test Domain where there is one computer with Win2k server with ADS installed. We can create sample users and test the authentication using ADS.

I'm facing a problem regarding this Authentication. Here below the explanation on the same.
1) I'm using code from "http://www.eggheadcafe.com/articles/20010126.asp" page to authentication.
2) I've created virtual directories ('adsitest' in both the systems) and prepared the asp pages in both the systems using the two methods given.
e.g., URLs to test
http://D1S//adsitest/authenticate1.asp
http://D1S//adsitest/authenticate2.asp

http://D2S//adsitest/authenticate1.asp
http://D2S//adsitest/authenticate2.asp

3) I'm executing D1S URLs in any system in D1 and testing the authentication of D1 users. Both ways worked fine.

4) I'm executing D1S URLs in the system in D2 and testing the authentication of D1 users. Both ways worked fine.

3) I'm executing D2S URLs in any system in D1 and testing the authentication of D2 users. NOT WORKING. (BAD PASSWORD, FAILED TO BIND THE OBJECT are the errors I'm receiving.)

Failed to bind to object WinNT://TEST2K3
Error number is -2147024829

Also, the D2S is the single system of D2, and is domain controller hence.

4) I'm executing D2S URLs in the system in D2 and testing the authentication of D2 users. NOT WORKING. (BAD PASSWORD, FAILED TO BIND THE OBJECT are the errors I'm receiving.)

5) Upon debugging, I see the methods :
  objUser.ChangePassword oPassword, oPassword AND
Set oADsObject = oADsNamespace.OpenDSObject(strADsPath, strUserName, strPassword, 0)

are being failed always when it comes to authenticate the users on test active DS machine in D2. I'm giving all correct passwords and user names.

CAN ANYBODY PLEASE SUGGEST WHERE I'm MISSING OR WHAT I'M MISSING? ANY SPECIAL SETTINGs TO BE DONE (At AD level or IIS level)?


ANY OTHER WAYS TO AUTHENTICATE THE USERS?

REGARDS
SRINIVAS






Similar Threads
Thread Thread Starter Forum Replies Last Post
Domains user name mateenmohd Classic ASP Basics 3 June 4th, 2007 06:17 PM
Url Sub domains Razza1973 Classic ASP Professional 0 May 5th, 2006 09:01 AM
Keep session between different domains CenturiMan ASP.NET 2.0 Professional 0 March 21st, 2006 10:19 AM
ADSI authentication issues ianderso Classic ASP Components 2 June 4th, 2003 02:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.