8 Dec 14:57
PHP - CURL - Microsoft Sharepoint Server 2010 - Authorization
Petar Koretić <petar.koretic <at> gmail.com>
2011-12-08 13:57:54 GMT
2011-12-08 13:57:54 GMT
About my server support that i think is relevant
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHP Version 5.3.3-7+squeeze3CURL : 7.21.0
Features
NTLM Yes
Protocols dict, file, ftp, ftps, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
i'm trying to connect to a SharePoint site which requires authorization that, truthfully, i don't know nothing about anymore, it seems like it's modified (same user and pass for all of us, not local, 'remember me' doesn't work)
anyway, i used libcurl many times and had no problem on various sites, and google and documentation say i should have much of a problem now neither
the problem i'm facing is that curl doesn't post, i don't even get an error, php just echoes page back even if i use same code i used on other sites for authentication
(i can provide code i'm using but i don't think that would do much)
so how do i make successful authorization (or even failed post) based on this real request (this is real data made by browser, user and password aren't of course)
this is successful post with source option rather than parsed
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-
Request URL:
-
Request Method:POST
-
Status Code:302 Found
----------------------------------------------------------------------------------------------------------------------------------
parsed options
---------------------------------------------------------------------------------------------------------------------------------
-
Request URL:
-
Request Method:POST
-
Status Code:200 OK
_______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
RSS Feed