Re: Webpage which can Authenticate via Active Directory

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yes but I needed it to be able to get information on group membership and
username to be able to insert data into a mysql database and assign
permissions to the user.
I also wanted to keep the resources looking the same with the same web based
login forms.
I believe this was the only way to accomplish this. I may be wrong though.


"bob m" wrote:

you do realize youre reinventing the wheel? integrated windows
authentication in IIS automatically authenticates the user against AD. so
now you can give a group access to your site, and simply add users to the
group when you have to... no need to type ANY username or password



"robinwilson16" <robinwilson16@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:05007B21-7AB8-4C8C-A829-C70B9AA35846@xxxxxxxxxxxxxxxx
Thanks for the help

I have solved the issue now. I did not want the standard login box poping
up
but wanted to use forms authentication to determine Active Directory
information such as group membership.
This then enabled me to customise the various web apps to all authenticate
via AD instead of having to duplicate usernames and passwords in all
databases.
This way when new users join the organisation, it saves having to create
accounts for them in loads of different places

With the help of http://www.eggheadcafe.com/articles/20010126.asp and a
few
other scripts I found I managed to do what I wanted.

Robin

"bob m" wrote:

uhm... why not just set the authentication method in IIS to integrated
windows authentication? then you simply use NTFS permissions on the files
and directories to give access to your AD users. am i missing something
here?



"robinwilson16" <robinwilson16@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:04A459B9-BE28-4875-9D48-0F82C0995C39@xxxxxxxxxxxxxxxx
Hello

We have various web scripts and in each one we have to store all the
users
in a seperate database.

It would simplify things a lot if we could show a webpage where users
enter
their Windows username and password and the form would authenticate via
active directory and either fail if incorrect or set some variable to
allow
users to access the rest of the script.

I was hoping to be able to write this in VB Script as this is what all
the
scripts are written in.

Thanks for any help

Robin






.



Relevant Pages

  • RE: Web Forms Auth fails when rfValidator triggered
    ... © 2002 Microsoft Corporation. ... | Content-Type: text/plain ... | | basically has a username field, ... | | If I enter garbage text in BOTH fields, the authentication ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Adding a virtual FTP folder to IIS
    ... I think we can follow the Form Authentication modal. ... application will use the ASPNET account. ... If we change the username ... Windows identity different from that of the default process identity. ...
    (microsoft.public.dotnet.framework)
  • Re: OWA login problems
    ... But anyway, since just using USERNAME works from the desktop, this indicates ... Maybe one of the authentication ... Outlook Web Access For PDA, ... the Virtual Directory named Exchange and select properties. ...
    (microsoft.public.exchange.connectivity)
  • RE: Web Forms Auth fails when rfValidator triggered
    ... | basically has a username field, ... | If I enter garbage text in BOTH fields, the authentication ... | controls do their job and display the "error text" stating ... | Jeff Ptak ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: RWW authentication
    ... By entering just the username without any ... Much of this RWW info is right inside of there. ... but the Isa firewall ... SSL authentication seems to work just fine however on the actual RWW login ...
    (microsoft.public.windows.server.sbs)