eZPublish  3.9
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
 

Variable Documentation

$db =& eZDB::instance()
$defaultUserPlacement = $ini->variable( "UserSettings", "DefaultUserPlacement" )
if ($LDAPUserGroupType!=null) $ds = ldap_connect( $LDAPHost, $LDAPPort )
$extraNodeAssignments = array()

Referenced by eZLDAPUser\loginUser().

$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
$LDAPIni =& eZINI::instance( 'ldap.ini' )
$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 eZDBFileHandlerPgsqlBackend\_getFileList(), eZDBFileHandlerMysqlBackend\_getFileList(), eZOrder\active(), eZOrder\activeCount(), eZContentObject\addContentObjectRelation(), AddObjectRelation(), eZContentObject\assignedNodes(), eZContentClassAttribute\cachedInfo(), eZContentObjectTreeNode\calendar(), eZMySQLDB\checkCharsetPriv(), eZContentObjectTreeNode\childrenByName(), eZContentObjectTreeNode\classAttributeIDByIdentifier(), eZContentObjectTreeNode\classIDByIdentifier(), eZMySQLDB\connect(), eZContentObject\contentObjectAttributes(), eZFetchActiveSessionCount(), eZFetchActiveSessions(), eZSessionCountActive(), eZSessionDestroy(), eZSessionEmpty(), eZSessionGarbageCollector(), eZContentObjectTreeNode\fetch(), eZContentObjectTreeNode\fetchAliasesFromNodeList(), eZContentObjectVersion\fetchAttributes(), eZShopFunctionCollection\fetchBestSellList(), eZContentObject\fetchByNodeID(), eZUserDiscountRule\fetchByUserIDArray(), eZUser\fetchContentList(), eZVatRule\fetchCountByCategory(), eZVatType\fetchDependentClassesCount(), eZVatType\fetchDependentProductsCount(), eZGeneralDigestHandler\fetchHandlersForUser(), eZContentObject\fetchIDArray(), eZUserDiscountRule\fetchIDListByUserID(), eZImageFile\fetchImageAttributesByFilepath(), eZGeneralDigestHandler\fetchItemsForUser(), eZContentFunctionCollection\fetchKeyword(), eZContentFunctionCollection\fetchKeywordCount(), eZContentObjectTreeNode\fetchNode(), eZContentObjectTreeNode\fetchNodesByPathString(), eZProductCategory\fetchProductCountByCategory(), eZShopFunctionCollection\fetchRelatedPurchaseList(), eZSearchFunctionCollection\fetchSearchListCount(), eZPgsqlSchema\fetchTableIndexes(), eZViewCounter\fetchTopList(), eZContentObject\fillNodeListAttributes(), eZPolicyLimitation\findByType(), eZContentObjectTreeNode\findMainNode(), eZContentObjectTreeNode\findMainNodeArray(), eZContentObjectTreeNode\findNode(), eZURL\handleList(), eZLDAPUser\loginUser(), eZTextFileUser\loginUser(), eZUser\loginUser(), eZSearchLog\mostFrequentPhraseArray(), eZContentObjectTreeNode\move(), eZVatRule\productCategories(), eZContentObject\relatedObjectCount(), eZContentObject\relatedObjects(), eZProductCategory\remove(), eZNotificationCollection\removeEmpty(), eZVatRule\removeReferencesToProductCategory(), eZSearchLog\removeStatistics(), eZContentObjectAssignmentHandler\setupAssignments(), eZPreferences\setValue(), eZKeyword\store(), eZVatRule\store(), eZContentStructureTreeOperator\subTree(), eZContentObjectTreeNode\subTree(), eZContentObjectTreeNode\subTreeCount(), eZContentObjectTreeNode\subTreeMultiPaths(), eZContentObjectTreeNode\subtreeSoleNodeCount(), eZURLAlias\totalCount(), eZURLAlias\translate(), eZContentObjectVersion\translationList(), eZContentObjectTrashNode\trashList(), eZContentObjectVersion\unpublish(), eZPersistentObject\updateObjectList(), and eZContentObject\versionLanguageName().

$retrieveAttributes
Initial value:
$LDAPLastNameAttribute
Definition: ldapusermanage.php:66
$LDAPLoginAttribute
Definition: ldapusermanage.php:63
$LDAPEmailAttribute
Definition: ldapusermanage.php:67
$LDAPFirstNameAttribute
Definition: ldapusermanage.php:65

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

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