From: Torsten F. <fab...@va...> - 2010-12-09 21:46:06
|
Rehi, actually I remembered, that I have two installations on the other server with Intertiki activated and working (except single sign-on): server.example.de and client.example.de on both installations I did set the following: ------------------------------------------------------------------------- Cookie name: PHPSESSID Host: http://server.example.de -> I tried also with server.example.de Path: / ------------------------------------------------------------------------- Single Sign-on does NOT work either. Just to let ya know, if somebody wants to look into that. Cheers and read ya tomorrow Torsten Am 09.12.2010 22:04, schrieb Torsten Fabricius: > Hi luci (and all) > > thank you, but I still do not know how to find the (right) cookie name > or how to create a cookie that I can share, respectively *share for > several domains in the same installation.* > > I looked further into that and tried things: > > In the Tiki root I find: > tiki-cookie-jar.php I do not think that will lead me further by now, > so I left it for the moment. > > In my browser I find several cookies by my site: > tab ... tab_last_query ... PHPSESSID ... tabbed_admin_features ... > menu ... javascript_enabled ... local_tz ... runs_before_js_detected > > I have the name, the content, the host, the path, the connection type, > the duration > The first three are valid till the end of the session, the last four > are valid about a one year (Oct/Nov 2011) > > So I decided, that PHPSESSID might be the right cookie to be shared > and went ahead with that. > (btw. host and path are the same with all cookies) > > Here what my browser told me for the default domain of my installation > (sub.example.org): > ------------------------------------------------------------------------- > Name: PHPSESSID > Content: 00ec9950XXXXXXXXXXXXXXXXXXXXXXXXXX > Host: sub.example.org > Path: / > Send for: every connection type > valid until: end of session > ------------------------------------------------------------------------- > > So I did put in the http://sub.example.org installation > => http://sub.example.org/*tiki-admin.php?page=login* > (btw. sub.example.org is NOT assigned to a specific perspective ... it > is just the default.) > the following settings: > ------------------------------------------------------------------------- > Cookie name: PHPSESSID > Host: sub.example.org > Path: / > ------------------------------------------------------------------------- > > another subdomain (lets say http://testshare.example.org) on this > multidomain installation is assigned to 'perspective 21' > I tried to do the same setting there... > http://testshare.example.org/*tiki-edit_perspective.php?action=edit&id=21&cookietab=3* > ------------------------------------------------------------------------- > Cookie name: PHPSESSID > Host: sub.example.org > Path: / > ------------------------------------------------------------------------- > configuration search worked so far, I could configure that in(to) the > perspectives config area, but after logout and (re)login, > those individual settings are gone. > I guess cookies are part of those (few?) fundamental settings, that > you cannot be configured for the specific perspectives. > > OK, cookie PHPSESSID is now set in Tiki - Login. > I test it (deleted all cookies and cache in the browser first) and ... > ... still no single sign in - cookies are NOT shared. > > PHPSESSID for sub.example.org and for testshare.example.org do have > *two different contents and two different hosts*. > > sub.example.org: > ------------------------------------------------------------------------- > Name: PHPSESSID > Content: 85a8b587XXXXXXXXXXXXXXXXXXXXXXXXXX > Host: sub.example.org > Path: / > Send for: every connection type > valid until: end of session > ------------------------------------------------------------------------- > testshare.example.com: > ------------------------------------------------------------------------- > Name: PHPSESSID > Content: e7484525XXXXXXXXXXXXXXXXXXXXXXXXXX > Host: testshare.example.org > Path: / > Send for: every connection type > valid until: end of session > ------------------------------------------------------------------------- > > I can imagine, that this is a problem, that would appear with the new > ideas of multidomain workspaces in single installations. > LPH (Louis-Philippe) gave me some information on that, but due to my > lack of experience (and knowledge) I cannot estimate the momentousness > of what he said. > Refeering to OpenLDAP or Shibboleth I?d say would not so much be s.th. > that brings us further with Tiki. > We have Intertiki and it should be - in my personal mind - be possible > to setup an single-sign-on Tiki in an *easy way* > (to be handled by tiki-admin users without access to the server, to > ssh or even knowledge to install and admin OpenLDAP, CAS, Shibboleth etc.) > > So I guess it might be possible / would be necessary to get Tiki an > *option *to "tick: 'share Cookie' " and then just to type in the > appropriate datas. > Or perhabs Option: share cookies for domains ... one cookie per line - > multiple domains commaseperated ( or something like that - just an idea) > > I for myself will test the same setting with two or three singledomain > client installations against a master - using intertiki for > usermanagement. > > Will have time for that probably tomorrow evening and tell ya the results. > > Thanks for reading and for every reply and try to help finding a solution. > > Cheers > Torsten > > Am 09.12.2010 09:44, schrieb luci aka luciash d' being: >> hi, >> i just thought when you fill all of them the same, it will become shared >> then (in theory, or at least iirc it worked like that once) >> >> example: >> >> Cookie name: mysharedtiki >> Domain: .mysuperdupercooldomain.com >> Path: tiki >> >> luci >> >> >> On 12/09/2010 07:21 AM, Torsten Fabricius wrote: >>> Hi luci, >>> >>> is it the three following fields? >>> >>> Cookie name: >>> Domain: >>> Path: >>> >>> I have no idea, how to set a cookie sharing at that point, or what would >>> be the name of my cookie -> how can I find out? >>> >>> I guess, when I login against another installation, that should work - >>> isn?t it >>> That would probably be the domain. >>> >>> But how to know the path? >>> >>> I did read about sharing cookies on some websites, but did not yet get >>> enough knowledge out of my reearch, to get that done. >>> Could you help out pls? >>> >>> Cheers and thanks for reply >>> Torsten >>> >>> Am 09.12.2010 06:53, schrieb luci aka luciash d' being: >>> >>>> hi, the Login admin panel (tiki-admin.php?page=login) >>>> >>>> On 12/08/2010 06:20 AM, Torsten Fabricius wrote: >>>> >>>>> Hello there, >>>>> >>>>> I am developing a project with several subdomains on a single Tiki >>>>> Installation (Tiki6 now). >>>>> >>>>> For some usecase I need single login. >>>>> Got the advise to do that with external authentication, like OpenLDAP or >>>>> Shibboleth, etc. >>>>> That would be a big extra project. >>>>> >>>>> I got another advise, that it should be possible just to let the cookies >>>>> of the different subdomains (that are assigned to perspectives) be shared. >>>>> So my question: >>>>> does anybody know, where and how to do the setting/configuration that >>>>> the cookie(s) are shared? >>>>> >>>>> Thanks for any help >>>>> Torsten >>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> This SF Dev2Dev email is sponsored by: >>>> >>>> WikiLeaks The End of the Free Internet >>>> http://p.sf.net/sfu/therealnews-com >>>> _______________________________________________ >>>> Tikiwiki-users mailing list >>>> Tik...@li... >>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users >>>> >>>> >>> ------------------------------------------------------------------------------ >>> This SF Dev2Dev email is sponsored by: >>> >>> WikiLeaks The End of the Free Internet >>> http://p.sf.net/sfu/therealnews-com >>> _______________________________________________ >>> Tikiwiki-users mailing list >>> Tik...@li... >>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users >>> >>> ---------------------------------------- >>> Freehosting PIPNI -http://www.pipni.cz/ >>> >>> >> ------------------------------------------------------------------------------ >> This SF Dev2Dev email is sponsored by: >> >> WikiLeaks The End of the Free Internet >> http://p.sf.net/sfu/therealnews-com >> _______________________________________________ >> Tikiwiki-users mailing list >> Tik...@li... >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users |