navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Authentication with AD

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> Authentication with AD
Page: [1]
 
mattps

 

Posts: 45
Joined: 6/12/2004
Status: offline

 
Authentication with AD - 1/11/2005 7:09:25   
I am build a website that needs to be able to authenticate with active directory. When a page is to be submitted a user is required to enter their network username and password. Can anyone help me with the interaction part with AD.

Thanks in advance.
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Authentication with AD - 1/11/2005 7:20:49   
If you do a google search for the term

"authentication with AD"

You'll get loads of different options back, one of which should hopefully match your set up.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to mattps)
mattps

 

Posts: 45
Joined: 6/12/2004
Status: offline

 
RE: Authentication with AD - 1/12/2005 7:53:37   
Thanks,

I have already chceked the web and fould noth of use. I have managed to search AD for the user but am unable to find any reference on how to check the users password with a text box the user completes on the web page.

Can anyone help??

(in reply to jaybee)
Giomanach

 

Posts: 6129
Joined: 11/19/2003
From: England
Status: offline

 
RE: Authentication with AD - 1/12/2005 9:41:54   
Matt

I'm not familiar with the term AD, could you elaborate on that please?

I may be able to help you if you can explain what AD is

Thanks
Dan

_____________________________




(in reply to mattps)
mattps

 

Posts: 45
Joined: 6/12/2004
Status: offline

 
RE: Authentication with AD - 1/12/2005 9:54:37   
Active Directory. I am assuming that I need to access this using LDAP (Lightweight Directory Access Protocol).

(in reply to Giomanach)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Authentication with AD - 1/12/2005 14:17:44   
To present the user with a Username/Password/Domain login box, you need to turn on Windows Integration and turn Off anonymous access in the Directory Security section of the IIS Management software.

When a user browses to any page in that directory, if they're not logged in as an authorized user it will present the Login box.

To programmatically grab the AD name they're logged in under, use an ASP script like this:

<%
DIM UserName
'Grab login name
MyVar=request.servervariables("logon_user")
MyVar=MyVar & ""
MyPos = InstrRev(MyVar, "/", -1, 1)
UserName=Mid(MyVar,MyPos+1,Len(MyVar))
UserName=Right(UserName,(len(UserName)-instr(UserName,"\")))
%>

Now you can use the user's logon name anywhere like this:

<%=UserName%>

That help any?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to mattps)
mattps

 

Posts: 45
Joined: 6/12/2004
Status: offline

 
RE: Authentication with AD - 1/14/2005 8:05:04   
Thanks rdouglass but this doesn't really help. What I am trying to acheive is to replace a paper based form system with a web page that some completes and then send the electronic form to a manager who has to authorise the form by typing in their active directory username and password. When this is verified it gets posted to the Tech team for completion.

(in reply to rdouglass)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Authentication with AD - 1/14/2005 8:21:48   
quote:

To present the user with a Username/Password/Domain login box, you need to turn on Windows Integration and turn Off anonymous access in the Directory Security section of the IIS Management software.

When a user browses to any page in that directory, if they're not logged in as an authorized user it will present the Login box.


If this is done to either a directory or page, you will get a logon prompt which will compare to the AD (if the server is in the proper domain.) It won't be on the web page but will be an AD logon nevertheless.

Either that or I'm misunderstanding what you want to do. I interpret that you want a logon prompt to submit this form, yes?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to mattps)
Page:   [1]

All Forums >> Web Development >> Server Issues >> Authentication with AD
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts