To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9300
  [Parts Tracker] PT-to-PN Authentication
 
Hey all parts authors and reviewers (and admins)! I'm (slowly) working on modifying the webpages for the Parts Tracker so that it uses the same login/security as the rest of the ldraw.org site. I've got a simple page up that checks your privileges (...) (21 years ago, 11-Nov-03, to lugnet.cad.dev)  
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) Looks fine to me I have Review and Submit. It also displays something about POSTNUKESID whatever that is.... (...) Cool! Thanks for all your hard work! ROSCO (21 years ago, 11-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) Steve, I'm getting an error: Software error: Failed to connect to DBI:mysql:database=p...=localhost using at ./PT.pm line 234 For help, please send mail to the webmaster (webmaster@ldraw.org), giving this error message and the time and date of (...) (21 years ago, 11-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) It just shows me as Admin, even though my PT privs are Admin,Submit,Review Chris (21 years ago, 11-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) I just tried it, and it works for me, logged in and logged out. It kind of sounds like the user data wasn't available at the time you tried the page. Could you try it again? One other thought - do you have session cookies enabled? The script (...) (21 years ago, 11-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) I disabled my Firewall program and it works fine. Must have been something involving cookies. -Orion (21 years ago, 11-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
Steve, No joy for me. I logged into the PT OK, as usual: (URL) (think I) logged into the "main" page for LDraw.ORG OK: (URL) no joy: (URL) (21 years ago, 11-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) Ah, but your PN userid was only in the PT-admin group. I've added your user to the PT-authoring and PT-reviewing groups. Try it again, make sure it's OK. Steve (21 years ago, 12-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) :/ (...) I've made added a blind dump to pnauth.cgi, so even if it thinks you aren't logged in, it might tell us some useful information. Please give it another try, and let me know what it says. Steve (21 years ago, 12-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
=== Raw === Name: '' Userid: '' Roles: '' POSTNUKESID: 31284ced290e6ab2ba4c...4e40ce4435 === End Raw === (21 years ago, 12-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) Odd - I don't see that SID in the database. When did you log in? Did you log out? (21 years ago, 12-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
Your program hates me, Steve... >:( Logged out, logged back in, hit the test page, same [censored] result... === Raw === Name: '' Userid: '' Roles: '' POSTNUKESID: 31284ced290e6ab2ba4c...4e40ce4435 === End Raw === You are not logged into the (...) (21 years ago, 12-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) (while I'm not Steve, I'll reply anyway :) (...) That's even weirder! Since it's the same SID that you had before, and by logging out/logging in you should have gotten a new SID. Are you sure PN can set cookies on your machine? What browser (...) (21 years ago, 12-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
Since other web sites can set cookies on this computer, I presume that LDraw.org's new security stuff can do so as well. (...) Microsleaze Internet Exploder... (21 years ago, 12-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) It sounds like you've got cookie trouble. You might try deleting all your cookies, then try pnauth.cgi again. Steve (21 years ago, 13-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) How? The Parts Tracker can set cookies just fine on my PC. So can Yahoo Mail, Live Journal, Steve Jackson Games (both the Pyramid e-zine and the MIB "secret resources" page), Nation States... The *only* site which is having trouble setting (...) (21 years ago, 13-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) Now that's odd! The parts tracker doesn't set any cookies, as far as I know? Steve? (...) Right - so it seems that you have a problem overwriting your old cookie from ldraw, for some unknown reason. If you could delete that cookie, there's a (...) (21 years ago, 13-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) I dont think that's so odd. I had to disable the 3rd party cookie blocking feature of my firewall in order to get the script to work for me. Obviously, the Ldraw site sets it's cookie on my computer just fine but the PT Auth script choaked (...) (21 years ago, 13-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) What I meant was that the _current_ PT system does not use cookies, only basic HTTP auth. PostNuke does use cookies, of course. Dan (21 years ago, 13-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) I'm not sure I'm understanding what you wrote, let me double-check. "3rd party cookie blocking" is like preventing google.com from retrieving a cookie set by amazon.com? If that's so, it's very odd -- the code in pnauth.cgi is not doing (...) (21 years ago, 14-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) Yeah, no cookies. The only time I've touched any cookie code is in pnauth.cgi, and that's only retrieving a cookie already set. Steve (21 years ago, 14-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) "3rd party cookie blocking" is my firewall programs's term not mine. I looked up what exactly this is in the help file of the program and here what I got: A third-party cookie is a type of persistent cookie that is placed on your computer, not (...) (21 years ago, 14-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) What it means is say I include an image from peeron.com in my post on lugnet, using the FTX image tag. Now, when you view my post via the web interface, your browser will go to peeron.com to get the image and display it to you. When your (...) (21 years ago, 14-Nov-03, to lugnet.cad.dev, lugnet.off-topic.geek)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
(...) Franklin, Did you ever try deleting your ldraw.org cookie? I'd really like to get this worked out, but I shouldn't switch over the security if you won't be able to use the PT. Steve (21 years ago, 18-Nov-03, to lugnet.cad.dev)
 
  Re: [Parts Tracker] PT-to-PN Authentication
 
Steve, Finally got this to work... on my Mom and Dad's PC... (It still doesn't work on my PC at the office, FWIW.) :P Just thought you'd want to know... Franklin === Raw === Name: 'Franklin Cain' Userid: 'fwcain' Roles: 'RS' POSTNUKESID: (...) (20 years ago, 29-Nov-03, to lugnet.cad.dev)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR