eZPublish  4.4
ldapusermanage.php File Reference

Variables

 $db = eZDB::instance()
 
 $defaultUserPlacement = $ini->variable( "UserSettings", "DefaultUserPlacement" )
 
if($LDAPUserGroupType!=null) $ds = ldap_connect( $LDAPHost, $LDAPPort )
 
 $extraNodeAssignments = array()
 
 $ini = eZINI::instance()
 
 $LDAPBaseDN = $LDAPIni->variable( 'LDAPSettings', 'LDAPBaseDn' )
 
 $LDAPBindPassword = $LDAPIni->variable( 'LDAPSettings', 'LDAPBindPassword' )
 
 $LDAPBindUser = $LDAPIni->variable( 'LDAPSettings', 'LDAPBindUser' )
 
 $LDAPEmailAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPEmailAttribute' )
 
if($LDAPIni->hasVariable(
'LDAPSettings',
'LDAPSearchFilters')) if($LDAPIni->
hasVariable( 'LDAPSettings',
'LDAPUserGroupType') and
$LDAPIni->hasVariable(
'LDAPSettings', 'LDAPUserGroup')) 
$LDAPEqualSign = trim($LDAPIni->variable( 'LDAPSettings', "LDAPEqualSign" ) )
 
 $LDAPFirstNameAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPFirstNameAttribute' )
 
 $LDAPHost = $LDAPServer
 
 $LDAPIni = eZINI::instance( 'ldap.ini' )
 
 $LDAPLastNameAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPLastNameAttribute' )
 
 $LDAPLogin = $LDAPLoginAttribute
 
 $LDAPLoginAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPLoginAttribute' )
 
 $LDAPPort = $LDAPIni->variable( 'LDAPSettings', 'LDAPPort' )
 
 $LDAPSearchScope = $LDAPIni->variable( 'LDAPSettings', 'LDAPSearchScope' )
 
 $LDAPServer = $LDAPIni->variable( 'LDAPSettings', 'LDAPServer' )
 
 $LDAPUserGroupAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPUserGroupAttribute' )
 
 $LDAPUserGroupAttributeType = $LDAPIni->variable( 'LDAPSettings', 'LDAPUserGroupAttributeType' )
 
 $LDAPUsers = $db->arrayQuery( $query )
 
 $LDAPVersion = $LDAPIni->variable( 'LDAPSettings', 'LDAPVersion' )
 
 $query
 
 $retrieveAttributes
 
if($LDAPIni->hasVariable(
'LDAPSettings', 'Utf8Encoding')) 
else
 
return false
 Specifies how many sessions should be deleted pr iteration when garbage collecting sessions (to avoid sql calls that lock db) More...
 

Variable Documentation

$db = eZDB::instance()
$defaultUserPlacement = $ini->variable( "UserSettings", "DefaultUserPlacement" )
if ($LDAPUserGroupType!=null) $ds = ldap_connect( $LDAPHost, $LDAPPort )
$extraNodeAssignments = array()
$ini = eZINI::instance()
$LDAPBaseDN = $LDAPIni->variable( 'LDAPSettings', 'LDAPBaseDn' )

Referenced by eZLDAPUser\loginUser().

$LDAPBindPassword = $LDAPIni->variable( 'LDAPSettings', 'LDAPBindPassword' )

Referenced by eZLDAPUser\loginUser().

$LDAPBindUser = $LDAPIni->variable( 'LDAPSettings', 'LDAPBindUser' )

Referenced by eZLDAPUser\loginUser().

$LDAPEmailAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPEmailAttribute' )

Referenced by eZLDAPUser\loginUser().

if ($LDAPIni->hasVariable( 'LDAPSettings', 'LDAPSearchFilters')) if ($LDAPIni->hasVariable( 'LDAPSettings', 'LDAPUserGroupType') and $LDAPIni->hasVariable( 'LDAPSettings', 'LDAPUserGroup')) $LDAPEqualSign = trim($LDAPIni->variable( 'LDAPSettings', "LDAPEqualSign" ) )

