HI Chris,

Thanks so much for your help so late in the night!

Here are the contents of my config file in profile module. I had to modify the 
LDAPAutehnticationProvider so it uses Apache’s instead of JPL’s:

[AUTH]
; authentication settings

; User must not set auth_class_path and auth_class if authentication is not
; required for application

auth_class_path = 
"Org/Apache/Oodt/Balance/Providers/Authentication/LDAPAuthenticationProvider.class.php"
auth_class      = 
Org_Apache_Oodt_Balance_Providers_Authentication_LDAPAuthenticationProvider

; This will set the encryption method for changing passwords.
; Options are:
;       1. SHA
;       2. MD5
auth_encryption_method = SHA

; ldap settings

ldap_commonname_attr = cn
ldap_firstname_attr  = givenname
ldap_lastname_attr   = sn
ldap_username_attr   = uid
ldap_email_attr      = mail
ldap_host            = "host"
ldap_port            = 389
ldap_base_dn         = "ou=people,o=project"
ldap_group_dn        = "ou=groups,o=project"
cookie_key           = "__ac__sc__"

; These attributes will be display for user to view and user will be allowed
; to change values in the ldap directory
auth_ldap_attributes[] = givenname
auth_ldap_attributes[] = sn
auth_ldap_attributes[] = uid
auth_ldap_attributes[] = mail


[Password]

I didn’t include the commented out sections.

Thanks Chris!
David

On Mar 7, 2016, at 9:59 PM, Mattmann, Chris A (3980) 
<chris.a.mattm...@jpl.nasa.gov<mailto:chris.a.mattm...@jpl.nasa.gov>> wrote:

it means it can’t find your config.ini property I believe - what
does your config for the profile module look like?

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: chris.a.mattm...@nasa.gov<mailto:chris.a.mattm...@nasa.gov>
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++





-----Original Message-----
From: "Liu, David (3902-Affiliate)" 
<david....@jpl.nasa.gov<mailto:david....@jpl.nasa.gov>>
Reply-To: "dev@oodt.apache.org<mailto:dev@oodt.apache.org>" 
<dev@oodt.apache.org<mailto:dev@oodt.apache.org>>
Date: Thursday, March 3, 2016 at 9:13 AM
To: "dev@oodt.apache.org<mailto:dev@oodt.apache.org>" 
<dev@oodt.apache.org<mailto:dev@oodt.apache.org>>
Subject: Apache errors when accessing balance application

Good Morning!

I seem to be getting the following errors in my apache error_log when
accessing my balance application:
Undefined index: authorization_class_path in
/usr/share/pear/Org/Apache/Oodt/Balance/Core/Application.class.php on
line 149
Undefined index: balance_request_start in /usr/local/ecas/ui/hooks.php on
line 78

Do these errors suggest that I have missing modules/settings in my
application that is supposed to be configured somewhere?

On line 149 in Application.class.php, the code looks like this:
public function setAuthorizationProviderInstance() {
      // Check if the user wants authorization for application
      if ( $this->settings['authorization_class_path'] != null &&
           $this->settings['authorization_class']      != null   ) {

              require_once $this->settings['authorization_class_path'];
              $authProvider                        =
$this->settings['authorization_class'];
              $this->authorizationProviderInstance = new
$authProvider();
      }
  }

On line 78 in hooks.php, the code looks like this:
function hook_after_send() {
  $timeStart = $GLOBALS['balance_request_start'];
  $timeEnd   = microtime(true);
  $elapsed   = $timeEnd - $timeStart;

Thanks again for all the help so far!
David


Reply via email to