projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix listcommands template for Send form changes
[squirrelmail.git]
/
plugins
/
change_password
/
backend
/
ldap.php
diff --git
a/plugins/change_password/backend/ldap.php
b/plugins/change_password/backend/ldap.php
index 93a4b0904fd8422458078fd0a57f3faf5149c693..dbf57618bc76e7c37b80533f7596c27eb402f0af 100644
(file)
--- a/
plugins/change_password/backend/ldap.php
+++ b/
plugins/change_password/backend/ldap.php
@@
-21,7
+21,7
@@
if (isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == __FILE_
/** load required functions */
/** sqimap_get_user_server() function */
/** load required functions */
/** sqimap_get_user_server() function */
-include_once(SM_PATH . '
../
functions/imap_general.php');
+include_once(SM_PATH . 'functions/imap_general.php');
/** get imap server and username globals */
global $imapServerAddress, $username;
/** get imap server and username globals */
global $imapServerAddress, $username;
@@
-550,7
+550,6
@@
function cpw_ldap_password_hash($pass,$crypto,&$msgs,$forced_salt='') {
case 'smd5':
// minimal requirement = mhash extension with md5 support and php 4.0.4.
if( function_exists( 'mhash' ) && function_exists( 'mhash_keygen_s2k' ) && defined('MHASH_MD5')) {
case 'smd5':
// minimal requirement = mhash extension with md5 support and php 4.0.4.
if( function_exists( 'mhash' ) && function_exists( 'mhash_keygen_s2k' ) && defined('MHASH_MD5')) {
- sq_mt_seed( (double) microtime() * 1000000 );
if ($forced_salt!='') {
$salt=$forced_salt;
} else {
if ($forced_salt!='') {
$salt=$forced_salt;
} else {
@@
-590,7
+589,6
@@
function cpw_ldap_password_hash($pass,$crypto,&$msgs,$forced_salt='') {
case 'ssha':
// minimal requirement = mhash extension and php 4.0.4
if( function_exists( 'mhash' ) && function_exists( 'mhash_keygen_s2k' ) && defined('MHASH_SHA1')) {
case 'ssha':
// minimal requirement = mhash extension and php 4.0.4
if( function_exists( 'mhash' ) && function_exists( 'mhash_keygen_s2k' ) && defined('MHASH_SHA1')) {
- sq_mt_seed( (double) microtime() * 1000000 );
if ($forced_salt!='') {
$salt=$forced_salt;
} else {
if ($forced_salt!='') {
$salt=$forced_salt;
} else {