Referenced by eZLDAPUser\loginUser().

$LDAPFirstNameAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPFirstNameAttribute' )

Referenced by eZLDAPUser\loginUser().

$LDAPHost = $LDAPServer
$LDAPLastNameAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPLastNameAttribute' )

Referenced by eZLDAPUser\loginUser().

$LDAPLogin = $LDAPLoginAttribute
$LDAPLoginAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPLoginAttribute' )

Referenced by eZLDAPUser\loginUser().

$LDAPPort = $LDAPIni->variable( 'LDAPSettings', 'LDAPPort' )

Referenced by eZLDAPUser\loginUser().

$LDAPSearchScope = $LDAPIni->variable( 'LDAPSettings', 'LDAPSearchScope' )

Referenced by eZLDAPUser\loginUser().

$LDAPServer = $LDAPIni->variable( 'LDAPSettings', 'LDAPServer' )

Referenced by eZLDAPUser\loginUser().

$LDAPUserGroupAttribute = $LDAPIni->variable( 'LDAPSettings', 'LDAPUserGroupAttribute' )

Referenced by eZLDAPUser\loginUser().

$LDAPUserGroupAttributeType = $LDAPIni->variable( 'LDAPSettings', 'LDAPUserGroupAttributeType' )

Referenced by eZLDAPUser\loginUser().

$LDAPUsers = $db->arrayQuery( $query )
$LDAPVersion = $LDAPIni->variable( 'LDAPSettings', 'LDAPVersion' )

Referenced by eZLDAPUser\loginUser().

$query
Initial value:
= "SELECT contentobject_id, login
FROM ezcontentobject, ezuser
WHERE remote_id like 'LDAP%'
AND ezcontentobject.id=contentobject_id"

