Re: formsauthentication with users in different domains



What if you query for the user in the global catalog (which represents the
whole forest) as a way to find the user and then once you locate them, use
the domain info from that query to get any additional information you can't
get from the GC.

It should also be possible to represent the user's name in a qualified
format such as domain\user so that you can just parse it out in the second
page and know which domain to query from there. Some of that depends on
your forms auth implementation.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
<galbertse@xxxxxxxxxxx> wrote in message
news:1164451710.410158.243820@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm developing a asp.net 2.0 (vb) web site which uses
formsauthentication to active directory. The users who will access the
web site are from different domains. I manage to get the authentication
part working. On my second page I need to do a ldap query. For the
query to work, I need the domain value selected by the login users. Can
the domain value be passed on from the login/formsauthentication page?



.



Relevant Pages

  • Re: SignOn Problem during Team Foundation WebTest Playback
    ... That sounds likely to me (the query string parameters). ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: Querying AD
    ... Querying AD is all new to me so, of course, I didn't have my query right. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDAP attribute masking
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... personnel will be able to query AD for a users employee id in order ... AD it only returns n number of digits. ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDAP query...
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... The query processor on the ... Your query isn't going to work that way, at least not with the ADUC ...
    (microsoft.public.windows.server.active_directory)
  • Re: User account querry
    ... That isn't nearly as effective as writing a query which would tell ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)