Re: vcld setup error

2011-10-14 Thread Anu Chirinos
We did and got it working. Thanks, Anu On 10/14/11 4:14 PM, "Andy Kurth" wrote: Also, in vcld.conf, remove the quotes from these lines: LockerWrtUser='anu' wrtPass='anu2011vcl' Change to: LockerWrtUser=anu wrtPass=anu2011vcl -Andy On Fri, Oct 14, 2011 at 4:09 PM, Anu Chirinos wrote: We s

Re: vcld setup error

2011-10-14 Thread Andy Kurth
Also, in vcld.conf, remove the quotes from these lines: LockerWrtUser='anu' wrtPass='anu2011vcl' Change to: LockerWrtUser=anu wrtPass=anu2011vcl -Andy On Fri, Oct 14, 2011 at 4:09 PM, Anu Chirinos wrote: > We solved it, the .conf file had fully qualified name and db had > localhost. > > Anu

Re: vcld setup error

2011-10-14 Thread Andy Kurth
I'm guessing it isn't able to connect to the database. You should see a list of numbered modules. What does /var/log/vcld.log contain? -Andy On Fri, Oct 14, 2011 at 12:12 PM, Evelio Quiros wrote: > Hello, > I am working on the initial vcld setup. > This is what we get when we run vcld —setup:

RE: $_SERVER variables for use in Shibauth

2011-10-14 Thread Yannick Charbonneau
THANK YOU, that pointed me in the right direction. I now see my variables. Yanik From: Aaron Coburn [mailto:acob...@amherst.edu] Sent: Friday, October 14, 2011 1:21 PM To: vcl-user@incubator.apache.org Subject: Re: $_SERVER variables for use in Shibauth Yanik, you should start by making sure th

Re: $_SERVER variables for use in Shibauth

2011-10-14 Thread Aaron Coburn
Yanik, you should start by making sure that apache is configured to enable shibboleth authentication on the shibauth directory. For example: AuthType shibboleth ShibRequestSetting requireSession 1 require valid-user On Oct 14, 2011, at 12:54 PM, Yannick Charbonneau

RE: $_SERVER variables for use in Shibauth

2011-10-14 Thread Yannick Charbonneau
Thanks, I added at the top of shibauth/index.php (for debug purposes); mail(ERROREMAIL, "DEBUG EMAIL", $_SERVER['SERVER_NAME'], '', $mailParams); and I get the correct value in an email sent to admin. But, again when I put; mail(ERROREMAIL, "DEBUG EMAIL", $_SERVER['mail'], '', $mailParams); I

Re: $_SERVER variables for use in Shibauth

2011-10-14 Thread Aaron Coburn
Yanik, what you describe is correct regarding how eppn is split on the @ character. It is possible to modify the shibauth/index.php script to use just $_SERVER['mail']; you will need to make a good number of modifications throughout the file, though. But I would really recommend asking the admi

vcld setup error

2011-10-14 Thread Evelio Quiros
Hello, I am working on the initial vcld setup. This is what we get when we run vcld —setup: [root@vcltst bin]# ./vcld --setup VCL Management Node Setup Select a module to configure: [vcld] Make a selection (1, 'c' to ca

RE: $_SERVER variables for use in Shibauth

2011-10-14 Thread Yannick Charbonneau
Thanks. Here is what I'm trying to do; (I know, it's ugly) Our IDP doesn't return eppn, but returns "mail" (email address of authenticated user). I've modified the code (shibauth/index.php) to use $_SERVER['mail'] as opposed to $_SERVER['eppn']. This is the only value I'm trying to get in s

Re: $_SERVER variables for use in Shibauth

2011-10-14 Thread Aaron Coburn
Yanik, the shib-related $_SERVER vars will be empty outside the shib-protected directory (/shibauth). Are they empty in the /shibauth directory, too (i.e. the same directory you put your test PHP page)? Aaron On Oct 14, 2011, at 11:34 AM, Yannick Charbonneau wrote: > Hi All, > > Still workin

$_SERVER variables for use in Shibauth

2011-10-14 Thread Yannick Charbonneau
Hi All, Still working on my Shibboleth integration. For some unknown reason within vcl my $_SERVER variables are empty. I have a php test page which displays the values and I can see them. But within VCL, empty. Anybody seen this before? Thanks Yanik