Referenced by eZDFSFileHandlerMySQLBackend\_checkCacheGenerationTimeout(), eZDFSFileHandlerMySQLiBackend\_checkCacheGenerationTimeout(), eZDBFileHandlerMysqlBackend\_checkCacheGenerationTimeout(), eZDBFileHandlerMysqliBackend\_checkCacheGenerationTimeout(), eZDBFileHandlerMysqliBackend\_getFileList(), eZDBFileHandlerMysqlBackend\_getFileList(), eZDFSFileHandlerMySQLBackend\_getFileList(), eZDFSFileHandlerMySQLiBackend\_getFileList(), eZDBFileHandlerMysqlBackend\_insert(), eZDBFileHandlerMysqliBackend\_insert(), eZDFSFileHandlerMySQLBackend\_insert(), eZDFSFileHandlerMySQLiBackend\_insert(), eZDBFileHandlerMysqlBackend\_insertUpdate(), eZDBFileHandlerMysqliBackend\_insertUpdate(), eZDFSFileHandlerMySQLBackend\_insertUpdate(), eZDFSFileHandlerMySQLiBackend\_insertUpdate(), eZUser\_loginUser(), eZDFSFileHandlerMySQLBackend\_query(), eZDFSFileHandlerMySQLiBackend\_query(), eZDBFileHandlerMysqlBackend\_query(), eZDBFileHandlerMysqliBackend\_query(), eZDBFileHandlerMysqliBackend\_selectOne(), eZDBFileHandlerMysqlBackend\_selectOne(), eZDFSFileHandlerMySQLBackend\_selectOne(), eZDFSFileHandlerMySQLiBackend\_selectOne(), eZDBFileHandlerMysqlBackend\_selectOneAssoc(), eZDBFileHandlerMysqliBackend\_selectOneAssoc(), eZDFSFileHandlerMySQLBackend\_selectOneAssoc(), eZDFSFileHandlerMySQLiBackend\_selectOneAssoc(), eZDBFileHandlerMysqlBackend\_selectOneRow(), eZDBFileHandlerMysqliBackend\_selectOneRow(), eZDFSFileHandlerMySQLBackend\_selectOneRow(), eZDFSFileHandlerMySQLiBackend\_selectOneRow(), eZDFSFileHandlerMySQLBackend\_startCacheGeneration(), eZDFSFileHandlerMySQLiBackend\_startCacheGeneration(), eZDBFileHandlerMysqlBackend\_startCacheGeneration(), eZDBFileHandlerMysqliBackend\_startCacheGeneration(), eZOrder\active(), eZOrder\activeCount(), eZContentObject\addContentObjectRelation(), eZContentObject\assignedNodes(), eZRole\assignToUser(), eZPostgreSQLDB\availableDatabases(), eZContentClassAttribute\cachedInfo(), eZContentObjectTreeNode\calendar(), eZMySQLiDB\checkCharsetPriv(), eZMySQLDB\checkCharsetPriv(), eZContentObjectTreeNode\childrenByName(), eZContentClassAttribute\classAttributeIdentifiersHash(), eZContentClass\classIdentifiersHash(), eZMySQLDB\connect(), eZContentObject\contentObjectAttributes(), eZContentObjectTreeNode\creator(), eZDFSFileHandlerMySQLBackend\expiredFilesList(), eZDFSFileHandlerMySQLiBackend\expiredFilesList(), eZDBFileHandlerMysqlBackend\expiredFilesList(), eZDBFileHandlerMysqliBackend\expiredFilesList(), eZFetchActiveSessionCount(), eZFetchActiveSessions(), eZMySQLiDB\eZTableList(), eZMySQLDB\eZTableList(), eZContentObjectTreeNode\fetch(), eZContentObjectTreeNode\fetchAliasesFromNodeList(), eZContentObjectVersion\fetchAttributes(), eZContentObject\fetchAttributesByIdentifier(), eZShopFunctionCollection\fetchBestSellList(), eZURLAliasML\fetchByAction(), eZContentObject\fetchByNodeID(), eZURLAliasML\fetchByParentID(), eZURLAliasML\fetchByPath(), eZRole\fetchByUser(), eZUserDiscountRule\fetchByUserIDArray(), eZUser\fetchContentList(), eZVatRule\fetchCountByCategory(), eZVatType\fetchDependentClassesCount(), eZVatType\fetchDependentProductsCount(), eZGeneralDigestHandler\fetchHandlersForUser(), eZContentObject\fetchIDArray(), eZRole\fetchIDListByUser(), eZImageFile\fetchImageAttributesByFilepath(), eZGeneralDigestHandler\fetchItemsForUser(), eZContentFunctionCollection\fetchKeyword(), eZContentFunctionCollection\fetchKeywordCount(), eZContentObjectTreeNode\fetchNode(), eZContentObjectTreeNode\fetchNodesByPathString(), eZURLAliasML\fetchPathByActionList(), eZProductCategory\fetchProductCountByCategory(), eZShopFunctionCollection\fetchRelatedPurchaseList(), eZRole\fetchRolesByLimitation(), eZSearchFunctionCollection\fetchSearchListCount(), eZPgsqlSchema\fetchTableIndexes(), eZViewCounter\fetchTopList(), eZRole\fetchUserByRole(), eZRole\fetchUserID(), eZContentObject\fillNodeListAttributes(), eZPolicyLimitation\findByType(), eZContentObjectTreeNode\findMainNode(), eZContentObjectTreeNode\findMainNodeArray(), eZContentObjectTreeNode\findNode(), eZURLAliasML\findUniqueText(), eZUserDiscountRule\generateIDListByUserID(), eZContentObjectTreeNode\getParentNodeIdListByContentObjectID(), eZPathElement\getPath(), eZURLAliasML\getPath(), eZPathElement\getPathArray(), eZURL\handleList(), eZISBN13\hasRangeData(), eZLDAPUser\loginUser(), eZTextFileUser\loginUser(), eZSearchLog\mostFrequentPhraseArray(), eZContentObjectTreeNode\move(), eZVatRule\productCategories(), eZContentObject\relatedObjectCount(), eZContentObject\relatedObjects(), eZMySQLiDB\relationCount(), eZMySQLDB\relationCount(), eZMySQLiDB\relationList(), eZMySQLDB\relationList(), eZURLAliasML\removeByAction(), eZProductCategory\removeByID(), eZNotificationCollection\removeEmpty(), eZVatRule\removeReferencesToProductCategory(), eZSearchLog\removeStatistics(), eZRole\removeUserAssignment(), eZRole\removeUserAssignmentByID(), eZURLAliasML\reverseTranslate(), eZRole\revertFromTemporaryVersion(), eZURLAliasML\setLangMaskAlwaysAvailable(), eZContentObjectAssignmentHandler\setupAssignments(), eZPreferences\setValue(), eZKeyword\store(), eZVatRule\store(), eZURLAliasML\storePath(), eZContentStructureTreeOperator\subTree(), eZContentObjectTreeNode\subTreeByNodeID(), eZContentObjectTreeNode\subTreeCountByNodeID(), eZContentObjectTreeNode\subTreeMultiPaths(), eZContentObjectTreeNode\subtreeSoleNodeCount(), eZURLAliasML\translate(), eZContentObjectVersion\translationList(), eZContentObjectTrashNode\trashList(), eZContentObjectVersion\unpublish(), eZPersistentObject\updateObjectList(), and eZContentObject\versionLanguageName().

