From: Bart M. <ba...@pi...> - 2003-04-24 03:51:37
|
O yea, looking good, all the functionality appears to work correctly. I will keep looking and let you know if something pops up, but so far so good. Thanks Bart On Wed, 2003-04-23 at 18:00, Nick Jennings wrote: > Hi Bart, > > I went ahead and setup Apache2/Perl 5.8 on my system. BTW Apache2 has > nothing to do with the problem, it all seems to be due to perl 5.8's > stricter syntax checking. > > There were several syntax errors that I guess 5.6 didn't pick up on in > the Browse.pm, Config.pm and in Shell.pm (I think the fix I made to > Shell.pm was the culprit). > > In Shell.pm the system_timeout's default value was being set to a > string '' instead of a numeric value, so this seems to have the > side effect of hanging the cgi until apache gives up. Also, it > seems at one spot in the code, assignment of system_timeout is > incorrect, so this value wasn't even being set (which makes the > default of '' much more of a problem). > > I set the default to 300, in the code, because this is the default in > the config file, so I figured that's the safest bet. > > Everything should work now in the trunk, and there should be > less perl warnings in your apache error logs now :) > > If you can verify this I will then merge it into the branch for 1.0 > release. > > - Nick > > On Wed, Apr 23, 2003 at 10:21:44AM -0500, Bart Metzger wrote: > > Sorry, long day > > > > Here are the errors I am getting. > > > > > > [Wed Apr 23 10:15:54 2003] [error] [client 10.0.107.84] Using a hash as > > a reference is deprecated at > > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. > > > > Using a hash as a reference is deprecated at > > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. referer: > > http://monkey/cgi-bin/sandweb.cgi > > > > > > > > [Tue Apr 22 16:36:54 2003] [error] [client 10.0.107.84] [Tue Apr 22 > > 16:36:54 2003] sandweb.cgi: Argument "" isn't numeric in alarm at > > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Shell.pm line 401., referer: > > http://monkey/cgi-bin/sandweb.cgi?action=sandbox > > > > > > These are the main errors I am getting, the only thing that doesn't > > appear functional is after I setup the user, repository, and go into the > > sandbox, I cannot navigate to any of the modules I have checked out. > > Not sure about any of the functionality after that. > > > > > > I am using Apache 2.0.43/mod_perl 1.99_08/ Perl v5.8.0 > > > > Thanks for the help and the info. > > > > Bart > > > > On Tue, 2003-04-22 at 17:08, Rob Helmer wrote: > > > On Tue, Apr 22, 2003 at 04:24:12PM -0500, Bart Metzger wrote: > > > > Greetings > > > > > > Hello > > > > > > > > > > > I am having a few issues getting sandweb to work, and I am sure it has > > > > to do with what I am using. Please forgive if this was mentioned in > > > > another thread. > > > > > > > > I am using apache2/perl 5.8 on a rh 8.0 box. I have tried both the > > > > latest from cvs and the RC2. > > > > > > > > Has anyone got this setup and working in a environment even close to > > > > this, or do I have to stick to Apache 1.3 and perl 5.6.x? > > > > > > > > > I haven't tried yet, I'm on Debian stable ( perl 5.6, apache 1.3 ). > > > I'd be interested to see the errors you are running into. > > > > > > > > > > Also has anyone gotten Sandweb to authenticate to a kerberos or nis > > > > domain? > > > > > > > > > I once hacked in NT support as proof-of-concept, but I want to make > > > this more generic and modular so we can support seperate authentication > > > and authorization services. > > > > > > The basic idea is : > > > > > > 1) turn off MD5 Javascript hashing in the login.html and sandweb-admin > > > 2) copy lib/SandWeb/Auth/Flatfile.pm to e.g. Kerberos.pm and make > > > it return a 1 if the user is ok, 0 if not > > > 3) make lib/SandWeb/Auth.pm use Kerberos.pm instead of Flatfile.pm > > > > > > So it's possible right now, but better to wait until this is supported > > > by us. > > > Then you'll just have to flip a switch in sandweb.cfg, and maybe > > > write your own Kerberos.pm ( and send it to us so you don't have > > > to maintain it:) ). > > > > > > We won't be in a position to support this until a post-1.0 release > > > most likely. > > > > > > > > > > If you need specifics please let me know. > > > > > > > > I am placing 2 errors at the bottom of the file in case this rings a > > > > bell for anyone. > > > > > > > > > I didn't see any errors in this email, can you resend? > > > > > > > > > > > > -- > > > Rob > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Sandweb-users mailing list > > San...@li... > > https://lists.sourceforge.net/lists/listinfo/sandweb-users > > -- Bart Metzger <ba...@pi...> |