Changeset 4165 in subversion
- Timestamp:
- Nov 2, 2010 3:09:57 AM (3 years ago)
- Location:
- trunk/plugins/password
- Files:
-
- 4 edited
-
README (modified) (10 diffs)
-
config.inc.php.dist (modified) (1 diff)
-
drivers/hmail.php (modified) (2 diffs)
-
package.xml (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/password/README
r3989 r4165 61 61 62 62 You can specify which database to connect by 'password_db_dsn' option and 63 what SQL query to execute by 'password_query'. See main.inc.php file for63 what SQL query to execute by 'password_query'. See main.inc.php.dist file for 64 64 more info. 65 65 … … 166 166 167 167 You can specify which host to connect to via 'password_pop_host' and 168 what port via 'password_pop_port'. See config.inc.php file for more info.168 what port via 'password_pop_port'. See config.inc.php.dist file for more info. 169 169 170 170 … … 172 172 ---------------- 173 173 174 See config.inc.php file. Requires PEAR::Net_LDAP2 package.174 See config.inc.php.dist file. Requires PEAR::Net_LDAP2 package. 175 175 176 176 … … 178 178 -------------------------------------------- 179 179 180 You can specify which host to connect to via 'password_directadmin_host' 181 and what port via 'password_direactadmin_port'. See config.inc.php file180 You can specify which host to connect to via 'password_directadmin_host' 181 and what port via 'password_direactadmin_port'. See config.inc.php.dist file 182 182 for more info. 183 183 … … 187 187 188 188 You can specify parameters for HTTP connection to cPanel's admin 189 interface. See config.inc.php file for more info.189 interface. See config.inc.php.dist file for more info. 190 190 191 191 … … 194 194 195 195 You can specify which host and port to connect to via 'password_ximss_host' 196 and 'password_ximss_port'. See config.inc.php file for more info.196 and 'password_ximss_port'. See config.inc.php.dist file for more info. 197 197 198 198 … … 208 208 ------------------------ 209 209 210 Requires PHP COM (Windows only). 210 Requires PHP COM (Windows only). For access to hMail server on remote host 211 you'll need to define 'hmailserver_remote_dcom' and 'hmailserver_server'. 212 See config.inc.php.dist file for more info. 211 213 212 214 … … 222 224 223 225 Driver that adds functionality to change the systems user password via 224 the 'chpasswd' command. See config.inc.php file.226 the 'chpasswd' command. See config.inc.php.dist file. 225 227 226 228 Attached wrapper script (chpass-wrapper.py) restricts password changes … … 246 248 ----------------------------------- 247 249 248 Driver for XMail (www.xmailserver.org). See config.inc.php file for configuration description. 250 Driver for XMail (www.xmailserver.org). See config.inc.php.dist file 251 for configuration description. 249 252 250 253 … … 257 260 PASSWORD_CRYPT_ERROR, PASSWORD_ERROR when driver was unable to change password. 258 261 See existing drivers in drivers/ directory for examples. 262 -
trunk/plugins/password/config.inc.php.dist
r4019 r4165 257 257 $rcmail_config['xmail_port'] = 6017; 258 258 259 260 // hMail Driver options 261 // ----------------------- 262 // Remote hMailServer configuration 263 // true: HMailserver is on a remote box (php.ini: com.allow_dcom = true) 264 // false: Hmailserver is on same box as PHP 265 $rcmail_config['hmailserver_remote_dcom'] = false; 266 // Windows credentials 267 $rcmail_config['hmailserver_server'] = array( 268 'Server' => 'localhost', // hostname or ip address 269 'Username' => 'administrator', // windows username 270 'Password' => 'password' // windows user password 271 ); 272 -
trunk/plugins/password/drivers/hmail.php
r3568 r4165 4 4 * hMailserver password driver 5 5 * 6 * @version 1. 16 * @version 1.2 - 31.10.2010 7 7 * @author Roland 'rosali' Liebl <myroundcube@mail4us.net> 8 8 * … … 17 17 18 18 try { 19 $obApp = new COM('hMailServer.Application'); 19 $remote = $rcmail->config->get('hmailserver_remote_dcom', false); 20 if ($remote) 21 $obApp = new COM("hMailServer.Application", $rcmail->config->get('hmailserver_server')); 22 else 23 $obApp = new COM("hMailServer.Application"); 20 24 } 21 25 catch (Exception $e) { 22 write_log('errors', "Plugin password (hmail driver):" . $e->getMessage() . ". This problem is often caused by DCOM permissions not being set."); 26 write_log('errors', "Plugin password (hmail driver):" . $e->getMessage() 27 . ". This problem is often caused by DCOM permissions not being set."); 23 28 return PASSWORD_ERROR; 24 29 } -
trunk/plugins/password/package.xml
r4058 r4165 16 16 <active>yes</active> 17 17 </lead> 18 <date>2010-1 0-07</date>18 <date>2010-11-02</date> 19 19 <time>09:00:00</time> 20 20 <version> 21 <release>2. 0</release>21 <release>2.1</release> 22 22 <api>1.6</api> 23 23 </version> … … 28 28 <license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license> 29 29 <notes> 30 - Fixed SQL Injection in SQL driver when using %p or %o variables in query (#1487034)30 - hMail driver: Add possibility to connect to remote host 31 31 </notes> 32 32 <contents> … … 201 201 </notes> 202 202 </release> 203 <release> 204 <date>2010-10-07</date> 205 <time>09:00:00</time> 206 <version> 207 <release>2.0</release> 208 <api>1.6</api> 209 </version> 210 <stability> 211 <release>stable</release> 212 <api>stable</api> 213 </stability> 214 <license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license> 215 <notes> 216 - Fixed SQL Injection in SQL driver when using %p or %o variables in query (#1487034) 217 </notes> 218 </release> 203 219 </changelog> 204 220 </package>
Note: See TracChangeset
for help on using the changeset viewer.