$retrieveAttributes
Initial value:
$LDAPLastNameAttribute
Definition: ldapusermanage.php:64
$LDAPLoginAttribute
Definition: ldapusermanage.php:61
$LDAPEmailAttribute
Definition: ldapusermanage.php:65
$LDAPFirstNameAttribute
Definition: ldapusermanage.php:63

Referenced by eZLDAPUser\getUserGroupsTree(), and eZLDAPUser\loginUser().

if ($ds) else
Initial value:
{
$isUtf8Encoding = false
int ezpSessionHandlerDB::false

Specifies how many sessions should be deleted pr iteration when garbage collecting sessions (to avoid sql calls that lock db)

Referenced by eZContentOperationCollection\addAssignment(), eZObjectRelationListType\appendObject(), eZTemplateArrayOperator\arrayTrans(), eZContentOperationCollection\attributePublishAction(), eZPHPCreator\canRestore(), eZContentOperationCollection\changeTranslationAvailableStatus(), checkRelationActions(), clearItems(), eZNodeviewfunctions\contentViewGenerate(), eZContentObject\copy(), eZWebDAVContentServer\currentSiteFromPath(), eZSubTreeHandler\fetchHttpInput(), eZMysqlSchema\fetchTableFields(), eZNodeviewfunctions\generateNodeViewData(), eZNodeviewfunctions\generateViewCacheFile(), eZCollaborationItemHandler\handleCollaborationEvent(), eZImageInterface\hasSize(), eZINIAddonPackageHandler\iniDOMTree(), eZScript\iterate(), eZContentOperationCollection\loopNodeAssignment(), eZSiteAccess\match(), eZTemplateArrayOperator\modify(), eZContentObjectTreeNode\move(), eZEnumType\objectDisplayInformation(), eZContentStructureTreeOperator\oneLevelChildren(), eZSubtreeSubscriptionType\onPublish(), eZObjectRelationListType\onPublish(), eZCodeMapper\parseTransformationFile(), eZTemplateDebugFunction\process(), eZStepSiteDetails\processPostData(), purgeItems(), eZContentObject\relatedObjectCount(), eZContentObject\relatedObjects(), eZContentOperationCollection\removeAssignment(), reportProgress(), eZFileTransport\sendMail(), eZSendmailTransport\sendMail(), eZImageAliasHandler\setOriginalAttributeDataFromAttribute(), eZContentClass\storeVersioned(), eZTemplateDebugFunction\templateNodeTransformation(), eZContentOperationCollection\updateAlwaysAvailable(), eZISBN10To13Converter\updateContentFromClassAttribute(), eZObjectRelationListType\validateObjectAttributeHTTPInput(), and eZIniSettingType\validateObjectAttributeHTTPInput().