How do I change current user/password/domain?

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default How do I change current user/password/domain?

    I have an ASP.NET/C# web site that the user has logged into using my own
    logon page. How do I set the current web request to use the credentials the
    user has just provided?

    I want this so that I can access Exchange 2003 without the user being
    redirected to the OWA logon page.
    --
    Thanks,
    TheBurgerMan
    at
    gmail.com
    --


    TheBurgerMan Guest

  2. Similar Questions and Discussions

    1. change administrator user and password
      I'd like to change user name and password for the administrator user on a lot of windows 2003 server from remote automatically. Any idea? Is there...
    2. User must change password at next logon box not available
      My forst post seems to have disappeared so I am posting again. Until 2 days ago our help desk was able to reset passwords and select the "user...
    3. Change Local User to a Domain User??
      Is there any way to CHANGE a local user to a domain(W2K3) user? A number of things instantiate like Outlook Express's NGs so you can't just copy...
    4. How to change the user name and password in CUPS?
      Hi, I am a newbie in CUPS. When I first install CUPS with .tar.bz2 file, I choose the user name and password same as the root. I have a...
    5. How to change a user password via JDBC?
      "Larry Menard" <lmenard@ca.ibm.com> wrote in message news:<bdc9v6$efk$1@hanover.torolab.ibm.com>... Thanks! This seems to be a viable way. Not...
  3. #2

    Default Re: How do I change current user/password/domain?

    Some additional information (Thanks Chao). There are 2 sections, one I sent
    to Chao and one I sent to Microsoft:

    *** Sent to Chao:
    I have built a portal where a user puts in their username and password, I
    authnticate them against these values stored in a database. If they match,
    then they are OK to use my portal.

    One part of the portal brings up a group calendar in Exchange 2003 (OWA).
    Since the current browser session is not authenticated against Active
    Directory, Exchange redirects to it's OWA logon page.

    I don't want the user to see this logon, I want my applciation to do it. As
    far as I can figure out, there are a couple of cookies that have to be
    placed in current session after you authenticate, but I cannot figure out
    how to get them and how to attach them to current session.


    I have tried FormAuthentication, but there are 2 things I don't understand:

    1) Where is the "credential data store" and how do I make it point at the
    Active Directory;

    2) How do I attach the credentials to the current browser after I get a
    successful Authentication?


    *** Sent to Microsoft:
    Problem Description: Environment (all on the same box):
    - Windows 2003 Standard
    - Exchange 2003
    - Active Directory
    - ASP.NET
    - Visual Studio 2003 using C#

    I have built an ASP.NET portal. My portal does it's own authentication by
    having the user type in their username and password which I compare to my
    database. If they match, then I let them continue.

    I have Exchange 2003 in the backend. I want to bring up a group calendar
    and/or an individual calendar in an IFRAME on one of my pages. I want my
    application to authenticate the user against Exchange/AD so that the OWA
    login page does not come up (single sign-on).

    Exchange is configured for Forms based authentication and works well. I can
    bring up the OWA login page and authenticate just fine and use OWA.

    When I bring up OWA first, authenticate, then (in the same browser) surf to
    my portal, it works great. I get no OWA login page in the IFRAME
    (presumably, Exhange has already set some cookies in the current Browser and
    the IFRAME uses them).

    When I bring up my portal first, authenticate, then the IFRAME shows the OWA
    Login page!

    I have been able to set a WebRequest with the proper credentials and get a
    Calendar from Exchange, but I have no way of displaying it properly so the
    user can use it. IFRAME's seem like the best way to provide funtionality and
    usability to the user, but I have no way of attaching a CredentialCache to
    it (like WebRequest.Credentials);

    How do I take the username and password (I provide the domain name) and
    authenticate against Exchange/AD and attach these credentials in the current
    browser (if the current browser has the correct credentials, then the IFRAME
    will also)?

    What methods would I use and how would I use them?
    --
    Thanks,
    TheBurgerMan
    at
    gmail.com
    --
    "TheBurgerMan" <TheBurgerMan@gmail.com> wrote in message
    news:OuRtOmbRFHA.3664@TK2MSFTNGP15.phx.gbl...
    >I have an ASP.NET/C# web site that the user has logged into using my own
    > logon page. How do I set the current web request to use the credentials
    > the
    > user has just provided?
    >
    > I want this so that I can access Exchange 2003 without the user being
    > redirected to the OWA logon page.
    > --
    > Thanks,
    > TheBurgerMan
    > at
    > gmail.com
    > --
    >
    >

    TheBurgerMan Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139