[geeklog-cvs] Auth_Enterprise/Server AEServerConfig.php,1.3,1.4

tony at iowaoutdoors.org tony at iowaoutdoors.org
Thu Jun 24 17:55:21 EDT 2004


Update of /var/cvs/Auth_Enterprise/Server
In directory www:/tmp/cvs-serv3940

Modified Files:
	AEServerConfig.php 
Log Message:
Added LDAP config options

Index: AEServerConfig.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Server/AEServerConfig.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** AEServerConfig.php	17 Jun 2004 05:32:55 -0000	1.3
--- AEServerConfig.php	24 Jun 2004 21:55:19 -0000	1.4
***************
*** 26,35 ****
  * @const AE_PROVIDER_LDAP
  */
! define('AE_PROVIDER_LDAP', 'AELDAP');
  
  // This sets the default provider $gConf['defaultProvider'] = AE_PROVIDER_PEAR_DB;
  // This maps application to their provider.
  $gConf['providerMapping'] = array(
!     'Auth_Enterprise' => AE_PROVIDER_PEAR_DB,
      'TEST_PEAR_DB_APP' => AE_PROVIDER_PEAR_DB,
      'AE_TEST_APP_LDAP' => AE_PROVIDER_LDAP
--- 26,36 ----
  * @const AE_PROVIDER_LDAP
  */
! define('AE_PROVIDER_LDAP', 'AELDAPProvider');
  
  // This sets the default provider $gConf['defaultProvider'] = AE_PROVIDER_PEAR_DB;
  // This maps application to their provider.
  $gConf['providerMapping'] = array(
!     'Auth_Enterprise' => AE_PROVIDER_LDAP,
! //    'Auth_Enterprise' => AE_PROVIDER_PEAR_DB,
      'TEST_PEAR_DB_APP' => AE_PROVIDER_PEAR_DB,
      'AE_TEST_APP_LDAP' => AE_PROVIDER_LDAP
***************
*** 68,71 ****
--- 69,79 ----
  
  // Settings for the LDAP Provider
+ $gConf[AE_PROVIDER_LDAP]['ldapHost']            = 'ldap://gari.doit.wisc.edu';
+ $gConf[AE_PROVIDER_LDAP]['ldapPort']            = 389;
+ $gConf[AE_PROVIDER_LDAP]['ldapProtocolVersion'] = 3;
+ $gConf[AE_PROVIDER_LDAP]['ldapDC']              = 'dc=geeklog,dc=wisc,dc=edu';
+ $gConf[AE_PROVIDER_LDAP]['adminUser']           = '';
+ $gConf[AE_PROVIDER_LDAP]['adminPass']           = '';
+ 
  
  ?>
\ No newline at end of file




More information about the geeklog-cvs mailing list