Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > e88a4738a8e6d6bdf1b0caa9a3908979 > files > 35

squirrelmail-1.4.13-3mdv2008.1.src.rpm

--- config.php.sample	2005-08-08 19:06:46.000000000 +0200
+++ config.php.sample.oden	2006-06-11 12:44:22.000000000 +0200
@@ -34,7 +34,7 @@
 
 	// USE THIS IF YOU DON'T CARE ABOUT SECURITY.
 	$ldap_bind_as_manager = 0;	
-	$ldap_manager_dn="cn=manager,$ldap_base_dn";
+	$ldap_manager_dn="cn=root,$ldap_base_dn";
 	$ldap_manager_pw="secret";
 
 	//if you're also using LDAP to authenticate samba users, we can sync the samba passwords too
--- options.php	2005-08-18 18:34:16.000000000 +0200
+++ options.php.oden	2006-06-11 13:07:04.000000000 +0200
@@ -36,37 +36,15 @@
 // Fernando Maior
 // Alfredo Cubitos
 // Apologies if I've missed anyone :-)
-   chdir ("..");
-   define('SM_PATH','../');
 
+define('SM_PATH','../../');
 
-// include compatibility plugin
-   include_once(SM_PATH . 'plugins/compatibility/functions.php');
-
-if (compatibility_check_sm_version(1, 3)) {
-   if (!isset($config_php))
-      include_once (SM_PATH . "config/config.php");
-   include_once(SM_PATH . 'include/validate.php');
-   if (!isset($strings_php))
-      include_once (SM_PATH . "functions/strings.php");
-   if (!isset($page_header))
-      include_once (SM_PATH . "functions/page_header.php");
-   if (!isset($imap_php))
-      include_once (SM_PATH . "functions/imap.php");
-   include_once (SM_PATH . "include/load_prefs.php");
-} else {
-   //session_start(); 
-   include_once(SM_PATH . "src/validate.php");
-   if (!isset($config_php))
-      include_once (SM_PATH . "config/config.php");
-   if (!isset($strings_php))
-      include_once (SM_PATH . "functions/strings.php");
-   if (!isset($page_header))
-      include_once (SM_PATH . "functions/page_header.php");
-   if (!isset($imap_php))
-      include_once (SM_PATH . "functions/imap.php");
-   include_once (SM_PATH . "src/load_prefs.php");
-}
+require_once(SM_PATH . 'include/validate.php');
+require_once(SM_PATH . 'config/config.php');
+require_once(SM_PATH . 'functions/strings.php');
+require_once(SM_PATH . 'functions/page_header.php');
+require_once(SM_PATH . 'functions/imap.php');
+require_once(SM_PATH . 'include/load_prefs.php');
 
 bindtextdomain('change_ldappass', SM_PATH . 'plugins/change_ldappass/locale');
 textdomain('change_ldappass');
--- setup.php	2005-08-08 19:02:25.000000000 +0200
+++ setup.php.oden	2006-06-11 12:45:49.000000000 +0200
@@ -14,14 +14,14 @@
   global $optpage_blocks;
     $optpage_blocks[] =
        array(
-             'name' => _("Change Password"),
+             'name' => _("Change LDAP Password"),
              'url'  => '../plugins/change_ldappass/options.php',
              'desc' => _("This connects to your local Password Server to change your login password for all services."));
   textdomain('squirrelmail');
 }
 
 function change_ldappass_version() {
-   return '1.8';
+   return '1.9.1';
 }
 
 ?>
--- version	2005-08-10 13:49:17.000000000 +0200
+++ version.oden	2006-06-11 12:44:31.000000000 +0200
@@ -1,2 +1,2 @@
 Change LDAP Password
-1.9
+1.9.1