Advanced Authentication Problem

Results 1 to 2 of 2

Thread: Advanced Authentication Problem

  1. #1
    Join Date
    Dec 1969

    Default Advanced Authentication Problem

    OK, here goes.<BR><BR>I&#039;m using the following to authenticate a user against their network account;<BR>Function IsAuthenticated(strDomain, strUser, Password)<BR><BR>On Error Resume Next<BR><BR>Set authObject = authNamespace.OpenDSObject("WinNT://" & strDomain, strDomain & "\" & strUser, strPassword, ADS_READONLY_SERVER)<BR><BR>If Err.Number &#060;&#062; 0 Then<BR>IsAuthenticated = False<BR>Else<BR>IsAuthenticated = True<BR>End If<BR><BR>End Function<BR><BR>This works fine for any users on the same domain that the server is on (domain 1). But if a user tries to log in that&#039;s only a member of domain 2, it doesn&#039;t work. Is there any way I can authenticate a user from another domain?

  2. #2
    Join Date
    Dec 1969

    Default Make sure there is a TRUST setup between

    Make sure there is a TRUST setup between the two domains. This is a good place to start.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts