From wichert at wiggy.net Tue May 1 01:45:16 2007 From: wichert at wiggy.net (Wichert Akkerman) Date: Tue, 1 May 2007 10:45:16 +0200 Subject: nonce handling in python-openid 2 In-Reply-To: <1177978496.7330.35.camel@localhost> References: <20070430132547.GQ9457@wiggy.net> <1177978496.7330.35.camel@localhost> Message-ID: <20070501084516.GZ9457@wiggy.net> Previously Kevin Turner wrote: > On Mon, 2007-04-30 at 15:25 +0200, Wichert Akkerman wrote: > > A nice quality of the python openid 1.x store was that no bookkeeping > > was needed. [...] > > Would it be possible to change the implementation so explicit cleanup is > > not necessary? > > Unfortunately the bookkeeping is necessary for the type of nonce > required by the OpenID 2.0 spec. And I haven't yet figured out a way > for that cleanup to be anything but explicit. > > There are only a few points where the library would have an opportunity > to run code, and they're all in the middle of an OpenID interaction. It > seems undesirable to have it run with every interaction, and if it just > runs occasionally (i.e. once every two weeks, or ten thousand > interactions, or whatever), that operation would stall the interaction > until it completes. > > So, I agree that it's a good idea to have a cleanup method as part of > the standard Store interface, but I think when and how it's invoked is > going to be up to application policy. For associations the interface is quite clear: there is an explicit expiration time and the implementation is encouraged to remove expired associations when you retrieve one. As someone implementing an OpenID client without having the time to read the spec I would like to have some hints as to where I can cleanup nonces and when I can consider a nonce old enough to be removed. I was wondering where getExpired is used; does the library use that to attempt assocation cleanup itself somewhere? If anyone is interested: the changes I had to make to switch to the openid 2.0 can be found at http://dev.plone.org/plone/changeset/14599 and will be part of the Plone 3.0-beta2 release this week. Wichert. -- Wichert Akkerman It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. From paul at virtual-techno.com Tue May 1 03:06:48 2007 From: paul at virtual-techno.com (Paul Tanner) Date: Tue, 01 May 2007 11:06:48 +0100 Subject: PHP consumer using $_POST instead of $_GET In-Reply-To: References: Message-ID: The protocol uses GETs so that it can pass parameters with redirects. However, the RP/consumer implementation can do whatever it wants "internally". The JanRain PHP consumer library (excellent - thanks guys) uses a proxy script to convert a request from POST to GET. I don't see why the response could not be proxied in a similar way if your application requires it. Nevertheless I think it would have to remain asynch as you do not know how long the request/ response cycle will be. At 19:53 30/04/2007, George wrote: >I am attempted to write a library for CodeIgniter (CI) that wraps >the JanRain code. One of the rules CI imposes is that there should >be no $_GET[]. Is there a way I can ask the OpenId Server to reply >using posts rather than gets? Paul Tanner - Virtual Technologies - http://www.virtual-techno.com Tel: +44 1494 581979 Mob: +44 7973 223239 mailto:paul at virtual-techno.com From kevin at janrain.com Tue May 1 14:57:04 2007 From: kevin at janrain.com (Kevin Turner) Date: Tue, 01 May 2007 14:57:04 -0700 Subject: nonce handling in python-openid 2 In-Reply-To: <20070501084516.GZ9457@wiggy.net> References: <20070430132547.GQ9457@wiggy.net> <1177978496.7330.35.camel@localhost> <20070501084516.GZ9457@wiggy.net> Message-ID: <1178056624.7330.64.camel@localhost> On Tue, 2007-05-01 at 10:45 +0200, Wichert Akkerman wrote: > As someone implementing an OpenID > client without having the time to read the spec I would like to have > some hints as to where I can cleanup nonces and when I can consider a > nonce old enough to be removed. You have to keep a nonce just long enough to be sure that you won't accept it as valid again. The timestamp on the nonce provides a convenient way to limit this. and -- oops, there are still some places in our store implementations that haven't been updated to check timestamps. I'll go fix that. -- but the way it *should* work is that it's safe to drop a nonce from the store as soon as the timestamp is too stale to accept. How long that is is currently a matter of policy rather than specification; in our code it defaults to openid.store.nonce.SKEW. Nonces are doubtless more important to clean up than associations, as they'll accumulate much more quickly than associations will. > I was wondering where getExpired is used; does the library use that to > attempt assocation cleanup itself somewhere? Hmm, I can't find a usage of it in any current code. It may be cruft at this point. Thanks, - Kevin From wichert at wiggy.net Tue May 1 15:08:05 2007 From: wichert at wiggy.net (Wichert Akkerman) Date: Wed, 2 May 2007 00:08:05 +0200 Subject: nonce handling in python-openid 2 In-Reply-To: <1178056624.7330.64.camel@localhost> References: <20070430132547.GQ9457@wiggy.net> <1177978496.7330.35.camel@localhost> <20070501084516.GZ9457@wiggy.net> <1178056624.7330.64.camel@localhost> Message-ID: <20070501220805.GD2481@wiggy.net> Previously Kevin Turner wrote: > On Tue, 2007-05-01 at 10:45 +0200, Wichert Akkerman wrote: > > As someone implementing an OpenID > > client without having the time to read the spec I would like to have > > some hints as to where I can cleanup nonces and when I can consider a > > nonce old enough to be removed. > > You have to keep a nonce just long enough to be sure that you won't > accept it as valid again. The timestamp on the nonce provides a > convenient way to limit this. and -- > > oops, there are still some places in our store implementations that > haven't been updated to check timestamps. I'll go fix that. > > -- but the way it *should* work is that it's safe to drop a nonce from > the store as soon as the timestamp is too stale to accept. How long > that is is currently a matter of policy rather than specification; in > our code it defaults to openid.store.nonce.SKEW. That is all internals. As implementor all I want to know is 'when is a nonce too old for it to be useful'. From your descriptions I can check the nonce timestamp against time.time()-openid.store.nonce.SKEW and if it is older than that I can remove it. But if openid.store.nonce.SKEW is just a default and other values can be user perhaps it makes sense to create a seperate routing to check if a nonce is valid and expose that through some API? Or have a way to get the cutoff timestamp perhaps so we can do a more efficient expiration. > Hmm, I can't find a usage of it in any current code. It may be cruft at > this point. There is nothing better than removing code where possible :) Wichert. -- Wichert Akkerman It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. From damnian at gmail.com Tue May 1 15:12:16 2007 From: damnian at gmail.com (Dmitry Shechtman) Date: Wed, 2 May 2007 01:12:16 +0300 Subject: Split? In-Reply-To: <20070501220805.GD2481@wiggy.net> References: <20070430132547.GQ9457@wiggy.net><1177978496.7330.35.camel@localhost><20070501084516.GZ9457@wiggy.net><1178056624.7330.64.camel@localhost> <20070501220805.GD2481@wiggy.net> Message-ID: <002801c78c3d$c8773de0$a0d817ac@a9a181c8860745f> How about splitting this list to: * General * Java * .NET * PHP * Python * Server * ... Regards, Dmitry =damnian From cygnus at janrain.com Tue May 1 15:44:19 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Tue, 1 May 2007 15:44:19 -0700 Subject: Split? In-Reply-To: <002801c78c3d$c8773de0$a0d817ac@a9a181c8860745f> References: <20070501220805.GD2481@wiggy.net> <002801c78c3d$c8773de0$a0d817ac@a9a181c8860745f> Message-ID: <20070501224419.GJ19726@janrain.com> # How about splitting this list to: I'm -2 on More Mailing Lists, if that's what you're suggesting. -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From norman at rasmussen.co.za Wed May 2 01:08:53 2007 From: norman at rasmussen.co.za (Norman Rasmussen) Date: Wed, 2 May 2007 10:08:53 +0200 Subject: Split? In-Reply-To: <20070501224419.GJ19726@janrain.com> References: <20070501220805.GD2481@wiggy.net> <002801c78c3d$c8773de0$a0d817ac@a9a181c8860745f> <20070501224419.GJ19726@janrain.com> Message-ID: <5b698f5a0705020108l45d424dcm11430cdd8a3e14c@mail.gmail.com> On 5/2/07, Jonathan Daugherty wrote: > > # How about splitting this list to: > > I'm -2 on More Mailing Lists, if that's what you're suggesting. ditto, we already have too many lists. (jyte says so too: http://jyte.com/cl/there-are-too-many-openid-mailing-lists) Mailman supports "topic categories", so why don't we look into using those?* * -- - Norman Rasmussen - Email: norman at rasmussen.co.za - Home page: http://norman.rasmussen.co.za/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070502/b92ce50a/attachment.htm From damnian at gmail.com Wed May 2 01:21:30 2007 From: damnian at gmail.com (Dmitry Shechtman) Date: Wed, 2 May 2007 11:21:30 +0300 Subject: Split? In-Reply-To: <5b698f5a0705020108l45d424dcm11430cdd8a3e14c@mail.gmail.com> References: <20070501220805.GD2481@wiggy.net><002801c78c3d$c8773de0$a0d817ac@a9a181c8860745f><20070501224419.GJ19726@janrain.com> <5b698f5a0705020108l45d424dcm11430cdd8a3e14c@mail.gmail.com> Message-ID: <001501c78c92$e4731690$a0d817ac@a9a181c8860745f> The thing is I use the PHP library. Why should I continue getting Python stuff? Or am I the only non-JanRain dev subscribed to this list? Regards, Dmitry =damnian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070502/fa06a5c3/attachment.html From wichert at wiggy.net Wed May 2 01:24:01 2007 From: wichert at wiggy.net (Wichert Akkerman) Date: Wed, 2 May 2007 10:24:01 +0200 Subject: Split? In-Reply-To: <001501c78c92$e4731690$a0d817ac@a9a181c8860745f> References: <5b698f5a0705020108l45d424dcm11430cdd8a3e14c@mail.gmail.com> <001501c78c92$e4731690$a0d817ac@a9a181c8860745f> Message-ID: <20070502082401.GH2481@wiggy.net> Previously Dmitry Shechtman wrote: > The thing is I use the PHP library. Why should I continue getting Python > stuff? > > Or am I the only non-JanRain dev subscribed to this list? No. I'm not for example. But traffic is very light and it is interesting to see what is happening for other languages & environments. Wichert. -- Wichert Akkerman It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. From kevin at radagast.biz Wed May 2 01:34:14 2007 From: kevin at radagast.biz (Kevin Jardine) Date: Wed, 02 May 2007 10:34:14 +0200 Subject: Split? In-Reply-To: <20070502082401.GH2481@wiggy.net> References: <5b698f5a0705020108l45d424dcm11430cdd8a3e14c@mail.gmail.com> <001501c78c92$e4731690$a0d817ac@a9a181c8860745f> <20070502082401.GH2481@wiggy.net> Message-ID: <46384D06.1000706@radagast.biz> I agree. I also use the PHP library but am very interested to hear how it compares to other libraries out there (Python, Ruby, Boo, C#, etc.) This list is low traffic enough as it is, I think. We don't need more lists. Kevin Wichert Akkerman wrote: > Previously Dmitry Shechtman wrote: >> The thing is I use the PHP library. Why should I continue getting Python >> stuff? >> >> Or am I the only non-JanRain dev subscribed to this list? > > No. I'm not for example. But traffic is very light and it is interesting > to see what is happening for other languages & environments. > > Wichert. > -- Kevin Jardine Radagast Solutions Internet campaign advice and magic http://radagast.biz YIM: kevinjardine Skype: kevinjardine Eml: kevin at radagast.biz Tel: +31 (0)6 25581608 From dottedmag at dottedmag.net Wed May 2 01:40:27 2007 From: dottedmag at dottedmag.net (Mikhail Gusarov) Date: Wed, 02 May 2007 15:40:27 +0700 Subject: Split? In-Reply-To: <001501c78c92$e4731690$a0d817ac@a9a181c8860745f> (Dmitry Shechtman's message of "Wed\, 2 May 2007 11\:21\:30 +0300") References: <20070501220805.GD2481@wiggy.net> <002801c78c3d$c8773de0$a0d817ac@a9a181c8860745f> <20070501224419.GJ19726@janrain.com> <5b698f5a0705020108l45d424dcm11430cdd8a3e14c@mail.gmail.com> <001501c78c92$e4731690$a0d817ac@a9a181c8860745f> Message-ID: <87r6pzty84.fsf@vertex.dottedmag.net> Twas brillig at 11:21:30 02.05.2007 UTC+03 when Dmitry Shechtman did gyre and gimble: DS> The thing is I use the PHP library. Why should I continue getting Python DS> stuff? Then add the filter to your mail client which filters out every article which does not mention PHP from this mailing list. -- JID: dottedmag at jabber.dottedmag.net From damnian at gmail.com Wed May 2 01:53:30 2007 From: damnian at gmail.com (Dmitry Shechtman) Date: Wed, 2 May 2007 11:53:30 +0300 Subject: Split? In-Reply-To: <87r6pzty84.fsf@vertex.dottedmag.net> References: <20070501220805.GD2481@wiggy.net><002801c78c3d$c8773de0$a0d817ac@a9a181c8860745f><20070501224419.GJ19726@janrain.com><5b698f5a0705020108l45d424dcm11430cdd8a3e14c@mail.gmail.com><001501c78c92$e4731690$a0d817ac@a9a181c8860745f> <87r6pzty84.fsf@vertex.dottedmag.net> Message-ID: <001c01c78c97$5d4016a0$a0d817ac@a9a181c8860745f> Mikhail, > Then add the filter to your mail client which filters out every article > which does not mention PHP from this mailing list. One could tell an engineer :) I believe this should work for most cases. Now, how about? > how to get user information from openid server I know that email (and the reply) were useless. But could you guarantee all future emails not mentioning PHP in the subject line are irrelevant for me? Regards, Dmitry =damnian From adam.williams at awdigital.com Wed May 2 02:48:35 2007 From: adam.williams at awdigital.com (Adam Williams | AW Digital) Date: Wed, 2 May 2007 10:48:35 +0100 Subject: PHP Open ID Server Message-ID: <9d4fd7440705020248r33e5f3a8v34843b74f6550b88@mail.gmail.com> Hi, I've been trying to install the PHP Open ID Server from http://www.openidenabled.com/openid/php-standalone-openid-server/ and am nearly there with it however i'm experiencing a particularly strange issue with it which im hoping one of you guys can help me out with. Have a look at http://openid.awdigital.com in firefox (not IE). You will see that all of the references to $server_url are set as http://openid.awdigital.com\/... with the random backslash i.e. http://openid.awdigital.com\/?action=account. This stops all of the functions from working. If you load the page in IE, instead of \/ you get // which still doesnt work correctly. I think it might be to do with how $server_url is set but i cant find in any of the files a line that is $server_url = Has anyone experienced this problem before in this application, if so can you help me out? Many thanks Adam Williams adam.williams at awdigital.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070502/a56a9c59/attachment-0001.htm From g_bloggs at hotmail.com Wed May 2 04:30:41 2007 From: g_bloggs at hotmail.com (George Bloggs) Date: Wed, 2 May 2007 11:30:41 +0000 Subject: PHP consumer using $_POST instead of $_GET Message-ID: Paul, thanks for the response. I'm not clear still on they way forward and would be grateful if somebody has coded a POST request/response in PHP using the JanRain library could send me an example. If I have interpreted the documentation correctly, if I post a request to the ID server I will get a response in a post? I understand that a connection can not be held open but I would like the server to call the return URL using HTTP POST rather than GET. Am I right in my interpretation that if I post a request to the ID Server, the ID server will call the return URL using HTTP POST? I see that the consumer may have to change a little, but note that the JanRain PHP implementation claims to use cUrl when possible. Using cURL in the try_auth.php to generate a HTTP Post request to the server would achieve this. Has anybody done this? Am I on the right track? I note that cURL is used in Auth_Yadis_ParanoidHTTPFetcher but have struggled to find any example implementation of it use and dont know if it fits my needs. Again, any enlightenment would be most welcome. It would be possible to proxy the GET over to a POST but wonder if this is the best approach given the visibility of the GET on the browser address line. I would prefer to use POST in both contacting the server and its response, if that is possible. >> The protocol uses GETs so that it can pass parameters with >> redirects. However, the RP/consumer implementation can do whatever >> it wants "internally". The JanRain PHP consumer library (excellent - >> thanks guys) uses a proxy script to convert a request from POST to >> GET. I don't see why the response could not be proxied in a similar >> way if your application requires it. Nevertheless I think it would >> have to remain asynch as you do not know how long the request/ >> response cycle will be. _________________________________________________________________ Express yourself: design your homepage the way you want it with Live.com. http://www.live.com/getstarted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070502/3f3088c5/attachment.html From norman at rasmussen.co.za Wed May 2 06:03:03 2007 From: norman at rasmussen.co.za (Norman Rasmussen) Date: Wed, 2 May 2007 15:03:03 +0200 Subject: PHP Open ID Server In-Reply-To: <9d4fd7440705020248r33e5f3a8v34843b74f6550b88@mail.gmail.com> References: <9d4fd7440705020248r33e5f3a8v34843b74f6550b88@mail.gmail.com> Message-ID: <5b698f5a0705020603y10468a6fycf4113f7dad142af@mail.gmail.com> On 5/2/07, Adam Williams | AW Digital wrote: > > Have a look at http://openid.awdigital.com in firefox (not IE). You will > see that all of the references to $server_url are set as > http://openid.awdigital.com\/... with the random backslash i.e. > http://openid.awdigital.com\/?action=account. This stops all of the > functions from working. If you load the page in IE, instead of \/ you get // > which still doesnt work correctly. > > I think it might be to do with how $server_url is set but i cant find in > any of the files a line that is $server_url = > > Has anyone experienced this problem before in this application, if so can > you help me out? It might be because it's apache on windows. has anyone else tried this? The server's URL is detected in common.php in the getServerURL or getRootURL function. My guess is that you'll find that $_SERVER['SCRIPT_NAME'] ends with a '\'. It should be fairly easy to fix it at that point. -- - Norman Rasmussen - Email: norman at rasmussen.co.za - Home page: http://norman.rasmussen.co.za/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070502/46d1f376/attachment.htm From adam.williams at awdigital.com Wed May 2 08:19:48 2007 From: adam.williams at awdigital.com (Adam Williams | AW Digital) Date: Wed, 2 May 2007 16:19:48 +0100 Subject: PHP Open ID Server In-Reply-To: <5b698f5a0705020603y10468a6fycf4113f7dad142af@mail.gmail.com> References: <9d4fd7440705020248r33e5f3a8v34843b74f6550b88@mail.gmail.com> <5b698f5a0705020603y10468a6fycf4113f7dad142af@mail.gmail.com> Message-ID: <9d4fd7440705020819v4730e808s41a35a79260f65ee@mail.gmail.com> Thanks Norman, you were right. I'm not sure whether it is a Windows thing which causes the "\" however I have managed to fix it. All I did to get around it was add a line directly above return "http$s://$host$p$path" in the getServerURL() function; which was simply $path = "/" - which forces a forward slash even if Windows or whatever wants to go the other way. I've done a few quick tests and this appears to have solved it. Thanks for the pointer to common.php! - Adam Williams On 02/05/07, Norman Rasmussen wrote: > > On 5/2/07, Adam Williams | AW Digital wrote: > > > > Have a look at http://openid.awdigital.com in firefox (not IE). You will > > see that all of the references to $server_url are set as > > http://openid.awdigital.com\/... with the random backslash i.e. > > http://openid.awdigital.com\/?action=account. This stops all of the > > functions from working. If you load the page in IE, instead of \/ you get // > > which still doesnt work correctly. > > > > I think it might be to do with how $server_url is set but i cant find in > > any of the files a line that is $server_url = > > > > Has anyone experienced this problem before in this application, if so > > can you help me out? > > > It might be because it's apache on windows. has anyone else tried this? > > The server's URL is detected in common.php in the getServerURL or > getRootURL function. My guess is that you'll find that > $_SERVER['SCRIPT_NAME'] ends with a '\'. It should be fairly easy to fix it > at that point. > > -- > - Norman Rasmussen > - Email: norman at rasmussen.co.za > - Home page: http://norman.rasmussen.co.za/ > _______________________________________________ > Dev mailing list > Dev at lists.openidenabled.com > http://lists.openidenabled.com/mailman/listinfo/dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070502/998eb795/attachment.html From cygnus at janrain.com Wed May 2 09:56:32 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Wed, 2 May 2007 09:56:32 -0700 Subject: Split? In-Reply-To: <001501c78c92$e4731690$a0d817ac@a9a181c8860745f> References: <5b698f5a0705020108l45d424dcm11430cdd8a3e14c@mail.gmail.com> <001501c78c92$e4731690$a0d817ac@a9a181c8860745f> Message-ID: <20070502165632.GL19726@janrain.com> # The thing is I use the PHP library. Why should I continue getting # Python stuff? Because the PHP and Ruby libraries are ports of the Python library, it's often the case that discussions about the Python implementation will apply to the other libraries as well. In those cases, I think it'd be useful to read those threads. # Or am I the only non-JanRain dev subscribed to this list? There are currently 154 subscribers on this list. So, no. :) -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From cygnus at janrain.com Wed May 2 11:53:01 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Wed, 2 May 2007 11:53:01 -0700 Subject: PHP consumer using $_POST instead of $_GET In-Reply-To: References: Message-ID: <20070502185301.GE30499@janrain.com> # If I have interpreted the documentation correctly, if I post a # request to the ID server I will get a response in a post? What documentation are you referring to? # I understand that a connection can not be held open but I would like # the server to call the return URL using HTTP POST rather than # GET. Am I right in my interpretation that if I post a request to the # ID Server, the ID server will call the return URL using HTTP POST? The current PHP and Python libraries do not behave that way, no. The example consumer sends a POST to the server if and only if OpenID 2 is in use, although the example servers do not POST to the relying party when responding to OpenID 2 requests. That is something we should do before the stable library releases. -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From kevin at janrain.com Wed May 2 12:11:50 2007 From: kevin at janrain.com (Kevin Turner) Date: Wed, 02 May 2007 12:11:50 -0700 Subject: Split? In-Reply-To: <20070502165632.GL19726@janrain.com> References: <5b698f5a0705020108l45d424dcm11430cdd8a3e14c@mail.gmail.com> <001501c78c92$e4731690$a0d817ac@a9a181c8860745f> <20070502165632.GL19726@janrain.com> Message-ID: <1178133110.7330.115.camel@localhost> On Wed, 2007-05-02 at 09:56 -0700, Jonathan Daugherty wrote: > # The thing is I use the PHP library. Why should I continue getting > # Python stuff? > > Because the PHP and Ruby libraries are ports of the Python library, > it's often the case that discussions about the Python implementation > will apply to the other libraries as well. In those cases, I think > it'd be useful to read those threads. [Short version: "me too."] That's the way I think about this as well. As long as we're talking about code that has a common API and more-or-less synchronized ports of the same implementation of that API, maintained by the same group of people, I think using one list makes a lot of sense, so long as the traffic remains reasonable. If the APIs or teams of maintainers diverge, I'd be happy to re-visit this issue. From g_bloggs at hotmail.com Wed May 2 12:17:42 2007 From: g_bloggs at hotmail.com (George Bloggs) Date: Wed, 2 May 2007 19:17:42 +0000 Subject: PHP consumer using $_POST instead of $_GET Message-ID: Jonathan>> What documentation are you referring to?Good point :-). I think I read it somewhere and interpreted what I read. Sorry I didnt mean to suggest that the JanRain openID solution was documented anywhere :-P>> ...The example consumer sends a POST to the server if and only if OpenID 2 is in use...How do I tell the consumer to use OpenID2? Is this not dependant on the remote ID server and therefore not in our control? Meaning that potential users will either have to register with an OpenID2 server provider or not register at all? I like OpenID, or the idea, but I am starting to wonder if there is a consistent and viable solution here at present. >>... although the example servers do not POST to the relying party >> when responding to OpenID 2 requests. That is something we should do >> before the stable library releases. I am no expert on OpenID, feel priveleged that you take your time to respond -- Thanks, but feel there must be a way to specify how the server should respond, be it either a GET or a POST. This would be the most flexible way and allow developers a choice of receiving responses how they wish. I do believe I had read somewhere that the sever repolied ising the same HTTP mechanism it was called with, i.e. GET consumers had a get response and POST consumers got a POST response. I thought that was a neat solution. From your response, it seems that OpenID2 will only talk POST? This is what I want, but not so sure it will fit with the guys who have already implemented 1.0 GET interfaces. Would it not be a cheap way to achieve backwards compatibility to adopt this approach? Also, is there any chance of setting up a Forum/BB where we can post messages to more interactively than the mailing list? Using mailing lists is fine for true geeks, but the great unwashed a forum is more accessible giving greater access to help and information. Finally, you mention OpenIS2 stable librabry. How far of would you estimate this to be? Is there a roadmap/bug list with items that need to be commited before 2.0 final is released? Thanks again. _________________________________________________________________ Try Live.com: where your online world comes together - with news, sports, weather, and much more. http://www.live.com/getstarted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070502/40f436cd/attachment-0001.htm From cygnus at janrain.com Wed May 2 12:34:23 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Wed, 2 May 2007 12:34:23 -0700 Subject: PHP consumer using $_POST instead of $_GET In-Reply-To: References: Message-ID: <20070502193423.GF30499@janrain.com> # I do believe I had read somewhere that the sever repolied ising the # same HTTP mechanism it was called with, i.e. GET consumers had a get # response and POST consumers got a POST response. The spec for OpenID 1 says to use GET, whereas OpenID 2 deprecates GETs in favor of POSTs. As a result, anyone who implements an OpenID server or consumer that complies with both major protocol versions ought to implement the behavior you described, but it's not intrinsic to the OpenID libraries. It depends on the application implementors doing the right thing. # From your response, it seems that OpenID2 will only talk POST? This # is what I want, but not so sure it will fit with the guys who have # already implemented 1.0 GET interfaces. The OpenID library itself can manage the details of which response type to use. It's up to the RP / IDP implementors to get a clue from the OpenID library about whether to use GET or POST. Since you're dealing with a framework that only accepts POSTs, you're not going to be able to support OpenID 1. (That, IMHO, is grounds for changing frameworks or patching the framework to be less obtuse. OpenID 1 is widely-deployed, relatively speaking. Or hack it and convert an incoming GET into a form that gets auto-POSTed. Ugh.) # Also, is there any chance of setting up a Forum/BB where we can post # messages to more interactively than the mailing list? Using mailing # lists is fine for true geeks, but the great unwashed a forum is more # accessible giving greater access to help and information. If you want something more interactive, your best bet will be to talk to some of us live on irc.freenode.net, channel #openid. # Finally, you mention OpenIS2 stable librabry. How far of would you # estimate this to be? Is there a roadmap/bug list with items that # need to be commited before 2.0 final is released? Thanks again. Right now, it's informal. That will change in the near future, when we add a bug tracker and better project pages. In the mean time, you can expect the stable Python and PHP OpenID 2 releases to occur no later than May 14. -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From cygnus at janrain.com Wed May 2 13:20:27 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Wed, 2 May 2007 13:20:27 -0700 Subject: python-openid schema patch In-Reply-To: <200704131935.00980.jim-lists.openidenabled.com@jimdabell.com> References: <200704131935.00980.jim-lists.openidenabled.com@jimdabell.com> Message-ID: <20070502202027.GI30499@janrain.com> # I've attached a patch against 1.2.0 that provides this functionality # for the PostgreSQL database. Hi Jim, Thanks for submitting the schemas patch. If you have more time to work on it, I'd like to see a few things addressed: - Of the supported databases, only Postgres implements schemas. So, I don't think the schema attribute or any of its usage goes in SQLStore. It should be confined to PostgreSQLStore. Possible solution: * implement getters in SQLStore for table names, to be overridden in PostgreSQLStore to make use of a schema value. - The patch assumes that the schema to be used does not exist at the time the tables get created. If the schema does exist (e.g., a DBA created it already) BUT the tables do not exist, the table creation will fail because the tables and schema are created together in a transaction. Since Postgres supports introspection, I would very much like it if the store looks first to see if creating the schema is even necessary. (This would also be nice to have for table creation, too.) Possible solution: * Override createTables() in PostgreSQLStore to look for (and create) the schema and call SQLStore.txn_createTables(). * implement dumb tableExists method in SQLStore and override for databases that support introspection. - The patch doesn't include any tests. These should be easy to write. The store should behave sanely when the schema already exists and also when it is not specified. If you need help running the python library's test suite, let us know. Thanks again, and let me know what you think. If you can make some or all of these changes, I'll be happy to accept the patch and do any remaining work needed. -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From damnian at gmail.com Wed May 2 15:19:58 2007 From: damnian at gmail.com (Dmitry Shechtman) Date: Thu, 3 May 2007 01:19:58 +0300 Subject: [OpenID] JanRain library licensing In-Reply-To: <34714aad0705021222s78584ccas4f966d9e9e29e416@mail.gmail.com> References: <34714aad0705021222s78584ccas4f966d9e9e29e416@mail.gmail.com> Message-ID: <005201c78d08$08674970$a0d817ac@a9a181c8860745f> > Adhering the the coding style of a particular project would not be > feasible (because then we'd have to do that for e.g. MediaWiki and > PHPBB as well). Agreed. However, slight coding style improvements could be feasible. > We'd welcome patches if they made the library *less* tied to a particular > idiom or easier to integrate with applications. I proposed merging phpbb-openid's branch a while ago. That proposal still stands. Regards, Dmitry =damnian From josh at janrain.com Wed May 2 15:24:22 2007 From: josh at janrain.com (Josh Hoyt) Date: Wed, 2 May 2007 15:24:22 -0700 Subject: [OpenID] JanRain library licensing In-Reply-To: <005201c78d08$08674970$a0d817ac@a9a181c8860745f> References: <34714aad0705021222s78584ccas4f966d9e9e29e416@mail.gmail.com> <005201c78d08$08674970$a0d817ac@a9a181c8860745f> Message-ID: <34714aad0705021524j3d7f10e8hf5f37e75ed00748b@mail.gmail.com> (removed general at openid.net from CC) On 5/2/07, Dmitry Shechtman wrote: > I proposed merging phpbb-openid's branch a while ago. That proposal still > stands. We'd love to get individual patches. Josh From damnian at gmail.com Wed May 2 15:28:04 2007 From: damnian at gmail.com (Dmitry Shechtman) Date: Thu, 3 May 2007 01:28:04 +0300 Subject: [OpenID] JanRain library licensing In-Reply-To: <34714aad0705021524j3d7f10e8hf5f37e75ed00748b@mail.gmail.com> References: <34714aad0705021222s78584ccas4f966d9e9e29e416@mail.gmail.com> <005201c78d08$08674970$a0d817ac@a9a181c8860745f> <34714aad0705021524j3d7f10e8hf5f37e75ed00748b@mail.gmail.com> Message-ID: <005401c78d09$29374aa0$a0d817ac@a9a181c8860745f> I'm sorry, I just don't have the tools for that right now. Could you please have a look at the downloadable package? http://openid.phpbb.cc/download Regards, Dmitry =damnian -----Original Message----- From: joshhoyt at gmail.com [mailto:joshhoyt at gmail.com] On Behalf Of Josh Hoyt Sent: Thursday, May 03, 2007 01:24 To: Dmitry Shechtman Cc: discuss OpenID libraries and development Subject: Re: [OpenID] JanRain library licensing (removed general at openid.net from CC) On 5/2/07, Dmitry Shechtman wrote: > I proposed merging phpbb-openid's branch a while ago. That proposal still > stands. We'd love to get individual patches. Josh From josh at janrain.com Wed May 2 15:32:38 2007 From: josh at janrain.com (Josh Hoyt) Date: Wed, 2 May 2007 15:32:38 -0700 Subject: [OpenID] JanRain library licensing In-Reply-To: <005401c78d09$29374aa0$a0d817ac@a9a181c8860745f> References: <34714aad0705021222s78584ccas4f966d9e9e29e416@mail.gmail.com> <005201c78d08$08674970$a0d817ac@a9a181c8860745f> <34714aad0705021524j3d7f10e8hf5f37e75ed00748b@mail.gmail.com> <005401c78d09$29374aa0$a0d817ac@a9a181c8860745f> Message-ID: <34714aad0705021532p846b997m6785ec95dc6ef28f@mail.gmail.com> On 5/2/07, Dmitry Shechtman wrote: > I'm sorry, I just don't have the tools for that right now. > > Could you please have a look at the downloadable package? > > http://openid.phpbb.cc/download We can evaluate patches, but currently, the developers don't have the time to try to figure out the differences ourselves. It'd be great to get our versions in sync so that we don't have to port in either direction. In the long run, it'd save both of us work. If there's anyone else on the list who wants to volunteer to make Dmitry's changes into individual patches, the work would be welcomed. Josh From g_bloggs at hotmail.com Thu May 3 15:44:06 2007 From: g_bloggs at hotmail.com (George Bloggs) Date: Thu, 3 May 2007 22:44:06 +0000 Subject: PHP Yadis/Manager.php bug Message-ID: Hi. Just attempting to use the OpenId library at version 2.0.0-rc2. I noticed problems with notifications from PHP concerning empty $_SESSION. Added this code to defend against it. Sorry that this email client seems to chew up all new lines and code formatting, but hope it makes some sense. Auth/Yadis/Manager.php Line 29: ... /** * Get a key's value from the session. * * @param string $name The name of the key to retrieve. * @param string $default The optional value to return if the key * is not found in the session. * @return string $result The key's value in the session or * $default if it isn't found. */ function get($name, $default=null) { if ( (isset( $_SESSION )) && (is_array( $_SESSION ) ) ) { if (array_key_exists($name, $_SESSION)) { return $_SESSION[$name]; } else { return $default; } } else { return $default; } } ... _________________________________________________________________ Express yourself: design your homepage the way you want it with Live.com. http://www.live.com/getstarted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070503/06d63171/attachment.htm From cygnus at janrain.com Thu May 3 16:02:51 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Thu, 3 May 2007 16:02:51 -0700 Subject: PHP Yadis/Manager.php bug In-Reply-To: References: Message-ID: <20070503230251.GL30499@janrain.com> # I noticed problems with notifications from PHP concerning empty # $_SESSION. Added this code to defend against it. Hello, This was reported here, too: http://lists.openidenabled.com/pipermail/dev/2007-January/000237.html I'm not convinced this is a bug in our library. If $_SESSION isn't an array, something should break and you should know about it. If I patch the library to make the code okay with $_SESSION being null, things will just fail in a different way. I'd rather assume that $_SESSION is, at the very least, == array(). Are you calling session_start() in your application? Or is this happening in an example app provided with the library? HTH, -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From g_bloggs at hotmail.com Fri May 4 09:23:03 2007 From: g_bloggs at hotmail.com (George Bloggs) Date: Fri, 4 May 2007 16:23:03 +0000 Subject: PHP consumer using $_POST instead of $_GET Message-ID: Thanks for all your help and continued response. I agree with you in that I will have to support both OpenId1 and OpenID2. I hacked the CI framework to proxy the gets over to the post. # If you want something more interactive, your best bet will be to talk# to some of us live on irc.freenode.net, channel #openid. :-) Not too sure if IRC is more geek than mailing lists... The point though is that there is a documented record that can be searched. IRC whilst providing potentially fast feed if the right people are online, would not provide a log of the discussion that could be used by someone to help them. A forum does provide this. I realise this is merely my view, but feel that if you wish to lower the barrier for entry in to the OpenID club making support easily accessible is one way to achieve this. # ... In the mean time, you can expect the stable Python and # PHP OpenID 2 releases to occur no later than May 14.Wow, that soon. Thanks for the responses again. It is appreciated. _________________________________________________________________ Try Live.com - your fast, personalized homepage with all the things you care about in one place. http://www.live.com/getstarted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070504/aa88a5dc/attachment.html From g_bloggs at hotmail.com Fri May 4 09:34:08 2007 From: g_bloggs at hotmail.com (George Bloggs) Date: Fri, 4 May 2007 16:34:08 +0000 Subject: PHP Yadis/Manager.php bug Message-ID: Jonathan Hmmm, I think I understand your reasoning in that trapping for null may hide a bigger problem elsewhere. I am not too sure that there is enough justification in this case. It's no big issue as the message that spils out of PHP is merely a notification. Many people will have these turned off anyhow. The issue I have is that the library is now building in assumptions as to how the user of the library is going to use it. i.e. they are going to the native PHP session mechanism. I dont use this, or more correctly, the framework I am currently working in does not use this. It can, but it does not. There are a fair number of frameworks out there that use their own mechanisms. In my case, and many others therefore, this error will always be thrown. I would also suggest that the reason for keeping it there, i.e. it will highlight problems earlier is probably not that valid as it is only a notification and many PHP installations will have these switched off. If there is a problem, a real problem, it is more than likely going to be found closer to the coal face than by examining logs with notifications switched on. I hope you can appreciate these are merely points on a relatively insignificant and generally benign problem. As you are the author of the library, its your call. If you dont patch, then the likelihood is that I'll have to patch every release. I'll have to take a look at the next post of licencing to make sure how that effects me. _________________________________________________________________ Try Live.com: where your online world comes together - with news, sports, weather, and much more. http://www.live.com/getstarted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070504/8739c269/attachment-0001.htm From cygnus at janrain.com Fri May 4 10:23:43 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Fri, 4 May 2007 10:23:43 -0700 Subject: PHP consumer using $_POST instead of $_GET In-Reply-To: References: Message-ID: <20070504172343.GM30499@janrain.com> # The point though is that there is a documented record that can be # searched. IRC whilst providing potentially fast feed if the right # people are online, would not provide a log of the discussion that # could be used by someone to help them. You're right, but unfortunately, there are many different places that people have talked about OpenID and libraries in particular, so there is not one comprehensive, searchable place for answers. However, this list has grown enough since its creation that the archives are a pretty good place to see some discussion of common issues. I realize that a mailing list is not the preferred forum style for all users, but this is the type we have chosen. You're welcome to set up a forum of your own, but I think I can speak for most people when I say that we'd all rather come to one place. If you want to search the list archives, you may do so by using this google search prefix: site:lists.openidenabled.com HTH, -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From cygnus at janrain.com Fri May 4 10:31:54 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Fri, 4 May 2007 10:31:54 -0700 Subject: PHP Yadis/Manager.php bug In-Reply-To: References: Message-ID: <20070504173154.GN30499@janrain.com> # The issue I have is that the library is now building in assumptions # as to how the user of the library is going to use it. i.e. they are # going to the native PHP session mechanism. I dont use this, or more # correctly, the framework I am currently working in does not use # this. >From the documentation in Auth/OpenID/Consumer.php: "First, the application should instantiate the Auth_OpenID_Consumer class using the store of choice (Auth_OpenID_FileStore or one of the SQL-based stores). If the application has a custom session-management implementation, an object implementing the Auth_Yadis_Session interface should be passed as the second parameter. Otherwise, the default uses $_SESSION." The solution in your case is to write a short class that implements the same methods as Auth_Yadis_Session. Instead of using $_SESSION, your class would use the session mechanism in place in your environment. Once you've implemented that class, instantiate it and pass it as the second argument when creating your Auth_OpenID_Consumer. # I hope you can appreciate these are merely points on a relatively # insignificant and generally benign problem. As you are the author of # the library, its your call. If you dont patch, then the likelihood # is that I'll have to patch every release. I'll have to take a look # at the next post of licencing to make sure how that effects me. Fortunately for you, the above solution will not require any patching. We understood when writing the library that not everyone would use $_SESSION or know about the session handlers supported by PHP. HTH, -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From kevin at janrain.com Fri May 4 14:19:16 2007 From: kevin at janrain.com (Kevin Turner) Date: Fri, 04 May 2007 14:19:16 -0700 Subject: python-openid 2.0.0rc3b Message-ID: <1178313556.23850.27.camel@localhost> I've posted Python OpenID 2.0.0rc3b. Notable corrections from rc2: * OpenIDStore.useNonce now checks that nonce timestamps are reasonable. * sreg no longer tries to send v2 responses to v1 requests. * no longer tries to use lxml. (I forgot this in rc3, hence rc3b.) Notable omissions: * there is still no standard API for invoking garbage collection on the stores. This release is in Cheeseshop, and available from http://www.openidenabled.com/resources/downloads/python-openid/ sha1sums: e75f39ac364c7c7bd23db1c491669579fe082a38 python-openid-2.0.0-rc3b.tar.bz2 432241a0311a825fd25bf388cf458293f31e6108 python-openid-2.0.0-rc3b.zip From amm03 at tid.es Mon May 7 08:16:35 2007 From: amm03 at tid.es (Antonio Martinez Martinez) Date: Mon, 07 May 2007 17:16:35 +0200 Subject: OpenID and LDAP In-Reply-To: <20070411170104.GC10049@janrain.com> References: <461B96C4.1020502@tid.es> <20070410170857.GW10049@janrain.com> <461C916B.8080005@tid.es> <20070411170104.GC10049@janrain.com> Message-ID: <463F42D3.20504@tid.es> An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070507/9f3c315c/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: logo_sdbn.jpg Type: image/jpeg Size: 22021 bytes Desc: not available Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070507/9f3c315c/attachment-0001.jpg From cygnus at janrain.com Mon May 7 10:03:25 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Mon, 7 May 2007 10:03:25 -0700 Subject: OpenID and LDAP In-Reply-To: <463F42D3.20504@tid.es> References: <461B96C4.1020502@tid.es> <20070410170857.GW10049@janrain.com> <461C916B.8080005@tid.es> <20070411170104.GC10049@janrain.com> <463F42D3.20504@tid.es> Message-ID: <20070507170325.GO30499@janrain.com> # - auth.php ---> auth_LDAP.php (class AuthBackend_MYSQL ---> # AuthBackend_LDAP) Does this mean you copied auth.php to auth_LDAP.php and renamed AuthBackend_MYSQL in the new file to AuthBackend_LDAP? # - storage.php (class Storage_MYSQL ----> Storage_LDAP, and modify # the "getAccountForUrl" method, now that search is made with LDAP # comands) Is this an in-place change in storage.php, or did you create a class, Storage_LDAP, based on Storage_MYSQL? # Have you got any idea of what is happening? If you want to see some # of the code, I show you delighted. I'm quite lost with the # MySQL-LDAP migration. Seeing the code would be very helpful. Is it available online somewhere, or in revision control? -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From magsilva at gmail.com Mon May 7 10:44:50 2007 From: magsilva at gmail.com (Marco =?utf-8?q?Aur=C3=A9lio_Graciotto_Silva?=) Date: Mon, 7 May 2007 14:44:50 -0300 Subject: OpenID and LDAP In-Reply-To: <463F42D3.20504@tid.es> References: <461B96C4.1020502@tid.es> <20070411170104.GC10049@janrain.com> <463F42D3.20504@tid.es> Message-ID: <200705071444.50216.magsilva@gmail.com> On Monday 07 May 2007 12:16:35 Antonio Martinez Martinez wrote: > Jonathan Daugherty escribi?: > # 1) When you say "make sure AuthBackend_LDAP is included in the > # namespace", what do you refer exactly? I don't understand what > # "namespace" is at all. > > Hi Jonathan, > > I've been working several days trying to implement an LDAP directory > instead MySQL as Backend. I've tried to follow your advice, and I've been > writing a class that implements the same interface as AuthBackend_MYSQL and > updated config.php to use it.By now, my class just have the "authenticate" > method, because the only thing I like by the moment is checking that user, > password and url are in the LDAP directory and that they are correct. I've > modify next files: > > - auth.php ---> auth_LDAP.php (class AuthBackend_MYSQL ---> > AuthBackend_LDAP) - storage.php (class Storage_MYSQL ----> Storage_LDAP, > and modify the "getAccountForUrl" method, now that search is made with LDAP > comands) - backends.php ---> backends_LDAP.php (class Backend_MYSQL----> > Backend_LDAP) - config.php ----> config_LDAP.php (I've changed the defines > and the $storage_parameters) Hi everybody I've recently written an LDAP authentication backend for php-openid-server. So far, it's working fine. To use that LDAP backend, you've to set the AUTH_BACKEND to 'LDAP' and the $auth_parameters at config.php. I'm currently using something like this: define('AUTH_BACKEND', 'LDAP'); $auth_parameters = array('server_name' => 'localhost', 'base_dn' => 'dc=m242,dc=numa,dc=intranet', 'bind_username' => null, 'bind_password' => null, 'admin_username' => 'cn=admin,dc=m242,dc=numa,dc=intranet', 'admin_password' => 'password', 'user_filter' => '(uid=%USERNAME%)'); The patch attached is just for authentication. Looking now at the php-openid, it would be feasible to implement an storage api using LDAP too (at least for the personal information (personas) table), a sort of ldap/mysql mix. That would be interesting. --- Marco Aurelio Graciotto Silva LaBES/ICMC/USP Sao Carlos/SP/Brazil -------------- next part -------------- A non-text attachment was scrubbed... Name: php-openid-server-ldap_auth.patch Type: text/x-diff Size: 7364 bytes Desc: not available Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070507/eb79787a/attachment.bin From amm03 at tid.es Tue May 8 03:40:16 2007 From: amm03 at tid.es (Antonio Martinez Martinez) Date: Tue, 08 May 2007 12:40:16 +0200 Subject: OpenID and LDAP In-Reply-To: <200705071444.50216.magsilva@gmail.com> References: <461B96C4.1020502@tid.es> <20070411170104.GC10049@janrain.com> <463F42D3.20504@tid.es> <200705071444.50216.magsilva@gmail.com> Message-ID: <46405390.6080509@tid.es> An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070508/cd0e0e94/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: logo_sdbn.jpg Type: image/jpeg Size: 22021 bytes Desc: not available Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070508/cd0e0e94/attachment-0001.jpg From magsilva at gmail.com Tue May 8 08:42:56 2007 From: magsilva at gmail.com (=?ISO-8859-1?Q?Marco_Aur=E9lio_Graciotto_Silva?=) Date: Tue, 8 May 2007 12:42:56 -0300 Subject: OpenID and LDAP In-Reply-To: <46405390.6080509@tid.es> References: <461B96C4.1020502@tid.es> <20070411170104.GC10049@janrain.com> <463F42D3.20504@tid.es> <200705071444.50216.magsilva@gmail.com> <46405390.6080509@tid.es> Message-ID: <54ba78ff0705080842i41a89c48o1928c3ac2214dca@mail.gmail.com> On 5/8/07, Antonio Martinez Martinez wrote: > > > In "authenticate" function, it appears next: > > $result = @ldap_bind($this->conn, $user['dn'], $password); > $result = ldap_bind($this->conn, $this->bind_username, > $this->bind_password); > I'm not a LDAP expert either, maybe the logic behind that code is not correct. My idea was as follows. The first bind is the one I use to authenticate the user (and I save the result at $result). That LDAP connection ($this->conn) is required for searching (not only authentication), so I do another bind, using the ldap binding user, to restore the binding to its previous state (there isn't the '$result =' in the second line, as you posted). Regards, Marco Aur?lio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070508/84a1fdf2/attachment.htm From amm03 at tid.es Tue May 8 07:57:21 2007 From: amm03 at tid.es (Antonio Martinez Martinez) Date: Tue, 08 May 2007 16:57:21 +0200 Subject: [Fwd: Re: OpenID and LDAP] Message-ID: <46408FD1.9070805@tid.es> An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070508/cba61a8d/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: logo_sdbn.jpg Type: image/jpeg Size: 22021 bytes Desc: not available Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070508/cba61a8d/attachment-0001.jpg -------------- next part -------------- An embedded message was scrubbed... From: Antonio Martinez Martinez Subject: Re: OpenID and LDAP Date: Tue, 08 May 2007 12:40:16 +0200 Size: 38923 Url: http://lists.openidenabled.com/pipermail/dev/attachments/20070508/cba61a8d/attachment-0001.mht From LightLan at lightlan.de Thu May 10 10:31:55 2007 From: LightLan at lightlan.de (Paul Rauch) Date: Thu, 10 May 2007 19:31:55 +0200 Subject: openid downloads missing copy of the license Message-ID: <4643570B.6010100@lightlan.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear Developers, I'm playing with the thought to package your openid library and it's neccessary packages for suse. But when I downloaded them I saw they are missing a complete copy of the license and now I'm worried since this is a violation, as far as I know. It would be very nice by you if you'd add the license in order to let my worries vanish ;) mfg Paul Rauch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iQIVAwUBRkNXCxG67lyyQrltAQJgNQ//XnRbN0JzVV2VqhPX371eTCz22CHPufTg cVWSD/GQa/AtNkTYwDSOiZbelXYT3ZbHQYV5PmhTskJZoB8AxkTpVJLXQH82W4HN EujdSY1EqPSK1Ze/VdqIDeo5rid7bwQYXDJUCk8J2Fecs5NhwZMZkRqnajzrjgDg uKvirZjzSXMkEBWQxqaEAqB1Vh2IQyFrslialvnhMWnvS/MSNDjGCz1PZrCICtsB 4J/DFQJvYH+m+pA4oylR+A5CPpmvLyBI2jBYDPpZX4XUexIYvGHf5TYh5Xppqw/D UhnBLPMWPr0e7Mms1aqzO0AllwkbMaJlW5W0Sr5le3gvb4XtSKKLcYXVhcck6Dmh 4GuwzrstkRyNoQ4aHrsYAgRSZcaS0lB0bp5PsInjl80atoAt2WYrl4yu+m9eZcs6 rALEVhNeHu5pbdoI+BdwgEnabsaoaY+9HVnx4237QuRSilE37e+t64ZecBao9bJ4 Vgvtvge+y1xk7omQusPDLKiPLHcOXxdoxHn/Q3QYPAdbcBvvAH4iJR5PCRdSgz60 AK58w1F4y3KosoQVGE2Uq9O/wDcYKrMeJOF4MgGm4/Q9nHYMVOCXbgYZ6lNltW8D e5IJc3kLYT0URgBdY3dgrZLHyaNbMHRJTYMhHaEZbwD7+ligvmD3cNp4RCSQH6DP iNbZxTKXFPY= =orSY -----END PGP SIGNATURE----- From cygnus at janrain.com Thu May 10 10:55:59 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Thu, 10 May 2007 10:55:59 -0700 Subject: openid downloads missing copy of the license In-Reply-To: <4643570B.6010100@lightlan.de> References: <4643570B.6010100@lightlan.de> Message-ID: <20070510175559.GZ30499@janrain.com> # I'm playing with the thought to package your openid library and it's # neccessary packages for suse. Which library, specifically? (Python, PHP, Ruby?) # But when I downloaded them I saw they are missing a complete copy of # the license and now I'm worried since this is a violation, as far as # I know. The PHP library has, until recently, lacked a complete license copy, although it did include instructions on where to get a copy. At any rate, if you get the PHP OpenID library from revision control, you'll see the license included. -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From LightLan at lightlan.de Thu May 10 11:06:28 2007 From: LightLan at lightlan.de (Paul Rauch) Date: Thu, 10 May 2007 20:06:28 +0200 Subject: openid downloads missing copy of the license In-Reply-To: <20070510175559.GZ30499@janrain.com> References: <4643570B.6010100@lightlan.de> <20070510175559.GZ30499@janrain.com> Message-ID: <46435F24.30402@lightlan.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Daugherty schrieb: > # I'm playing with the thought to package your openid library and it's > # neccessary packages for suse. > > Which library, specifically? (Python, PHP, Ruby?) > > # But when I downloaded them I saw they are missing a complete copy of > # the license and now I'm worried since this is a violation, as far as > # I know. > > The PHP library has, until recently, lacked a complete license copy, > although it did include instructions on where to get a copy. At any > rate, if you get the PHP OpenID library from revision control, you'll > see the license included. > oh sorry, I downloaded the python version. http://www.openidenabled.com/resources/downloads/python-openid/python-openid-combo-20061208.tar.gz mfg Paul Rauch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iQIVAwUBRkNfIxG67lyyQrltAQKv0w/+OQs4bceo0bAA5mKzJHa9DluqShr2Z+IW ulYf6bA6RCVLQRh2Qsv2tUSWce92KQUx2MNClkiNPDsB5b7NwPwa+C/aYZEAddO5 Y37yXFh2TN4Xkue81hccfXq1LiqctrlpWpjvnEelrFm6l1f7TaMgnAuxlnYNoxOO 9eR7Pjx1VDssrU7WXbKZJIMQfLkyPR8MYDbmnu7xu6eiU2vv1kcbrR5Csx7cAFoJ 7yBDT+9gh3ApeNLqDsbKGVsVMUjA5FxtQFXDsPeaEDLGPTcvH/PaYXzl8/+KBZXy tbucoNA2c9AS1y23T9ZgHepfgSDXEL4W3iuv40GHHqRTB826b0AuY2ImON4KQRI3 Tq3D8WxQv7UZ4578KKyy2dESJLrRLKUeUJThOohw7aB7dO68kiU30KSlDpxbcTQ5 E+NbO/dCilboU8MtdukaooNVKeD8hjHD110cTy63vV24qk1rOqA9WZpfLP6DPVXH CR4MWaKrTDybcBeprp7gmDh5okWhUR8AD956WdH3p1ilNX1tngs+Fu+87wjcmqqa BOtbTbI4ABjeNcf3VgeCodC5EukxfcJAoEnN+S6QL+hsGUkZM8N3Ta4VXGbCbwVo KbU2RMiyWQqJTN/9rwXgxzgIaGktuLtM5Ej3wYF/8zxqo5Xh3j0xW0KBhUenshUx 3MvNaPju5YM= =AuK8 -----END PGP SIGNATURE----- From g_bloggs at hotmail.com Thu May 10 14:43:45 2007 From: g_bloggs at hotmail.com (George Bloggs) Date: Thu, 10 May 2007 21:43:45 +0000 Subject: Problem with openid.mode in php 2.0.0 rc2 Message-ID: Hi. I am trying to build on top of the JanRain open id library, version 2.0.0 rc2. I am using PHP 5.1.2/Apache 2.2/XP. I am getting this message: OpenID authentication failed: Invalid openid.mode '' The code that attempts to complete the transaction is: $consumer = $this->getConsumer(); // Complete the authentication process using the server's // response. $res = print_r( $_REQUEST, true ); echo nl2br( $res ); $response = $consumer->complete( $_REQUEST ); This generates the following output on the browser (sreg vars removed etc) ... [openid_mode] => id_res[openid_ns] => http://specs.openid.net/auth/2.0[openid_ns_sreg] => http://openid.net/extensions/sreg/1.1[openid_op_endpoint] => https://www.myopenid.com/server ... Having looked at the code, its seems valid to pass in any array and the $_REQUEST array appears to be populated from the print_r dump. Does anybody know what/why the openid.mode is missing?? Is it that the server is responding openid_mode and the code is looking for openid.mode??? If so how do I fix this? Thanks _________________________________________________________________ Try Live.com - your fast, personalized homepage with all the things you care about in one place. http://www.live.com/getstarted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070510/01cdd6c2/attachment.htm From cygnus at janrain.com Thu May 10 14:57:43 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Thu, 10 May 2007 14:57:43 -0700 Subject: Problem with openid.mode in php 2.0.0 rc2 In-Reply-To: References: Message-ID: <20070510215743.GB30499@janrain.com> # $response = $consumer->complete( $_REQUEST ); This line is the problem. It should be: $response = $consumer->complete(); -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From trevor at corevx.com Thu May 10 20:36:40 2007 From: trevor at corevx.com (Trevor Wennblom) Date: Thu, 10 May 2007 22:36:40 -0500 Subject: ruby-openid dev question Message-ID: <194CE08D-2F1F-4B8D-B10B-ACDF3E04E81B@corevx.com> I'd like to contribute some bug-fixes to the ruby-openid library to make it compatible with Rails 1.2.3 as well as cleaning up a few "gotchas" I encountered. What's the recommended process for doing so? From cygnus at janrain.com Thu May 10 21:31:00 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Thu, 10 May 2007 21:31:00 -0700 Subject: ruby-openid dev question In-Reply-To: <194CE08D-2F1F-4B8D-B10B-ACDF3E04E81B@corevx.com> References: <194CE08D-2F1F-4B8D-B10B-ACDF3E04E81B@corevx.com> Message-ID: <20070511043100.GE30499@janrain.com> # I'd like to contribute some bug-fixes to the ruby-openid library to # make it compatible with Rails 1.2.3 as well as cleaning up a few # "gotchas" I encountered. # # What's the recommended process for doing so? The process that would be most helpful for us (and most expedient) is: - Get a copy of the source code repository[1]: darcs get http://www.openidenabled.com/resources/repos/ruby/openid/ - Apply each of your fixes as a patch ('darcs record' each one separately) - Run 'darcs send' to send patches to this list. darcs send --to=dev at lists.openidenabled.com --from=your at email.com Then, someone can apply them to a repository, update tests, etc., and push them into the upstream repository. Thanks in advance! [1] http://darcs.net/ -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From g_bloggs at hotmail.com Fri May 11 13:29:52 2007 From: g_bloggs at hotmail.com (George Bloggs) Date: Fri, 11 May 2007 20:29:52 +0000 Subject: Auth_Yadis_Session Message-ID: Hi. In a previous post I was pointed to the documentation for the Consumer class which states: Consumer.php ... * @param mixed $session An object which implements the interface * of the {@link Auth_Yadis_Session} class. Sadly, I have not been able to find the Auth_Yadis_Session interface. Is this new and yet to be documented. Having trawled through the code I found there was a class Auth_Yadi_PHPSession which appears to be a concrete implementation but does not extend any interface. Later in the Manager.php code, to initialise an Auth_Yadis_Discovery we are required to pass in a Auth_Yadis_PHPSession object. Will there be an interface defined for Auth_Yadis_Session, or should I extend Auth_Yadis_PHPSession and overload all the methods in this class? Thanks. Using OpenID for PHP 2.0.0 rc2 Manager.php ... /** * The base session class used by the Auth_Yadis_Manager. This * class wraps the default PHP session machinery and should be * subclassed if your application doesn't use PHP sessioning. * * @package OpenID */ class Auth_Yadis_PHPSession { ... /** * Initialize a discovery object. * * @param Auth_Yadis_PHPSession $session An object which * implements the Auth_Yadis_PHPSession API. * @param string $url The URL on which to attempt discovery. * @param string $session_key_suffix The optional session key * suffix override. */ function Auth_Yadis_Discovery(&$session, $url, $session_key_suffix = null) { _________________________________________________________________ Try Live.com - your fast, personalized homepage with all the things you care about in one place. http://www.live.com/getstarted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070511/8e1a7b8a/attachment.htm From cygnus at janrain.com Fri May 11 14:03:28 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Fri, 11 May 2007 14:03:28 -0700 Subject: Auth_Yadis_Session In-Reply-To: References: Message-ID: <20070511210328.GM30499@janrain.com> # * @param mixed $session An object which implements the interface of # * the {@link Auth_Yadis_Session} class. That documentation is wrong, actually; it should refer to Auth_Yadis_PHPSession, as you found out. # Having trawled through the code I found there was a class # Auth_Yadi_PHPSession which appears to be a concrete implementation # but does not extend any interface. When we say "interface" here, we're not talking about a programming language construct (as in Java or PHP 5). We're talking generally about "the methods and their signatures as defined by a given class." # Later in the Manager.php code, to initialise an Auth_Yadis_Discovery # we are required to pass in a Auth_Yadis_PHPSession object. As a library user, you should pass your session object into the Consumer's constructor. The rest is taken care of. # Will there be an interface defined for Auth_Yadis_Session, or should # I extend Auth_Yadis_PHPSession and overload all the methods in this # class? You should extend and override those methods. Specifically, the library cannot implement a true interface, because it must work with PHP 4. HTH, -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From justin at loudisrelative.com Fri May 11 14:08:42 2007 From: justin at loudisrelative.com (Justin Burger) Date: Fri, 11 May 2007 14:08:42 -0700 Subject: (PHP) My OpenID no longer working? Message-ID: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> Hi, I run loudisrelative.com (which supports OpenID). Everything has been running well until today I attempted to login to our site, and got an OpenID error. I also am starting to get emails from users... Nothing changed in my code (at all) for a few weeks, I am getting back the following response "Server denied check_authentication" I was running an older version of the Auth_OpenID PHP Lib so i upgraded to the latest, and still get the same result. Its not happening every time, but about 50% of the time. More Information: (failure)Server denied check_authentication Called finishAuth: array ( 'package' => 'openID', 'action' => 'finish', 'nonce' => 'e3XeDIJo', 'openid_assoc_handle' => '{HMAC-SHA1}{4644d64e}{meLr8g==}', 'openid_identity' => 'http://justinburger.myopenid.com/', 'openid_mode' => 'id_res', 'openid_op_endpoint' => 'https://www.myopenid.com/server', 'openid_response_nonce' => '2007-05-11T20:47:10ZRgLErE', 'openid_return_to' => 'http://www.loudisrelative.com:80/index.php5?package=openID&action=finish&nonce=e3XeDIJo', 'openid_sig' => 'dzHU+Y0MG2R/hrvYnyGJKr68ja8=', 'openid_signed' => 'assoc_handle,identity,mode,op_endpoint,response_nonce,return_to,signed,sreg.country,sreg.dob,sreg.email,sreg.gender,sreg.nickname,sreg.postcode', 'openid_sreg_country' => 'US', 'openid_sreg_dob' => '{myDOB}', 'openid_sreg_email' => '{My Email}', 'openid_sreg_gender' => 'M', 'openid_sreg_nickname' => 'Justin', 'openid_sreg_postcode' => '{My Zip}', ) Called finishAuth (failure)No session state found From justin at loudisrelative.com Fri May 11 14:12:10 2007 From: justin at loudisrelative.com (Justin Burger) Date: Fri, 11 May 2007 14:12:10 -0700 Subject: justin@loudisrelative.com Message-ID: <2b9422ea0705111412i3441f7dfl11d48412ebd8e1fb@mail.gmail.com> justin at loudisrelative.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070511/71a22d94/attachment.html From cygnus at janrain.com Fri May 11 14:15:27 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Fri, 11 May 2007 14:15:27 -0700 Subject: (PHP) My OpenID no longer working? In-Reply-To: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> Message-ID: <20070511211527.GN30499@janrain.com> # I run loudisrelative.com (which supports OpenID). Everything has # been running well until today I attempted to login to our site, and # got an OpenID error. I also am starting to get emails from users... # # Nothing changed in my code (at all) for a few weeks, I am getting # back the following response "Server denied check_authentication" Hello, This is happening because recent changes to myopenid.com now instruct OpenID libraries to try using an HTTPS server URL preferentially. Can you confirm that your PHP installation is able to fetch HTTPS URLs (either using CURL or fsockopen)? # Its not happening every time, but about 50% of the time. This is a separate problem, due to a bug in the PHP library which has been fixed in the OpenID 2 repository. -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From tinywizard.nz at gmail.com Fri May 11 14:33:17 2007 From: tinywizard.nz at gmail.com (Phil Y) Date: Sat, 12 May 2007 09:33:17 +1200 Subject: (PHP) My OpenID no longer working? In-Reply-To: <20070511211527.GN30499@janrain.com> References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> Message-ID: > > # Its not happening every time, but about 50% of the time. > > This is a separate problem, due to a bug in the PHP library which has > been fixed in the OpenID 2 repository. Can you please provide me with the details of this fix? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070512/e0397867/attachment.htm From damnian at gmail.com Fri May 11 14:37:46 2007 From: damnian at gmail.com (damnian) Date: Fri, 11 May 2007 23:37:46 +0200 Subject: (PHP) My OpenID no longer working? In-Reply-To: References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> Message-ID: On 5/11/07, Phil Y wrote: > > > # Its not happening every time, but about 50% of the time. > > > > This is a separate problem, due to a bug in the PHP library which has > > been fixed in the OpenID 2 repository. > > Can you please provide me with the details of this fix? Or better yet, provide the list with those? From cygnus at janrain.com Fri May 11 14:36:37 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Fri, 11 May 2007 14:36:37 -0700 Subject: (PHP) My OpenID no longer working? In-Reply-To: References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> Message-ID: <20070511213637.GO30499@janrain.com> # >This is a separate problem, due to a bug in the PHP library which # >has been fixed in the OpenID 2 repository. # # Can you please provide me with the details of this fix? In particular, http://tinyurl.com/3xcfff You can get a repository of your own by installing Darcs and running darcs get http://www.openidenabled.com/resources/repos/php/openid -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From justin at loudisrelative.com Fri May 11 14:39:39 2007 From: justin at loudisrelative.com (Justin Burger) Date: Fri, 11 May 2007 14:39:39 -0700 Subject: (PHP) My OpenID no longer working? In-Reply-To: References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> Message-ID: <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> Were the affiliates informed before implementing HTTPS only? I don't recall seeing an email. On 5/11/07, damnian wrote: > On 5/11/07, Phil Y wrote: > > > > > # Its not happening every time, but about 50% of the time. > > > > > > This is a separate problem, due to a bug in the PHP library which has > > > been fixed in the OpenID 2 repository. > > > > Can you please provide me with the details of this fix? > Or better yet, provide the list with those? > > _______________________________________________ > Dev mailing list > Dev at lists.openidenabled.com > http://lists.openidenabled.com/mailman/listinfo/dev > From damnian at gmail.com Fri May 11 14:43:27 2007 From: damnian at gmail.com (damnian) Date: Fri, 11 May 2007 23:43:27 +0200 Subject: (PHP) My OpenID no longer working? In-Reply-To: <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> Message-ID: What if my server doesn't support HTTPS? Is there a graceful fallback? From cygnus at janrain.com Fri May 11 14:45:04 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Fri, 11 May 2007 14:45:04 -0700 Subject: (PHP) My OpenID no longer working? In-Reply-To: <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> Message-ID: <20070511214504.GP30499@janrain.com> # Were the affiliates informed before implementing HTTPS only? # # I don't recall seeing an email. No, there was not a notification. (It's not exactly something that ought to break.) But you aren't the only one that was affected. At any rate, we're going to update myopenid.com so that it only advertises HTTPS server URLs in the XRDS *if* you fetch the identity URL as an HTTPS URL. (Which is to say, we'll be reverting its behavior to the previous behavior.) -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From tinywizard.nz at gmail.com Fri May 11 14:57:10 2007 From: tinywizard.nz at gmail.com (Phil Y) Date: Sat, 12 May 2007 09:57:10 +1200 Subject: (PHP) My OpenID no longer working? In-Reply-To: <20070511214504.GP30499@janrain.com> References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> <20070511214504.GP30499@janrain.com> Message-ID: > At any rate, we're going to update myopenid.com so that it only > advertises HTTPS server URLs in the XRDS *if* you fetch the identity > URL as an HTTPS URL. (Which is to say, we'll be reverting its > behavior to the previous behavior.) > Please let us know when that happens - it has (still is) causing us grief -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070512/cf133afa/attachment.html From cygnus at janrain.com Fri May 11 15:04:54 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Fri, 11 May 2007 15:04:54 -0700 Subject: (PHP) My OpenID no longer working? In-Reply-To: References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> <20070511214504.GP30499@janrain.com> Message-ID: <20070511220454.GQ30499@janrain.com> # Please let us know when that happens - it has (still is) causing us # grief In a few minutes, a fix will be live on myopenid. -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From justin at loudisrelative.com Fri May 11 15:08:34 2007 From: justin at loudisrelative.com (Justin Burger) Date: Fri, 11 May 2007 15:08:34 -0700 Subject: (PHP) My OpenID no longer working? In-Reply-To: References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> <20070511214504.GP30499@janrain.com> Message-ID: <2b9422ea0705111508k54a1ae08h150f1e60880822b@mail.gmail.com> not to continue this point... but... Is this something that is going to happen today, tomorrow, in a week..etc..? I am getting emails from users pretty regularly now, and really don't want to have to get a cert, and deal with HTTPS for this if it's going to be fixed today.. On 5/11/07, Phil Y wrote: > > > > At any rate, we're going to update myopenid.com so that it only > > advertises HTTPS server URLs in the XRDS *if* you fetch the identity > > URL as an HTTPS URL. (Which is to say, we'll be reverting its > > behavior to the previous behavior.) > > > > > Please let us know when that happens - it has (still is) causing us grief > > _______________________________________________ > Dev mailing list > Dev at lists.openidenabled.com > http://lists.openidenabled.com/mailman/listinfo/dev > > From cygnus at janrain.com Fri May 11 15:09:15 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Fri, 11 May 2007 15:09:15 -0700 Subject: (PHP) My OpenID no longer working? In-Reply-To: <2b9422ea0705111508k54a1ae08h150f1e60880822b@mail.gmail.com> References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> <20070511214504.GP30499@janrain.com> <2b9422ea0705111508k54a1ae08h150f1e60880822b@mail.gmail.com> Message-ID: <20070511220915.GR30499@janrain.com> # I am getting emails from users pretty regularly now, and really # don't want to have to get a cert, and deal with HTTPS for this if # it's going to be fixed today.. I was referring to PHP's ability to fetch SSL-based content. You don't need to get a cert. -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From damnian at gmail.com Fri May 11 15:16:23 2007 From: damnian at gmail.com (damnian) Date: Sat, 12 May 2007 00:16:23 +0200 Subject: (PHP) My OpenID no longer working? In-Reply-To: <20070511220915.GR30499@janrain.com> References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> <20070511214504.GP30499@janrain.com> <2b9422ea0705111508k54a1ae08h150f1e60880822b@mail.gmail.com> <20070511220915.GR30499@janrain.com> Message-ID: Shouldn't you be fixing the PHP library (rather than breaking myopenid.com?) From cygnus at janrain.com Fri May 11 15:23:45 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Fri, 11 May 2007 15:23:45 -0700 Subject: (PHP) My OpenID no longer working? In-Reply-To: References: <2b9422ea0705111408w3e060bc0xeca0452b203063f5@mail.gmail.com> <20070511211527.GN30499@janrain.com> <2b9422ea0705111439g57c5c0c1s9e67989c41a67721@mail.gmail.com> <20070511214504.GP30499@janrain.com> <2b9422ea0705111508k54a1ae08h150f1e60880822b@mail.gmail.com> <20070511220915.GR30499@janrain.com> Message-ID: <20070511222345.GT30499@janrain.com> # Shouldn't you be fixing the PHP library (rather than breaking # myopenid.com?) There are two independent problems: - The XRDS advertisement on Myopend.com changed. It was previously *dependent upon the requested protocol*. It changed to always being HTTPS, which clearly breaks any fetcher that doesn't speak SSL. It is again dependent upon the requested protocol. So, if you ask for http://cygnus.myopenid.com/ You'll get an http:// XRDS URL, which will have http:// server URLs; likewise for https://. - The PHP OpenID library suffered from a session-management bug that only gets triggered when an XRDS has more than one service element. Until our release recently, the Myopenid.com XRDSs only contained one element. Now they contain three. The bug surfaces when OpenID auth fails on one of the service elements (for example, caused by, say, an HTTPS server URI). The upstream OpenID 2 repository contains this fix, and myopenid.com is now fixed, too. -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From g_bloggs at hotmail.com Sun May 13 00:17:52 2007 From: g_bloggs at hotmail.com (George Bloggs) Date: Sun, 13 May 2007 07:17:52 +0000 Subject: OpenID authentication failed: Bad signature Message-ID: Hi. I'm nearly there. I'm getting this error when attempting to connect: OpenID authentication failed: Bad signature I have found some thread suggesting the problem is with GMP, but I dont have this installed. Is there a solution or something I have missed? I am not able to add in GMP support on this development/test box, but the production server does have GMP support built in. I really would like to be able to continue to use this development/test box without having to publish code live to test it. I'm running on a WinXP/Apache2.2/PHP5.1.2 box *WITHOUT* GMP support. The detect.php script reports: ... Math support Your PHP installation has bcmath support. This is adequate for small-scale use, but can be CPU-intensive. You may want to look into installing the GMP extension. See http://www.php.net/manual/en/ref.gmp.php for more information about the GMP extension. Cryptographic-quality randomness source Using (insecure) pseudorandom number source, because Auth_OpenID_RAND_SOURCE has been defined as null. ... _________________________________________________________________ Try Live.com - your fast, personalized homepage with all the things you care about in one place. http://www.live.com/getstarted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070513/63508bea/attachment.htm From joseph at pixelveggie.com Mon May 14 07:19:27 2007 From: joseph at pixelveggie.com (Joseph Khater) Date: Mon, 14 May 2007 17:19:27 +0300 Subject: help in PHP openid server Message-ID: <000001c79632$e39f5630$aade0290$@com> Dear Sirs I installed PHP opened server on my local server from http://www.openidenabled.com/openid/php-standalone-openid-server/ As long as I ran the script I got this error: Warning: main(DB.php): failed to open stream: No such file or directory in g:\openid\php-server-1.1\src\backends.php on line 8 Fatal error: main(): Failed opening required 'DB.php' (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in g:\openid\php-server-1.1\src\backends.php on line 8 Where can I find this DB.php its not in the downloaded files. thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070514/22c16004/attachment.html From cweiske at cweiske.de Mon May 14 07:22:36 2007 From: cweiske at cweiske.de (Christian Weiske) Date: Mon, 14 May 2007 16:22:36 +0200 Subject: help in PHP openid server In-Reply-To: <000001c79632$e39f5630$aade0290$@com> References: <000001c79632$e39f5630$aade0290$@com> Message-ID: <464870AC.4090105@cweiske.de> Joseph, > Warning: main(DB.php): failed to open stream: No such file or directory in > g:\openid\php-server-1.1\src\backends.php on line 8 > Where can I find this DB.php its not in the downloaded files. $ pear install DB -- Regards/Mit freundlichen Gr??en Christian Weiske -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070514/af878ea6/attachment.pgp From amm03 at tid.es Mon May 14 07:23:31 2007 From: amm03 at tid.es (Antonio Martinez Martinez) Date: Mon, 14 May 2007 16:23:31 +0200 Subject: help in PHP openid server In-Reply-To: <000001c79632$e39f5630$aade0290$@com> References: <000001c79632$e39f5630$aade0290$@com> Message-ID: <464870E3.7090504@tid.es> An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070514/b28dc38e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: logo_sdbn.jpg Type: image/jpeg Size: 22021 bytes Desc: not available Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070514/b28dc38e/attachment-0001.jpg From joseph at pixelveggie.com Mon May 14 07:45:21 2007 From: joseph at pixelveggie.com (Joseph Khater) Date: Mon, 14 May 2007 17:45:21 +0300 Subject: help in PHP openid server In-Reply-To: <464870E3.7090504@tid.es> References: <000001c79632$e39f5630$aade0290$@com> <464870E3.7090504@tid.es> Message-ID: <001401c79636$81897c60$849c7520$@com> Hi again I installed PEAR library as you told me now I am getting this: Warning: main(Auth/OpenID/Server.php): failed to open stream: No such file or directory in g:\openid\php-server-1.1\src\common.php on line 8 Fatal error: main(): Failed opening required 'Auth/OpenID/Server.php' (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in g:\openid\php-server-1.1\src\common.php on line 8 Any suggestion? From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez Martinez Sent: Monday, May 14, 2007 5:24 PM To: discuss OpenID libraries and development Subject: Re: help in PHP openid server Joseph Khater escribi?: Dear Sirs I installed PHP opened server on my local server from http://www.openidenabled.com/openid/php-standalone-openid-server/ As long as I ran the script I got this error: Warning: main(DB.php): failed to open stream: No such file or directory in g:\openid\php-server-1.1\src\backends.php on line 8 Fatal error: main(): Failed opening required 'DB.php' (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in g:\openid\php-server-1.1\src\backends.php on line 8 Where can I find this DB.php its not in the downloaded files thanks _____ _______________________________________________ Dev mailing list Dev at lists.openidenabled.com http://lists.openidenabled.com/mailman/listinfo/dev Hi Joseph, In order to have "DB.php" running you must install the PEAR library, by executing the "go-pear.bat" file if you work in Windows. That's all. HTH. Regards -- Antonio Mart?nez Mart?nez Consultor ____________________________________________ Altran Parque Empresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altransdb.com Antes de imprimir, piense en el medio ambiente. Before you print, think about the environment -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070514/a2a63013/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 2059 bytes Desc: not available Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070514/a2a63013/attachment.jpe From amm03 at tid.es Mon May 14 07:50:11 2007 From: amm03 at tid.es (Antonio Martinez Martinez) Date: Mon, 14 May 2007 16:50:11 +0200 Subject: help in PHP openid server In-Reply-To: <001401c79636$81897c60$849c7520$@com> References: <000001c79632$e39f5630$aade0290$@com> <464870E3.7090504@tid.es> <001401c79636$81897c60$849c7520$@com> Message-ID: <46487723.2060907@tid.es> Joseph Khater escribi?: > > Hi again? > > I installed PEAR library as you told me now I am getting this: > > > *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No > such file or directory in *g:\openid\php-server-1.1\src\common.php* on > line *8* > > *Fatal error*: main(): Failed opening required > 'Auth/OpenID/Server.php' > (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > *g:\openid\php-server-1.1\src\common.php* on line *8* > > * * > > *Any suggestion?* > > *From:* dev-bounces at lists.openidenabled.com > [mailto:dev-bounces at lists.openidenabled.com] *On Behalf Of *Antonio > Martinez Martinez > *Sent:* Monday, May 14, 2007 5:24 PM > *To:* discuss OpenID libraries and development > *Subject:* Re: help in PHP openid server > > Joseph Khater escribi?: > > Dear Sirs > > I installed PHP opened server on my local server from > http://www.openidenabled.com/openid/php-standalone-openid-server/ > > As long as I ran the script I got this error: > > > *Warning*: main(DB.php): failed to open stream: No such file or > directory in *g:\openid\php-server-1.1\src\backends.php* on line *8* > > *Fatal error*: main(): Failed opening required 'DB.php' > (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > *g:\openid\php-server-1.1\src\backends.php* on line *8* > > * * > > Where can I find this DB.php its not in the downloaded files? > > thanks > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > Dev mailing list > Dev at lists.openidenabled.com > http://lists.openidenabled.com/mailman/listinfo/dev > > > Hi Joseph, > > In order to have "DB.php" running you must install the PEAR library, > by executing the "go-pear.bat" file if you work in Windows. > > That's all. > > HTH. > > Regards > > -- > > Antonio Mart?nez Mart?nez > > Consultor > > ____________________________________________ > > *Altran* > > Parque Empresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > > www.altransdb.com > > */Antes de imprimir, piense en el medio ambiente. > Before you print, think about the environment/* > > ------------------------------------------------------------------------ > > _______________________________________________ > Dev mailing list > Dev at lists.openidenabled.com > http://lists.openidenabled.com/mailman/listinfo/dev > *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No such file or directory in *g:\openid\php-server-1.1\src\common.php* on line *8* *Fatal error*: main(): Failed opening required 'Auth/OpenID/Server.php' (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in *g:\openid\php-server-1.1\src\common.php* on line *8 *You need to add to the "include_path" sentence of "php.ini" the path to "Auth" and "Services" folders. HTH. Regards -- Antonio Mart?nez Mart?nez Consultor ____________________________________________ *Altran* Parque Empresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altransdb.com Antes de imprimir, piense en el medio ambiente. Before you print, think about the environment From joseph at pixelveggie.com Mon May 14 08:08:03 2007 From: joseph at pixelveggie.com (Joseph Khater) Date: Mon, 14 May 2007 18:08:03 +0300 Subject: help in PHP openid server In-Reply-To: <46487723.2060907@tid.es> References: <000001c79632$e39f5630$aade0290$@com> <464870E3.7090504@tid.es> <001401c79636$81897c60$849c7520$@com> <46487723.2060907@tid.es> Message-ID: <002001c79639$ad9d2dd0$08d78970$@com> Can you please illustrate to me the exact sentence? thanks -----Original Message----- From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez Martinez Sent: Monday, May 14, 2007 5:50 PM To: discuss OpenID libraries and development Subject: Re: help in PHP openid server Joseph Khater escribi?: > > Hi again > > I installed PEAR library as you told me now I am getting this: > > > *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No > such file or directory in *g:\openid\php-server-1.1\src\common.php* on > line *8* > > *Fatal error*: main(): Failed opening required > 'Auth/OpenID/Server.php' > (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > *g:\openid\php-server-1.1\src\common.php* on line *8* > > * * > > *Any suggestion?* > > *From:* dev-bounces at lists.openidenabled.com > [mailto:dev-bounces at lists.openidenabled.com] *On Behalf Of *Antonio > Martinez Martinez > *Sent:* Monday, May 14, 2007 5:24 PM > *To:* discuss OpenID libraries and development > *Subject:* Re: help in PHP openid server > > Joseph Khater escribi?: > > Dear Sirs > > I installed PHP opened server on my local server from > http://www.openidenabled.com/openid/php-standalone-openid-server/ > > As long as I ran the script I got this error: > > > *Warning*: main(DB.php): failed to open stream: No such file or > directory in *g:\openid\php-server-1.1\src\backends.php* on line *8* > > *Fatal error*: main(): Failed opening required 'DB.php' > (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > *g:\openid\php-server-1.1\src\backends.php* on line *8* > > * * > > Where can I find this DB.php its not in the downloaded files > > thanks > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > Dev mailing list > Dev at lists.openidenabled.com > http://lists.openidenabled.com/mailman/listinfo/dev > > > Hi Joseph, > > In order to have "DB.php" running you must install the PEAR library, > by executing the "go-pear.bat" file if you work in Windows. > > That's all. > > HTH. > > Regards > > -- > > Antonio Mart?nez Mart?nez > > Consultor > > ____________________________________________ > > *Altran* > > Parque Empresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > > www.altransdb.com > > */Antes de imprimir, piense en el medio ambiente. > Before you print, think about the environment/* > > ------------------------------------------------------------------------ > > _______________________________________________ > Dev mailing list > Dev at lists.openidenabled.com > http://lists.openidenabled.com/mailman/listinfo/dev > *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No such file or directory in *g:\openid\php-server-1.1\src\common.php* on line *8* *Fatal error*: main(): Failed opening required 'Auth/OpenID/Server.php' (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in *g:\openid\php-server-1.1\src\common.php* on line *8 *You need to add to the "include_path" sentence of "php.ini" the path to "Auth" and "Services" folders. HTH. Regards -- Antonio Mart?nez Mart?nez Consultor ____________________________________________ *Altran* Parque Empresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altransdb.com Antes de imprimir, piense en el medio ambiente. Before you print, think about the environment _______________________________________________ Dev mailing list Dev at lists.openidenabled.com http://lists.openidenabled.com/mailman/listinfo/dev From amm03 at tid.es Mon May 14 08:13:55 2007 From: amm03 at tid.es (Antonio Martinez Martinez) Date: Mon, 14 May 2007 17:13:55 +0200 Subject: help in PHP openid server In-Reply-To: <002001c79639$ad9d2dd0$08d78970$@com> References: <000001c79632$e39f5630$aade0290$@com> <464870E3.7090504@tid.es> <001401c79636$81897c60$849c7520$@com> <46487723.2060907@tid.es> <002001c79639$ad9d2dd0$08d78970$@com> Message-ID: <46487CB3.2030806@tid.es> Joseph Khater escribi?: > Can you please illustrate to me the exact sentence? > thanks > > -----Original Message----- > From: dev-bounces at lists.openidenabled.com > [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez > Martinez > Sent: Monday, May 14, 2007 5:50 PM > To: discuss OpenID libraries and development > Subject: Re: help in PHP openid server > > Joseph Khater escribi?: > >> Hi again? >> >> I installed PEAR library as you told me now I am getting this: >> >> >> *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No >> such file or directory in *g:\openid\php-server-1.1\src\common.php* on >> line *8* >> >> *Fatal error*: main(): Failed opening required >> 'Auth/OpenID/Server.php' >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in >> *g:\openid\php-server-1.1\src\common.php* on line *8* >> >> * * >> >> *Any suggestion?* >> >> *From:* dev-bounces at lists.openidenabled.com >> [mailto:dev-bounces at lists.openidenabled.com] *On Behalf Of *Antonio >> Martinez Martinez >> *Sent:* Monday, May 14, 2007 5:24 PM >> *To:* discuss OpenID libraries and development >> *Subject:* Re: help in PHP openid server >> >> Joseph Khater escribi?: >> >> Dear Sirs >> >> I installed PHP opened server on my local server from >> http://www.openidenabled.com/openid/php-standalone-openid-server/ >> >> As long as I ran the script I got this error: >> >> >> *Warning*: main(DB.php): failed to open stream: No such file or >> directory in *g:\openid\php-server-1.1\src\backends.php* on line *8* >> >> *Fatal error*: main(): Failed opening required 'DB.php' >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in >> *g:\openid\php-server-1.1\src\backends.php* on line *8* >> >> * * >> >> Where can I find this DB.php its not in the downloaded files? >> >> thanks >> >> >> ------------------------------------------------------------------------ >> >> >> >> >> _______________________________________________ >> Dev mailing list >> Dev at lists.openidenabled.com >> http://lists.openidenabled.com/mailman/listinfo/dev >> >> >> Hi Joseph, >> >> In order to have "DB.php" running you must install the PEAR library, >> by executing the "go-pear.bat" file if you work in Windows. >> >> That's all. >> >> HTH. >> >> Regards >> >> -- >> >> Antonio Mart?nez Mart?nez >> >> Consultor >> >> ____________________________________________ >> >> *Altran* >> >> Parque Empresarial Las Mercedes, Edificio 1 >> C/ Campezo, 1. 28022 Madrid >> Tel : + 34 91 744 46 00 >> Fax: + 34 91 415 24 57 >> >> www.altransdb.com >> >> */Antes de imprimir, piense en el medio ambiente. >> Before you print, think about the environment/* >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Dev mailing list >> Dev at lists.openidenabled.com >> http://lists.openidenabled.com/mailman/listinfo/dev >> >> > > *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No such > file or directory in *g:\openid\php-server-1.1\src\common.php* on line *8* > > *Fatal error*: main(): Failed opening required 'Auth/OpenID/Server.php' > (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > *g:\openid\php-server-1.1\src\common.php* on line *8 > > > *You need to add to the "include_path" sentence of "php.ini" the path to > "Auth" and "Services" folders. > > HTH. > > Regards > You have to write on "php.ini" file the paths you need, in order to run php library. In that file, there's a line in which you do this. In my case, is something like: include_path = ".;.\janrain;.\janrain\Auth;.\janrain\Services;..\php\pear" HTH. -- Antonio Mart?nez Mart?nez Consultor ____________________________________________ *Altran* Parque Empresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altransdb.com Antes de imprimir, piense en el medio ambiente. Before you print, think about the environment From joseph at pixelveggie.com Mon May 14 08:25:44 2007 From: joseph at pixelveggie.com (Joseph Khater) Date: Mon, 14 May 2007 18:25:44 +0300 Subject: help in PHP openid server In-Reply-To: <46487CB3.2030806@tid.es> References: <000001c79632$e39f5630$aade0290$@com> <464870E3.7090504@tid.es> <001401c79636$81897c60$849c7520$@com> <46487723.2060907@tid.es> <002001c79639$ad9d2dd0$08d78970$@com> <46487CB3.2030806@tid.es> Message-ID: <002101c7963c$255aa490$700fedb0$@com> I got something like this: include_path = ".;${path}\php\pear\;G:\openid\Auth_OpenID-1.2.2\Auth_OpenID-1.2.2\Auth\;G:\ openid\Auth_OpenID-1.2.2\Auth_OpenID-1.2.2\Services\" same problem... -----Original Message----- From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez Martinez Sent: Monday, May 14, 2007 6:14 PM To: discuss OpenID libraries and development Subject: Re: help in PHP openid server Joseph Khater escribi?: > Can you please illustrate to me the exact sentence? > thanks > > -----Original Message----- > From: dev-bounces at lists.openidenabled.com > [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez > Martinez > Sent: Monday, May 14, 2007 5:50 PM > To: discuss OpenID libraries and development > Subject: Re: help in PHP openid server > > Joseph Khater escribi?: > >> Hi again >> >> I installed PEAR library as you told me now I am getting this: >> >> >> *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No >> such file or directory in *g:\openid\php-server-1.1\src\common.php* on >> line *8* >> >> *Fatal error*: main(): Failed opening required >> 'Auth/OpenID/Server.php' >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in >> *g:\openid\php-server-1.1\src\common.php* on line *8* >> >> * * >> >> *Any suggestion?* >> >> *From:* dev-bounces at lists.openidenabled.com >> [mailto:dev-bounces at lists.openidenabled.com] *On Behalf Of *Antonio >> Martinez Martinez >> *Sent:* Monday, May 14, 2007 5:24 PM >> *To:* discuss OpenID libraries and development >> *Subject:* Re: help in PHP openid server >> >> Joseph Khater escribi?: >> >> Dear Sirs >> >> I installed PHP opened server on my local server from >> http://www.openidenabled.com/openid/php-standalone-openid-server/ >> >> As long as I ran the script I got this error: >> >> >> *Warning*: main(DB.php): failed to open stream: No such file or >> directory in *g:\openid\php-server-1.1\src\backends.php* on line *8* >> >> *Fatal error*: main(): Failed opening required 'DB.php' >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in >> *g:\openid\php-server-1.1\src\backends.php* on line *8* >> >> * * >> >> Where can I find this DB.php its not in the downloaded files >> >> thanks >> >> >> ------------------------------------------------------------------------ >> >> >> >> >> _______________________________________________ >> Dev mailing list >> Dev at lists.openidenabled.com >> http://lists.openidenabled.com/mailman/listinfo/dev >> >> >> Hi Joseph, >> >> In order to have "DB.php" running you must install the PEAR library, >> by executing the "go-pear.bat" file if you work in Windows. >> >> That's all. >> >> HTH. >> >> Regards >> >> -- >> >> Antonio Mart?nez Mart?nez >> >> Consultor >> >> ____________________________________________ >> >> *Altran* >> >> Parque Empresarial Las Mercedes, Edificio 1 >> C/ Campezo, 1. 28022 Madrid >> Tel : + 34 91 744 46 00 >> Fax: + 34 91 415 24 57 >> >> www.altransdb.com >> >> */Antes de imprimir, piense en el medio ambiente. >> Before you print, think about the environment/* >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Dev mailing list >> Dev at lists.openidenabled.com >> http://lists.openidenabled.com/mailman/listinfo/dev >> >> > > *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No such > file or directory in *g:\openid\php-server-1.1\src\common.php* on line *8* > > *Fatal error*: main(): Failed opening required 'Auth/OpenID/Server.php' > (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > *g:\openid\php-server-1.1\src\common.php* on line *8 > > > *You need to add to the "include_path" sentence of "php.ini" the path to > "Auth" and "Services" folders. > > HTH. > > Regards > You have to write on "php.ini" file the paths you need, in order to run php library. In that file, there's a line in which you do this. In my case, is something like: include_path = ".;.\janrain;.\janrain\Auth;.\janrain\Services;..\php\pear" HTH. -- Antonio Mart?nez Mart?nez Consultor ____________________________________________ *Altran* Parque Empresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altransdb.com Antes de imprimir, piense en el medio ambiente. Before you print, think about the environment _______________________________________________ Dev mailing list Dev at lists.openidenabled.com http://lists.openidenabled.com/mailman/listinfo/dev From joseph at pixelveggie.com Mon May 14 08:52:29 2007 From: joseph at pixelveggie.com (Joseph Khater) Date: Mon, 14 May 2007 18:52:29 +0300 Subject: help in PHP openid server In-Reply-To: <46487CB3.2030806@tid.es> References: <000001c79632$e39f5630$aade0290$@com> <464870E3.7090504@tid.es> <001401c79636$81897c60$849c7520$@com> <46487723.2060907@tid.es> <002001c79639$ad9d2dd0$08d78970$@com> <46487CB3.2030806@tid.es> Message-ID: <002201c7963f$e31f8bf0$a95ea3d0$@com> I got something like this: include_path = ".;${path}\php\pear\;G:\openid\Auth_OpenID-1.2.2\Auth_OpenID-1.2.2\Auth\;G:\ openid\Auth_OpenID-1.2.2\Auth_OpenID-1.2.2\Services\" same problem... -----Original Message----- From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez Martinez Sent: Monday, May 14, 2007 6:14 PM To: discuss OpenID libraries and development Subject: Re: help in PHP openid server Joseph Khater escribi?: > Can you please illustrate to me the exact sentence? > thanks > > -----Original Message----- > From: dev-bounces at lists.openidenabled.com > [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez > Martinez > Sent: Monday, May 14, 2007 5:50 PM > To: discuss OpenID libraries and development > Subject: Re: help in PHP openid server > > Joseph Khater escribi?: > >> Hi again >> >> I installed PEAR library as you told me now I am getting this: >> >> >> *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No >> such file or directory in *g:\openid\php-server-1.1\src\common.php* on >> line *8* >> >> *Fatal error*: main(): Failed opening required >> 'Auth/OpenID/Server.php' >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in >> *g:\openid\php-server-1.1\src\common.php* on line *8* >> >> * * >> >> *Any suggestion?* >> >> *From:* dev-bounces at lists.openidenabled.com >> [mailto:dev-bounces at lists.openidenabled.com] *On Behalf Of *Antonio >> Martinez Martinez >> *Sent:* Monday, May 14, 2007 5:24 PM >> *To:* discuss OpenID libraries and development >> *Subject:* Re: help in PHP openid server >> >> Joseph Khater escribi?: >> >> Dear Sirs >> >> I installed PHP opened server on my local server from >> http://www.openidenabled.com/openid/php-standalone-openid-server/ >> >> As long as I ran the script I got this error: >> >> >> *Warning*: main(DB.php): failed to open stream: No such file or >> directory in *g:\openid\php-server-1.1\src\backends.php* on line *8* >> >> *Fatal error*: main(): Failed opening required 'DB.php' >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in >> *g:\openid\php-server-1.1\src\backends.php* on line *8* >> >> * * >> >> Where can I find this DB.php its not in the downloaded files >> >> thanks >> >> >> ------------------------------------------------------------------------ >> >> >> >> >> _______________________________________________ >> Dev mailing list >> Dev at lists.openidenabled.com >> http://lists.openidenabled.com/mailman/listinfo/dev >> >> >> Hi Joseph, >> >> In order to have "DB.php" running you must install the PEAR library, >> by executing the "go-pear.bat" file if you work in Windows. >> >> That's all. >> >> HTH. >> >> Regards >> >> -- >> >> Antonio Mart?nez Mart?nez >> >> Consultor >> >> ____________________________________________ >> >> *Altran* >> >> Parque Empresarial Las Mercedes, Edificio 1 >> C/ Campezo, 1. 28022 Madrid >> Tel : + 34 91 744 46 00 >> Fax: + 34 91 415 24 57 >> >> www.altransdb.com >> >> */Antes de imprimir, piense en el medio ambiente. >> Before you print, think about the environment/* >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Dev mailing list >> Dev at lists.openidenabled.com >> http://lists.openidenabled.com/mailman/listinfo/dev >> >> > > *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No such > file or directory in *g:\openid\php-server-1.1\src\common.php* on line *8* > > *Fatal error*: main(): Failed opening required 'Auth/OpenID/Server.php' > (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > *g:\openid\php-server-1.1\src\common.php* on line *8 > > > *You need to add to the "include_path" sentence of "php.ini" the path to > "Auth" and "Services" folders. > > HTH. > > Regards > You have to write on "php.ini" file the paths you need, in order to run php library. In that file, there's a line in which you do this. In my case, is something like: include_path = ".;.\janrain;.\janrain\Auth;.\janrain\Services;..\php\pear" HTH. -- Antonio Mart?nez Mart?nez Consultor ____________________________________________ *Altran* Parque Empresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altransdb.com Antes de imprimir, piense en el medio ambiente. Before you print, think about the environment _______________________________________________ Dev mailing list Dev at lists.openidenabled.com http://lists.openidenabled.com/mailman/listinfo/dev From cygnus at janrain.com Mon May 14 15:08:11 2007 From: cygnus at janrain.com (Jonathan Daugherty) Date: Mon, 14 May 2007 15:08:11 -0700 Subject: OpenID authentication failed: Bad signature In-Reply-To: References: Message-ID: <20070514220811.GA7139@janrain.com> # I'm getting this error when attempting to connect: # OpenID authentication failed: Bad signature Please supply: - The contents of the consumer's redirect to the server - The contents of the server's redirect back to the consumer - The pertinent code in your consumer application that begins and finishes OpenID Also, is this problem consistently reproducible? -- Jonathan Daugherty JanRain, Inc. irc.freenode.net: cygnus in #openid cygnus.myopenid.com From joseph at pixelveggie.com Tue May 15 03:38:03 2007 From: joseph at pixelveggie.com (Joseph Khater) Date: Tue, 15 May 2007 13:38:03 +0300 Subject: help in PHP openid server In-Reply-To: <46487CB3.2030806@tid.es> References: <000001c79632$e39f5630$aade0290$@com> <464870E3.7090504@tid.es> <001401c79636$81897c60$849c7520$@com> <46487723.2060907@tid.es> <002001c79639$ad9d2dd0$08d78970$@com> <46487CB3.2030806@tid.es> Message-ID: <000301c796dd$20267ac0$60737040$@com> What about this? Warning: main(/usr/share/php/Smarty//Smarty.class.php): failed to open stream: No such file or directory in g:\openid\php-server-1.1\src\common.php on line 16 -----Original Message----- From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez Martinez Sent: Monday, May 14, 2007 6:14 PM To: discuss OpenID libraries and development Subject: Re: help in PHP openid server Joseph Khater escribi?: > Can you please illustrate to me the exact sentence? > thanks > > -----Original Message----- > From: dev-bounces at lists.openidenabled.com > [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez > Martinez > Sent: Monday, May 14, 2007 5:50 PM > To: discuss OpenID libraries and development > Subject: Re: help in PHP openid server > > Joseph Khater escribi?: > >> Hi again >> >> I installed PEAR library as you told me now I am getting this: >> >> >> *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No >> such file or directory in *g:\openid\php-server-1.1\src\common.php* on >> line *8* >> >> *Fatal error*: main(): Failed opening required >> 'Auth/OpenID/Server.php' >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in >> *g:\openid\php-server-1.1\src\common.php* on line *8* >> >> * * >> >> *Any suggestion?* >> >> *From:* dev-bounces at lists.openidenabled.com >> [mailto:dev-bounces at lists.openidenabled.com] *On Behalf Of *Antonio >> Martinez Martinez >> *Sent:* Monday, May 14, 2007 5:24 PM >> *To:* discuss OpenID libraries and development >> *Subject:* Re: help in PHP openid server >> >> Joseph Khater escribi?: >> >> Dear Sirs >> >> I installed PHP opened server on my local server from >> http://www.openidenabled.com/openid/php-standalone-openid-server/ >> >> As long as I ran the script I got this error: >> >> >> *Warning*: main(DB.php): failed to open stream: No such file or >> directory in *g:\openid\php-server-1.1\src\backends.php* on line *8* >> >> *Fatal error*: main(): Failed opening required 'DB.php' >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in >> *g:\openid\php-server-1.1\src\backends.php* on line *8* >> >> * * >> >> Where can I find this DB.php its not in the downloaded files >> >> thanks >> >> >> ------------------------------------------------------------------------ >> >> >> >> >> _______________________________________________ >> Dev mailing list >> Dev at lists.openidenabled.com >> http://lists.openidenabled.com/mailman/listinfo/dev >> >> >> Hi Joseph, >> >> In order to have "DB.php" running you must install the PEAR library, >> by executing the "go-pear.bat" file if you work in Windows. >> >> That's all. >> >> HTH. >> >> Regards >> >> -- >> >> Antonio Mart?nez Mart?nez >> >> Consultor >> >> ____________________________________________ >> >> *Altran* >> >> Parque Empresarial Las Mercedes, Edificio 1 >> C/ Campezo, 1. 28022 Madrid >> Tel : + 34 91 744 46 00 >> Fax: + 34 91 415 24 57 >> >> www.altransdb.com >> >> */Antes de imprimir, piense en el medio ambiente. >> Before you print, think about the environment/* >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Dev mailing list >> Dev at lists.openidenabled.com >> http://lists.openidenabled.com/mailman/listinfo/dev >> >> > > *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No such > file or directory in *g:\openid\php-server-1.1\src\common.php* on line *8* > > *Fatal error*: main(): Failed opening required 'Auth/OpenID/Server.php' > (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > *g:\openid\php-server-1.1\src\common.php* on line *8 > > > *You need to add to the "include_path" sentence of "php.ini" the path to > "Auth" and "Services" folders. > > HTH. > > Regards > You have to write on "php.ini" file the paths you need, in order to run php library. In that file, there's a line in which you do this. In my case, is something like: include_path = ".;.\janrain;.\janrain\Auth;.\janrain\Services;..\php\pear" HTH. -- Antonio Mart?nez Mart?nez Consultor ____________________________________________ *Altran* Parque Empresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel : + 34 91 744 46 00 Fax: + 34 91 415 24 57 www.altransdb.com Antes de imprimir, piense en el medio ambiente. Before you print, think about the environment _______________________________________________ Dev mailing list Dev at lists.openidenabled.com http://lists.openidenabled.com/mailman/listinfo/dev From joseph at pixelveggie.com Tue May 15 04:02:29 2007 From: joseph at pixelveggie.com (Joseph Khater) Date: Tue, 15 May 2007 14:02:29 +0300 Subject: No subject Message-ID: <000401c796e0$899c21a0$9cd464e0$@com> Dear Sirs I installed PHP opened server on my local server from http://www.openidenabled.com/openid/php-standalone-openid-server/ As long as I ran the script I got this error: Warning: main(/usr/share/php/Smarty//Smarty.class.php): failed to open stream: No such file or directory in g:\openid\php-server-1.1\src\common.php on line 16 Any comment? Solution?. thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070515/c807428a/attachment.html From vkusnaya at gmail.com Tue May 15 04:26:48 2007 From: vkusnaya at gmail.com (Supercharged) Date: Tue, 15 May 2007 17:26:48 +0600 Subject: help in PHP openid server In-Reply-To: <000301c796dd$20267ac0$60737040$@com> References: <000001c79632$e39f5630$aade0290$@com> <464870E3.7090504@tid.es> <001401c79636$81897c60$849c7520$@com> <46487723.2060907@tid.es> <002001c79639$ad9d2dd0$08d78970$@com> <46487CB3.2030806@tid.es> <000301c796dd$20267ac0$60737040$@com> Message-ID: So much people asking same questions about failed includes in library. Maybe it's necessary to do something with include paths in source codes? On 5/15/07, Joseph Khater wrote: > What about this? > > > Warning: main(/usr/share/php/Smarty//Smarty.class.php): failed to open > stream: No such file or directory in g:\openid\php-server-1.1\src\common.php > on line 16 > > -----Original Message----- > From: dev-bounces at lists.openidenabled.com > [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez > Martinez > Sent: Monday, May 14, 2007 6:14 PM > To: discuss OpenID libraries and development > Subject: Re: help in PHP openid server > > Joseph Khater escribi?: > > Can you please illustrate to me the exact sentence? > > thanks > > > > -----Original Message----- > > From: dev-bounces at lists.openidenabled.com > > [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez > > Martinez > > Sent: Monday, May 14, 2007 5:50 PM > > To: discuss OpenID libraries and development > > Subject: Re: help in PHP openid server > > > > Joseph Khater escribi?: > > > >> Hi again? > >> > >> I installed PEAR library as you told me now I am getting this: > >> > >> > >> *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No > >> such file or directory in *g:\openid\php-server-1.1\src\common.php* on > >> line *8* > >> > >> *Fatal error*: main(): Failed opening required > >> 'Auth/OpenID/Server.php' > >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > >> *g:\openid\php-server-1.1\src\common.php* on line *8* > >> > >> * * > >> > >> *Any suggestion?* > >> > >> *From:* dev-bounces at lists.openidenabled.com > >> [mailto:dev-bounces at lists.openidenabled.com] *On Behalf Of *Antonio > >> Martinez Martinez > >> *Sent:* Monday, May 14, 2007 5:24 PM > >> *To:* discuss OpenID libraries and development > >> *Subject:* Re: help in PHP openid server > >> > >> Joseph Khater escribi?: > >> > >> Dear Sirs > >> > >> I installed PHP opened server on my local server from > >> http://www.openidenabled.com/openid/php-standalone-openid-server/ > >> > >> As long as I ran the script I got this error: > >> > >> > >> *Warning*: main(DB.php): failed to open stream: No such file or > >> directory in *g:\openid\php-server-1.1\src\backends.php* on line *8* > >> > >> *Fatal error*: main(): Failed opening required 'DB.php' > >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > >> *g:\openid\php-server-1.1\src\backends.php* on line *8* > >> > >> * * > >> > >> Where can I find this DB.php its not in the downloaded files? > >> > >> thanks > >> > >> > >> ------------------------------------------------------------------------ > >> > >> > >> > >> > >> _______________________________________________ > >> Dev mailing list > >> Dev at lists.openidenabled.com > >> http://lists.openidenabled.com/mailman/listinfo/dev > >> > >> > >> Hi Joseph, > >> > >> In order to have "DB.php" running you must install the PEAR library, > >> by executing the "go-pear.bat" file if you work in Windows. > >> > >> That's all. > >> > >> HTH. > >> > >> Regards > >> > >> -- > >> > >> Antonio Mart?nez Mart?nez > >> > >> Consultor > >> > >> ____________________________________________ > >> > >> *Altran* > >> > >> Parque Empresarial Las Mercedes, Edificio 1 > >> C/ Campezo, 1. 28022 Madrid > >> Tel : + 34 91 744 46 00 > >> Fax: + 34 91 415 24 57 > >> > >> www.altransdb.com > >> > >> */Antes de imprimir, piense en el medio ambiente. > >> Before you print, think about the environment/* > >> > >> ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Dev mailing list > >> Dev at lists.openidenabled.com > >> http://lists.openidenabled.com/mailman/listinfo/dev > >> > >> > > > > *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No such > > file or directory in *g:\openid\php-server-1.1\src\common.php* on line *8* > > > > *Fatal error*: main(): Failed opening required 'Auth/OpenID/Server.php' > > (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > > *g:\openid\php-server-1.1\src\common.php* on line *8 > > > > > > *You need to add to the "include_path" sentence of "php.ini" the path to > > "Auth" and "Services" folders. > > > > HTH. > > > > Regards > > > You have to write on "php.ini" file the paths you need, in order to run > php library. > > In that file, there's a line in which you do this. In my case, is > something like: > > include_path = ".;.\janrain;.\janrain\Auth;.\janrain\Services;..\php\pear" > > HTH. > > -- > > > Antonio Mart?nez Mart?nez > > Consultor > > ____________________________________________ > > *Altran* > > Parque Empresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel : + 34 91 744 46 00 > Fax: + 34 91 415 24 57 > > www.altransdb.com > > Antes de imprimir, piense en el medio ambiente. > Before you print, think about the environment > > > _______________________________________________ > Dev mailing list > Dev at lists.openidenabled.com > http://lists.openidenabled.com/mailman/listinfo/dev > > > > > _______________________________________________ > Dev mailing list > Dev at lists.openidenabled.com > http://lists.openidenabled.com/mailman/listinfo/dev > From joseph at pixelveggie.com Tue May 15 04:45:57 2007 From: joseph at pixelveggie.com (Joseph Khater) Date: Tue, 15 May 2007 14:45:57 +0300 Subject: help in PHP openid server In-Reply-To: References: <000001c79632$e39f5630$aade0290$@com> <464870E3.7090504@tid.es> <001401c79636$81897c60$849c7520$@com> <46487723.2060907@tid.es> <002001c79639$ad9d2dd0$08d78970$@com> <46487CB3.2030806@tid.es> <000301c796dd$20267ac0$60737040$@com> Message-ID: <000f01c796e6$9cf70f70$d6e52e50$@com> I tried to edit the include paths but in reality the file itself doesn't exists on my server... -----Original Message----- From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Supercharged Sent: Tuesday, May 15, 2007 2:27 PM To: discuss OpenID libraries and development Subject: Re: help in PHP openid server So much people asking same questions about failed includes in library. Maybe it's necessary to do something with include paths in source codes? On 5/15/07, Joseph Khater wrote: > What about this? > > > Warning: main(/usr/share/php/Smarty//Smarty.class.php): failed to open > stream: No such file or directory in g:\openid\php-server-1.1\src\common.php > on line 16 > > -----Original Message----- > From: dev-bounces at lists.openidenabled.com > [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez > Martinez > Sent: Monday, May 14, 2007 6:14 PM > To: discuss OpenID libraries and development > Subject: Re: help in PHP openid server > > Joseph Khater escribi?: > > Can you please illustrate to me the exact sentence? > > thanks > > > > -----Original Message----- > > From: dev-bounces at lists.openidenabled.com > > [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Antonio Martinez > > Martinez > > Sent: Monday, May 14, 2007 5:50 PM > > To: discuss OpenID libraries and development > > Subject: Re: help in PHP openid server > > > > Joseph Khater escribi?: > > > >> Hi again? > >> > >> I installed PEAR library as you told me now I am getting this: > >> > >> > >> *Warning*: main(Auth/OpenID/Server.php): failed to open stream: No > >> such file or directory in *g:\openid\php-server-1.1\src\common.php* on > >> line *8* > >> > >> *Fatal error*: main(): Failed opening required > >> 'Auth/OpenID/Server.php' > >> (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in > >> *g:\openid\php-server-1.1\src\common.php* on line *8* > >> > >> * * > >> > >> *Any suggestion?* > >> > >> *From:* dev-bounces at lists.openidenabled.com > >> [mailto:dev-bounces at lists.openidenabled.com] *On Behalf Of *Antonio > >> Martinez Martinez > >> *Sent:* Monday, May 14, 2007 5:24 PM > >> *To:* discuss OpenID libraries and development > >> *Subject:* Re: help in PHP openid server > >> > >> Joseph Khater escribi?: > >> > >> Dear Sirs > >> > >> I installed PHP opened server on my local server from > >> http://www.openidenabled.com/openid/php-standalone-openid-server/ > >> > >> As lon