still bugfixing

This commit is contained in:
Steven Mondji-Lerider 2012-04-13 16:06:57 +00:00
parent f83cfb7493
commit 3417461db0
4 changed files with 16 additions and 4 deletions

View File

@ -347,7 +347,7 @@ class m_mysql {
// Update all the "pass" fields for this user :
$db->query("UPDATE db SET pass='$password' WHERE uid='$cuid';");
$this->dbus->query("SET PASSWORD FOR ".$login."@".$this->dbus->client." = PASSWORD(".$password.");");
$this->dbus->query("SET PASSWORD FOR ".$login."@".$this->dbus->client." = PASSWORD('$password');");
return true;
}

View File

@ -237,8 +237,18 @@ EOF
# important: postinst gele sans ca
db_stop
echo "running alternc.install"
alternc.install
echo "**********************************************"
echo "* *"
echo "* ALTERNC *"
echo "* ------------ *"
echo "* *"
echo "* *"
echo "* Please run alternc.install to fully deploy *"
echo "* *"
echo "**********************************************"
;;

2
debian/changelog vendored
View File

@ -5,7 +5,7 @@ alternc (1.1+nmu2) stable; urgency=low
adding of user vmail dedicated to the mail system
* Bugfixes
-- root <root@debian-prime.in.nnx.com> Sat, 03 Mar 2012 13:09:06 +0100
-- Squidly <squidly@nnx.com> Sat, 03 Mar 2012 13:09:06 +0100
alternc (1.1+nmu1) stable; urgency=low

View File

@ -261,6 +261,8 @@ CREATE TABLE `mailbox` (
`quota` bigint(20) unsigned DEFAULT NULL, -- Quota for this mailbox.
`delivery` varchar(255) NOT NULL, -- Delivery transport.
`update_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- Update date, for technical usage only.
`bytes` bigint(20) NOT NULL DEFAULT '0',
`messages` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `address_id` (`address_id`)
) COMMENT = 'Table containing local deliverd mailboxes.';