You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2012/10/15 19:14:41 UTC
svn commit: r1398395 -
/vcl/site/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2to2.3.mdtext
Author: fapeeler
Date: Mon Oct 15 17:14:40 2012
New Revision: 1398395
URL: http://svn.apache.org/viewvc?rev=1398395&view=rev
Log:
CMS commit to vcl by fapeeler
Modified:
vcl/site/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2to2.3.mdtext
Modified: vcl/site/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2to2.3.mdtext
URL: http://svn.apache.org/viewvc/vcl/site/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2to2.3.mdtext?rev=1398395&r1=1398394&r2=1398395&view=diff
==============================================================================
--- vcl/site/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2to2.3.mdtext (original)
+++ vcl/site/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2to2.3.mdtext Mon Oct 15 17:14:40 2012
@@ -64,7 +64,7 @@ The web code now requires access to crea
7. Then, you need to issue the grant command to mysql. Using the values from above as examples, connect to mysql and then issue the grant command:
- :::BashLexer
+ :::SQLLexer
mysql
GRANT CREATE TEMPORARY TABLES ON `vcl`.* TO 'vcluser'@'localhost';
exit
@@ -128,37 +128,40 @@ The web code now requires access to crea
f. The way the authentication functions toward the bottom of conf.php are initialized has been simplified. Make the following changes:
- :::BashLexer
- **REMOVE**
- $affilValFunc
- $affilValFuncArgs
- $addUserFunc
- $addUserFuncArgs
- $updateUserFunc
- $updateUserFuncArgs
+ REMOVE
+
+ :::BashLexer
+ $affilValFunc
+ $affilValFuncArgs
+ $addUserFunc
+ $addUserFuncArgs
+ $updateUserFunc
+ $updateUserFuncArgs
- **ADD**
- $affilValFunc = array();
- $affilValFuncArgs = array();
- $addUserFunc = array();
- $addUserFuncArgs = array();
- $updateUserFunc = array();
- $updateUserFuncArgs = array();
- foreach($authMechs as $key => $item) {
- if($item['type'] == 'ldap') {
- $affilValFunc[$item['affiliationid']] = 'validateLDAPUser';
- $affilValFuncArgs[$item['affiliationid']] = $key;
- $addUserFunc[$item['affiliationid']] = 'addLDAPUser';
- $addUserFuncArgs[$item['affiliationid']] = $key;
- $updateUserFunc[$item['affiliationid']] = 'updateLDAPUser';
- $updateUserFuncArgs[$item['affiliationid']] = $key;
- }
- elseif($item['type'] == 'local') {
- $affilValFunc[$item['affiliationid']] = create_function('', 'return 0;');
- $addUserFunc[$item['affiliationid']] = create_function('', 'return NULL;');
- $updateUserFunc[$item['affiliationid']] = create_function('', 'return NULL;');
- }
- }
+ ADD
+
+ :::BashLexer
+ $affilValFunc = array();
+ $affilValFuncArgs = array();
+ $addUserFunc = array();
+ $addUserFuncArgs = array();
+ $updateUserFunc = array();
+ $updateUserFuncArgs = array();
+ foreach($authMechs as $key => $item) {
+ if($item['type'] == 'ldap') {
+ $affilValFunc[$item['affiliationid']] = 'validateLDAPUser';
+ $affilValFuncArgs[$item['affiliationid']] = $key;
+ $addUserFunc[$item['affiliationid']] = 'addLDAPUser';
+ $addUserFuncArgs[$item['affiliationid']] = $key;
+ $updateUserFunc[$item['affiliationid']] = 'updateLDAPUser';
+ $updateUserFuncArgs[$item['affiliationid']] = $key;
+ }
+ elseif($item['type'] == 'local') {
+ $affilValFunc[$item['affiliationid']] = create_function('', 'return 0;');
+ $addUserFunc[$item['affiliationid']] = create_function('', 'return NULL;');
+ $updateUserFunc[$item['affiliationid']] = create_function('', 'return NULL;');
+ }
+ }
13. **Restart httpd service**