Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > ASP CDO
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 21st, 2004, 07:30 AM
dkb dkb is offline
Authorized User
 
Join Date: Oct 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default Login to NT domain for Access to Calendars

Hi there,

I have a question regarding accessing Outlook Calendars (not public calendars) from ASP.

Users do not login to NT by default, so the servervariable 'LOGON_USER' is empty.

I am happy with the programming side (CDO) , but want to allow access to some calendars via a generic login (a login that allows access to Meeting room mailboxes for example) , I do not want the user to have to login to exchange (via the prompt) when viewing the calendar.

Is there anyway to pass NT login details (those that the user provides in the www.Authenticate prompt) using ASP?

Thanks


 
Old September 21st, 2004, 08:14 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Does this help?
http://support.microsoft.com/default.aspx?kbid=248187 (How to impersonate a user from Active Server Pages)
 
Old September 22nd, 2004, 10:31 AM
dkb dkb is offline
Authorized User
 
Join Date: Oct 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for this pgtips, It looked ideal! I have tried it but it does not work.

I wonder if I am missing something, or if there is simply a problem specific to how my network is set up.

should a user be able to login to exchange from the asp page anyway?

I notice that the logon method does have an optional parameter for profile logon and password:-

objSession.Logon( [profileName] [, profilePassword] [, showDialog]
       [, newSession] [, parentWindow] [, NoMail] [, ProfileInfo] )

If you could explain this to me, i would appreciate it.


Thanks

 
Old October 6th, 2004, 06:47 AM
dkb dkb is offline
Authorized User
 
Join Date: Oct 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have found the solution to my problem.

If you use serverXMLHTTP to 'fake' the authentication header for a chosen NT login you can gain access to the page programmactically.






Similar Threads
Thread Thread Starter Forum Replies Last Post
access calendars multiple dates RobertCoats Access 0 June 23rd, 2005 02:14 PM
Passing NT Login Info negrette Classic ASP Professional 1 October 25th, 2004 02:37 PM
login failed for user nt authority\anonymous login rj1406 Classic ASP Databases 1 October 24th, 2004 09:15 AM
LookupAccountSid returns NT Pseudo Domain Yehuda Pro VB 6 0 January 22nd, 2004 09:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.