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]