Click here to get back home

Re: OWA: 'Posting a Login' From Outside Script?

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Re: OWA: 'Posting a Login' From Outside Script? adam.waterfield@gmail.com 07-16-2008
Posted by adam.waterfield@gmail.com on July 16, 2008, 4:59 pm
Please log in for more thread options
> Your problem is mainly finding out what Exchange expects.
> I would approach this as follows:
> 1) Get the source of your 'normal' weblogin for owaauth.dll.
> 2) Change this a little, so it posts to YOUR testscript, not
> owaauth.dll. (Change the action in the form)
> 3) your testscript now puts out all it knows about the posting, eg:
> Everything in $_POST and $_GET and $_COOKIE, and $_SERVER.
>
> Simply use:
> echo "POST CONTAINS:<pre>";
> print_r($_POST);
> echo "</pre>";
>
> etc for all abovementioned superglobals.
>
> I do not remember excactly what it is you need, but I found out what to
> use in this way some years ago.
> Just test a little, and I expect you'll find the right posting/curl
> solution.
> Also, it is possible this only works in IE, and not in FF. I think IE
> sends some authorisation information for the station it is running on.
> Not 100% sure either, sorry. ;-)
> So I advise you to test first on IE, and when you suceed, test it on FF
> later.
>
Thanks for your thoughts on this Erwin. I will have ago at what you
suggest and see what happens. I think a lot of this as you say will be
trial and error, it may not be the simplest thing to achieve.

Posted by Jim Carlock on July 17, 2008, 9:28 am
Please log in for more thread options
Adam Waterfield posted:
: What we would like to do is just have the one common login for our
: web application. I can obviously get their username/password in
: login to the site, encrypt and store them in a session - then using
: something like Curl post them to the OWA login script.

You might consider using a "user group" for the common login, place
all the users into a "user group", provide the respective permissions
for that "user group" account to access the proper .dll's, and then
if you'd like an altogether COMMON area where group mail or reports
or such gets located, create that folder and assign the appropriate
permissions (user group) to that folder so that everyone can 'read'
the stuff located there. You can then use the group account on the
"common web" login folder to help with that.

--
Jim Carlock
Natural Cure For Pink-Eye (Conjunctivitis)
http://www.associatedcontent.com/article/381336/saliva_a_natural_cure_for_conjunctivitis.html



Similar ThreadsPosted
Posting a form to another script ? May 23, 2005, 12:13 pm
Script to generate auth images for comment posting? February 11, 2007, 7:50 am
Login script for php August 14, 2006, 12:51 pm
Looking for a login script August 17, 2007, 8:27 am
Using variables in login script: August 11, 2004, 8:54 am
php login script - no mysql February 5, 2006, 2:53 pm
Help with a php register - login script August 24, 2007, 12:31 am
PHP Login Script, Why MD5 Hash? November 11, 2007, 12:12 pm
problems with login script May 19, 2008, 7:36 am
Problem with simple PHP login Script March 23, 2006, 7:24 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap