Search the web
Sign In
New User? Sign Up
ADSIANDDirectoryServices · ADSI and System.DirectoryServices Q&A
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Multiple Active Directory Authentication Issue   Message List  
Reply | Forward Message #4569 of 4630 |
Hi everybody,

I want to authenticate users from multiple active directory domains. It was
working fine with Application Pool Identity "NetWork Servcie" but failed to work
when I changed the Application Pool Identity to "Local System". But I have to do
this change due to some issues in document generation but my authentication to
cross Domains is failed. Is there any solution to this???????????

Please help for this issue. Code for Active Directory User Authentication is
given below.


Dim Result As Boolean
Dim objDirectoryEntry As New DirectoryEntry
objDirectoryEntry.Username = "userName"
objDirectoryEntry.Password = "password"
objDirectoryEntry.AuthenticationType = AuthenticationTypes.Secure
objDirectoryEntry.Path =
"LDAP://greatminds.org/CN=Users,DC=greatminds,DC=org"

Try
Dim objProp As PropertyCollection = objDirectoryEntry.Properties
Dim tempCount As Integer
tempCount = objProp.Count
Result = True
Catch ex As Exception
End Try


Regards,Azeem






________________________________
From: ADSIANDDirectoryServices Moderator
<ADSIANDDirectoryServices-owner@yahoogroups.com>
To: imazeemahmad@...
Sent: Friday, October 24, 2008 5:47:00 PM
Subject: File - guidconverter.zip



File : guidconverter.zip
Description : Guid Converter for creating and converting GUIDs to all the
various formats that LDAP needs (octet, LDAP filter, base64 for LDIF, etc.)

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




[Non-text portions of this message have been removed]




Fri Oct 24, 2008 1:06 pm

imazeemahmad
Offline Offline
Send Email Send Email

Forward
Message #4569 of 4630 |
Expand Messages Author Sort by Date

Hi everybody, I want to authenticate users from multiple active directory domains. It was working fine with Application Pool Identity "NetWork Servcie" but...
Azeem Ahmad
imazeemahmad
Offline Send Email
Oct 25, 2008
7:54 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help