After a little time in debug I’ve found that the problem appears to be caused by Active Directory Services being unable to obtain information on a child domain. This prevents any of the users in my domain from accessing my application. I’m not sure just why AD services can’t obtain the information on the other domain but it could be a domain controller or network problem. Unfortunately I work in an environment with multiple domains and only have control over the local domain. Having SF security depend on what’s going on in those other domains is not a long term solution. To get around the issue for the moment I’ve modified Login.vb as listed below to skip any child domains causing problems. Also the domain structure at the County doesn’t go beyond the first child so I left out the recursive step. At a minimum I’d like to see something like this added to the framework. However an even better solution would be to add the capability to configure what domains should be searched.
-Larry
''' <summary>
''' Recursive method used to collect child domains
''' </summary>
''' <param name="ParentDomain"></param>
''' <param name="List"></param>
''' <remarks></remarks>
Private Shared Sub AddChildDomainsToList(ByVal ParentDomain As Domain, ByVal List As List(Of String))
'-- Establish locals
'Dim loChild As Domain
'-- Cycle through the children
'—Added code
For i As Integer = 0 To ParentDomain.Children.Count - 1
Try
List.Add(ParentDomain.Children.Item(i).Name)
Catch ex As Exception
Continue For
End Try
Next
'—Original code
'For Each loChild In ParentDomain.Children
' '-- Add to list
' List.Add(loChild.Name)
' '-- Recursively call child's children
' AddChildDomainsToList(loChild, List)
'Next
End Sub