Displaying 20 results from an estimated 800 matches similar to: ""Not connected to database" MySQL errors"
2007 Feb 19
2
NTLM oddities
Started implementing the MasterUser changes to my config files so I can
finally offer SPA for pop3/imap.
Things are working fine with the MasterUser (horray!), however one of my
guys started using SPA with Outlook Express and started getting another
users mailbox.
Turns out to be related to NTLM. His Outlook express is configured for the
username of 'johnsmith'. However, you'll see
2006 Dec 17
1
Proxy with MasterUser + Authentication issues
Per Timo's direction, I decided to give the MasterUser a try in connecting
my proxy to my destination server.
This might allow for the use of 'secure password' for my clients that like
to check that box by default.
A couple of problems I'm running into running RC15:
#1: My Proxy's SQL password_query line:
password_query = SELECT a.clearpasswd AS password, v.storeIP AS host,
2004 Oct 22
1
[PATCH] support OEM encoding in NTLM messages
Hello,
after I started to use dovecot as a backend for exim4 SMTP
authentication on my main mailserver, I noticed that some
clients don't advertise unicode support and so they can't
log in.
To fix the problem the attached patch allows use of OEM encoding
in NTLM messages.
Please consider applying.
Best regards.
P.S. I want to release exim4 patch in the near future, probably
when Timo
2006 Oct 21
1
mysql-5.0.26 stored procedure authorization, take 2
Last time I came up with a problem with concernin MySQL authorization with
stored procedures. Timo helped me get going by with modified
client_flags (MULTISTATEMENT keyword).
Now all it happened again but from
another way. My stored proce for MySQL is causing fillowing error:
"Oct 21 12:39:22 haos dovecot: auth-worker(default): sql(user,192.168.X.X):
Password query fai led: Commands out of
2004 Sep 30
1
[PATCH] NTLM2 support
Hello,
as pointed by Andrew Bartlett NTLM2 authentication support
is missing in dovecot. Attached patch adds it.
Tested and works for me.
Please consider applying.
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
-------------- next part --------------
diff -urpNX /usr/share/dontdiff
2012 Mar 01
1
LIST-STATUS issue
Looked at the hg commits since 2.1.1, but didn't see anything that was
exactly on-point to this...
UNSEEN counts seem to be broken when done in a LIST-STATUS call. I
see this, for example:
>> Timestamp: Thu, 01 Mar 2012 10:55:47 -0700
[...]
C: 3 LIST "" (INBOX IN.dovecot) RETURN (STATUS (UNSEEN))
S: * LIST () "." "IN.dovecot"
S: * STATUS
2007 Jan 03
1
Dovecot Sieve capabilties - regex
Hi
Does the Dovecot Sieve implementation support the regex capability?
I get the following error when I try to add it:
Jan 3 16:07:30 absinthe deliver(james): sieve parse error: line 1:
Unsupported features in require line
The line is:
require "regex";
Thanks
James Turnbull
--
James Turnbull <james at lovedthanlost.net>
---
Author of Pro Nagios 2.0
2013 Jul 03
2
LMTP Proxy
Trying to figure out Proxying with LMTP to a few back end storage servers
for quota checking before accepting email delivery on the front end nodes.
If I connect to the back end server directly via telnet, everything works
great.
If I use a front-end server to proxy to the back end server, I don't get
the same result.
Running 2.2.4 on both front and back end servers.
Any help would be
2010 Mar 05
2
Bug in driver-mysql.c + fix
I tried to use MySQL stored procedures from dovecot:
password_query = CALL user_pass_check('%n', '%d', '%w')
user_query = CALL user_info('%n', '%d')
This failed with the message:
User query failed: PROCEDURE imap.user_info can't return a result set in the given context
The root of this problem is that mysql_real_connect() needs to be called with
2006 Feb 06
0
dovecot-cvs/mysql-5.0.18 OLD/PASSWORD problem
i use openbsd/i386, dovecot-cvs(today), mysql-5.0.18
today, i change the mysql_dbuser_password form OLD_PASSWORD to PASSWORD
then dovecot can't connect to mysql-server
shell$> mysql -u root -p
mysql$> SET PASSWORD FOR 'db_user'@'localhost' = PASSWORD('db_pw');
now, dovecot CAN NOT connect to mysql-server
shell$> mysql -u root -p
mysql$> SET PASSWORD FOR
2006 Oct 07
0
No subject
user, password from user_sensitive_data_table into dovecot-sql.conf, but
I'll live with that. You most probably had your reasons, and ultimately I
agree - security first ;-)
--
Chaos greets U
------=_Part_57551_1009602.1160777305352
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<br><br><div><span
2009 Nov 16
1
Problem with stored procedure
Hi Timo/all
I am trying to use stored procedure for password query when it try to
connect i get authenticated only for the first user after that for
subsequent user it gives me this error.
Password query failed: Commands out of sync; you can't run this command now
You might have solved this issue before, did some search just found this
2007 Jan 03
1
determining connection type/port in logs
Is there a way to configure logging to indicate what connection type was
used to authenticate? I'd like to be able to tell from the logs whether
the user used STARTTLS on port 143 or an SSL-wrapped connection on port
993. Using RC15 with auth_verbose=yes gives us the following log entries
during login and logout (lines wrapped for convenience):
# login port 143 with STARTTLS:
Jan 3
2007 Jan 03
1
path field in mysql quota
What is the path field for in the quota table in mysql? Is the
username not enough information for storing and updating quotas?
--
Marshal Newrock, Ideal Solution LLC
http://www.idealso.com
2006 Sep 15
1
Problem with MySQL
Hi there,
I tried to setup a passwddb with mysql, but it wont connect to my
database, even if I patch the driver-mysql.c
Here a test program I wrote to check the connection:
int main()
{
MYSQL mysql;
mysql_init(&mysql);
if (mysql_real_connect(&mysql, NULL, "root", "asd2sdf3", "ccc", 0,
"/var/lib/mysql/mysql.sock", 0) == NULL)
2005 Sep 13
1
problems with Auth and Alpha 1a
Hi all
I'm not quite sure how to explain this problem, so I'll just go from the top ;-).
System is setup on a FreeBSD with IMAP and POP3, both can use PAM and SQL (MySQL) as login methods, though only POP3 is accessible from "the world" - IMAP is restricted via firewall to only localhost. Simple eh?
The problem is that dovecot apparently drops the SQL part from time to time.
2007 Jan 03
1
file descriptor leak?
We are having problems with the latest Dovecot 1.0 (RC15) regarding
file descriptors > 255 being handed off to fdopen() via crypt() via PAM(?).
This is a problem on Solaris 10 due to the fact that the stdio library does
not support file descriptors > 255 (in order to remain binary-compatibile
with older binaries). Here are the messages we run into if we get too many
(~250?) concurrent
2006 Jul 11
3
Dovecot and MySQL auth - initial setup issues
Hello,
I'm just setting up a new server and wanting to use MySQL for user
authentication.
Here is what I have:
Fedora Core 5: 2.6.17-1.2145_FC5
Dovecot v1.0.rc2 (RPM install from atrpms.net)
MySQL v5.0.22
SquirrelMail v 1.4.6-7.fc5
...Running on a Dual XEON machine
I've added the following to dovecot.conf:
auth default {
passdb sql {
args =
2007 Jan 03
4
Xenbus watch firing over and over
hi,
I am trying to add xenbus watch support to mini-os, but am getting into
a endless loop of watches firing over and over. Below is an excerpt from
the xenstore tracefile:
IN 0x805acc8 20070103 19:32:18 WATCH
(/local/domain/0/backend/vif/26/0/state 00043818 )
CREATE watch 0x805a8b8
OUT 0x805acc8 20070103 19:32:18 WATCH (OK )
OUT 0x805acc8 20070103 19:32:18 WATCH_EVENT
2019 Jan 10
2
auth core dump