sync_with_ldap.php File Reference

Go to the source code of this file.

Enumerations

enum  FASTFRAME_ROOT

Variables

 $b_dryRun = false
 $b_quiet = true
 $conf ['phptype'] = 'ldap'
 $o_cli = & new FF_CLI('profile')
 $o_dao = & FF_DataAccess::factory('Profile')
 $a_users = $o_dao->o_data->getAssoc('SELECT LOWER(username), id FROM `profile` WHERE authsource = "ad"')
 $o_ldao = & DB::connect($conf)
 $s_count = 0
 $result = $o_ldao->simpleQuery('(objectclass=user)', 'search', array('attributes' => array('dn', 'telephonenumber', 'othertelephone', 'mobile', $conf['searchKey'])))


Enumeration Type Documentation

enum FASTFRAME_ROOT
 

Definition at line 29 of file sync_with_ldap.php.


Variable Documentation

$a_users = $o_dao->o_data->getAssoc('SELECT LOWER(username), id FROM `profile` WHERE authsource = "ad"')
 

Definition at line 39 of file sync_with_ldap.php.

$b_dryRun = false
 

Syncs some fields of the profile table witht an ldap directory.

Author:
Jason Rust <jrust@codejanitor.com>

Definition at line 13 of file sync_with_ldap.php.

$b_quiet = true
 

Definition at line 15 of file sync_with_ldap.php.

$conf['searchKey'] = 'ldap'
 

Definition at line 17 of file sync_with_ldap.php.

$o_cli = & new FF_CLI('profile')
 

Definition at line 33 of file sync_with_ldap.php.

$o_dao = & FF_DataAccess::factory('Profile')
 

Definition at line 38 of file sync_with_ldap.php.

$o_ldao = & DB::connect($conf)
 

Definition at line 40 of file sync_with_ldap.php.

$result = $o_ldao->simpleQuery('(objectclass=user)', 'search', array('attributes' => array('dn', 'telephonenumber', 'othertelephone', 'mobile', $conf['searchKey'])))
 

Definition at line 42 of file sync_with_ldap.php.

$s_count = 0
 

Definition at line 41 of file sync_with_ldap.php.

Referenced by FF_Model_Loan::_filterRemovedItems(), FF_Validate_Loan::_validateRedDots(), FF_Model_Rule::execute(), FF_Action_Display_Statistics::getBorrowerAndUserStats(), FF_Action_Display_Statistics::getGroupAndItemStats(), FF_Perms_PermissionsApp::hasPerm(), FF_Model_Loan::removeItems(), FF_Action_Tree::renderNodes(), FF_Action_TicketSummary::renderSummaryTable(), FF_Action_Display_News::run(), FF_Action_Display_Links::run(), and FF_Model_Loan::setStartDateUsingRules().


Generated on Fri Jun 23 11:38:19 2006 for FastFrame by  doxygen 1.4.4