eZ Publish  [4.0]
ldapusermanage.php File Reference

Go to the source code of this file.

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' )
 $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

Detailed Description

Definition in file ldapusermanage.php.


Variable Documentation

$db = eZDB::instance()

Definition at line 44 of file ldapusermanage.php.

$defaultUserPlacement = $ini->variable( "UserSettings", "DefaultUserPlacement" )
if ($LDAPUserGroupType!=null) $ds = ldap_connect( $LDAPHost, $LDAPPort )

Definition at line 196 of file ldapusermanage.php.

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

$extraNodeAssignments = array()

Definition at line 110 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

$ini = eZINI::instance()

Definition at line 52 of file ldapusermanage.php.

$LDAPBaseDN = $LDAPIni->variable( 'LDAPSettings', 'LDAPBaseDn' )

Definition at line 60 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 62 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 61 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 69 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 67 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

$LDAPHost = $LDAPServer

Definition at line 57 of file ldapusermanage.php.

$LDAPIni = eZINI::instance( 'ldap.ini' )

Definition at line 53 of file ldapusermanage.php.

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

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

Definition at line 68 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

$LDAPLogin = $LDAPLoginAttribute

Definition at line 66 of file ldapusermanage.php.

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

Definition at line 65 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 59 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 64 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 56 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 74 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 73 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

$LDAPUsers = $db->arrayQuery( $query )

Definition at line 49 of file ldapusermanage.php.

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

Definition at line 55 of file ldapusermanage.php.

Referenced by eZLDAPUser\loginUser().

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

Definition at line 45 of file ldapusermanage.php.

Referenced by eZDBFileHandlerMysqlBackend\_getFileList(), eZDBFileHandlerMysqlBackend\_insert(), eZDBFileHandlerMysqlBackend\_insertUpdate(), eZDBFileHandlerMysqlBackend\_query(), eZDBFileHandlerMysqlBackend\_selectOne(), eZDBFileHandlerMysqlBackend\_selectOneAssoc(), eZDBFileHandlerMysqlBackend\_selectOneRow(), eZOrder\active(), eZOrder\activeCount(), eZContentObject\addContentObjectRelation(), eZContentObject\assignedNodes(), eZRole\assignToUser(), eZContentClassAttribute\cachedInfo(), eZContentObjectTreeNode\calendar(), eZMySQLiDB\checkCharsetPriv(), eZMySQLDB\checkCharsetPriv(), eZContentObjectTreeNode\childrenByName(), eZContentObjectTreeNode\classAttributeIDByIdentifier(), eZContentObjectTreeNode\classIDByIdentifier(), eZMySQLDB\connect(), eZContentObject\contentObjectAttributes(), eZSessionCountActive(), eZSessionDestroy(), eZSessionEmpty(), eZSessionGarbageCollector(), eZMySQLDB\eZTableList(), eZContentObjectTreeNode\fetch(), eZContentObjectTreeNode\fetchAliasesFromNodeList(), eZContentObjectVersion\fetchAttributes(), eZContentObject\fetchAttributesByIdentifier(), 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(), eZUserDiscountRule\fetchIDListByUserID(), eZImageFile\fetchImageAttributesByFilepath(), eZGeneralDigestHandler\fetchItemsForUser(), eZContentObjectTreeNode\fetchNode(), eZContentObjectTreeNode\fetchNodesByPathString(), eZURLAliasML\fetchPathByActionList(), eZProductCategory\fetchProductCountByCategory(), eZRole\fetchRolesByLimitation(), eZPgsqlSchema\fetchTableIndexes(), eZViewCounter\fetchTopList(), eZRole\fetchUserByRole(), eZRole\fetchUserID(), eZContentObject\fillNodeListAttributes(), eZPolicyLimitation\findByType(), eZContentObjectTreeNode\findMainNode(), eZContentObjectTreeNode\findMainNodeArray(), eZContentObjectTreeNode\findNode(), eZURLAliasML\findUniqueText(), eZPathElement\getPath(), eZURLAliasML\getPath(), eZPathElement\getPathArray(), eZURL\handleList(), eZISBN13\hasRangeData(), eZLDAPUser\loginUser(), eZTextFileUser\loginUser(), eZUser\loginUser(), eZSearchLog\mostFrequentPhraseArray(), eZContentObjectTreeNode\move(), eZVatRule\productCategories(), eZContentObject\relatedObjectCount(), eZContentObject\relatedObjects(), eZMySQLDB\relationCount(), 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