search for: client_flag

Displaying 16 results from an estimated 16 matches for "client_flag".

Did you mean: client_flags
2004 Oct 22
1
[PATCH] support OEM encoding in NTLM messages
...h = append_string(buf, data, 0); + length = append_string(buf, data, 0, 1) + + sizeof(info); break; default: i_panic("Invalid NTLM target info block type " @@ -115,10 +126,14 @@ static void ntlmssp_append_target_info(b static inline uint32_t ntlmssp_flags(uint32_t client_flags) { - uint32_t flags = NTLMSSP_NEGOTIATE_UNICODE | - NTLMSSP_NEGOTIATE_NTLM | + uint32_t flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_TARGET_INFO; + if (client_flags & NTLMSSP_NEGOTIATE_UNICODE) + flags |= NTLMSSP_NEGOTIATE_UNICODE; + else + flags |= NTLMSSP_NEGOTIATE_OEM; +...
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 sync; you can't run this command now"...
2004 Sep 30
1
[PATCH] NTLM2 support
...est46.vanilla/src/lib-ntlm/ntlm-message.c 2004-07-31 07:50:01.000000000 +0400 +++ dovecot-1.0-test46/src/lib-ntlm/ntlm-message.c 2004-09-28 23:42:45.000000000 +0400 @@ -119,6 +119,9 @@ static inline uint32_t ntlmssp_flags(uin NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_TARGET_INFO; + if (client_flags & NTLMSSP_NEGOTIATE_NTLM2) + flags |= NTLMSSP_NEGOTIATE_NTLM2; + if (client_flags & NTLMSSP_REQUEST_TARGET) flags |= NTLMSSP_REQUEST_TARGET | NTLMSSP_TARGET_TYPE_SERVER; -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: applicat...
2006 Jul 11
3
Dovecot and MySQL auth - initial setup issues
...f: auth default { passdb sql { args = /etc/dovecot-mysql.conf } userdb sql { args = /etc/dovecot-mysql.conf } The rest of dovecot.conf is standard. /etc/dovecot-mysql.conf has: driver=mysql connect = host=127.0.0.1 port=3306 dbname=maildb user=root client_flags=0 password_query = SELECT password FROM users WHERE id = '%u' user_query = SELECT maildir FROM users WHERE id = '%u' (I've run the SQL queries within mysql and they give the right results) When I start Dovecot the log shows: dovecot: Jul 11 12:47:25 Info: Dovecot v1.0.rc2 s...
2010 Mar 05
2
Bug in driver-mysql.c + fix
...:17.000000000 +0000 @@ -132,9 +132,10 @@ } alarm(MYSQL_CONNECT_FAILURE_TIMEOUT); + /* CLIENT_MULTI_RESULTS allows the use of stored procedures */ failed = mysql_real_connect(conn->mysql, host, db->user, db->password, db->dbname, db->port, unix_socket, - db->client_flags) == NULL; + db->client_flags | CLIENT_MULTI_RESULTS) == NULL; alarm(0); if (failed) { if (conn->connect_failure_count > 0) { @@ -429,6 +430,7 @@ struct mysql_db *db = (struct mysql_db *)_db; struct mysql_connection *conn; struct mysql_result *result; + int nr; resu...
2006 Feb 06
0
dovecot-cvs/mysql-5.0.18 OLD/PASSWORD problem
...mysql_real_connect(), then see the maillog, the db->user/password/dbname is correct maillog: auth-worker(default): conn->mysql is NOT NULL auth-worker(default): host((null)), db->user(db_user), db->password(db_pw), db->dbname(dbname), db->port(0), unix_socket(/mysql.sock), db->client_flags(0) auth-worker(default): failed: (1) auth-worker(default): mysql: Connect failed to (null) (dbname): Access denied for user 'db_user'@'localhost' (using password: YES) - waiting for 1 seconds before retry i wrote a small c program to test, it can success connect to mysql, use same...
2006 Oct 07
0
No subject
...p;&nbsp;&nbsp; /* Updates require this because everything is committed in one large<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SQL statement. */<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db-&gt;client_flags |= CLIENT_MULTI_STATEMENTS;<br>#endif<br><br> I'd rather not put it back since it potentially makes it less secure.<br></blockquote></div><br>Yes, most probably the lack of this CLIENT_MULTI_STATEMENTS flag blocks&nbsp;stored&nbsp;procs&nbs...
2009 Nov 16
1
Problem with stored procedure
...ight have solved this issue before, did some search just found this http://www.dovecot.org/list/dovecot/2006-October/017041.html (not resloved) Could you please guide me how to resolve this issue. thanks in advance. *dovecot-mysql.conf* connect = host=xxxx dbname=dovecot user=xxx password=xxxxx client_flags=65536 user_query = SELECT xx as uid, xx as gid, home FROM table WHERE User = '%u' password_query = call proxyMayBe('%u','%w','%r'); *Dovecot -n : *# 1.2.6: /etc/dovecot.conf # OS: Linux 2.6.18-164.el5 x86_64 CentOS release 5.4 (Final) base_dir: /var/run/dovecot...
2006 Sep 15
1
Problem with MySQL
...s'", host, db->user, db->password, db->dbname, db->port, unix_socket); /* failed = mysql_real_connect(conn->mysql, host, db->user, db->password, db->dbname, db->port, unix_socket, db->client_flags) == NULL; */ failed = mysql_real_connect(conn->mysql, NULL, "root", "asd2sdf3", "ccc", 0, "/var/lib/mysql/mysql.sock", 0) == NULL; And it still says: Sep 15 03:08:38 suse10064lamp dovecot: auth-worker(default): ok... connecting to mysql: host='...
2005 Sep 13
1
problems with Auth and Alpha 1a
...lain passdb pam { } userdb passwd { } passdb sql { args = /usr/local/etc/dovecot/mysql.conf } userdb sql { args = /usr/local/etc/dovecot/mysql.conf } user = root } -- END -- sql.conf: driver = mysql connect = host=localhost port=3306 dbname=N/A user=N/A password=N/A client_flags=0 default_pass_scheme = CRYPT password_query = SELECT password FROM mail WHERE username = '%n' and domain= '%d' user_query = SELECT concat('/VIRTUAL_MAIL/',domain,'/',username,'/') as home,concat('/VIRTUAL_MAIL/',domain,'/',username,'/...
2007 Jan 02
1
"Not connected to database" MySQL errors
...etc/dovecot-sql.conf } userdb static { args = uid=5000 gid=5000 home=/dev/null } user = root # Number of authentication processes to create count = 10 ## dovecot-sql.conf driver = mysql connect = host=/tmp/mysql.sock dbname=iwmailsystem user=imap_proxy password=***** client_flags=65536 default_pass_scheme = MD5 password_query = CALL pop_auth('%u','%l','%r') -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20070102/d3c01948/attachment-0002.html>
2010 Nov 28
2
[PATCH] Use canonical hostname for DNS SSHFP lookup
...(%d bits) and host key (%d bits).", BN_num_bits(server_key->rsa->n), BN_num_bits(host_key->rsa->n)); - if (verify_host_key(host, hostaddr, host_key) == -1) + if (verify_host_key(host, hostaddr, host_key, NULL) == -1) fatal("Host key verification failed."); client_flags = SSH_PROTOFLAG_SCREEN_NUMBER | SSH_PROTOFLAG_HOST_IN_FWD_OPEN; diff -ur openssh/sshconnect2.c openssh-sshfp/sshconnect2.c --- openssh/sshconnect2.c 2010-09-24 14:11:14.000000000 +0200 +++ openssh-sshfp/sshconnect2.c 2010-11-27 23:38:36.154046251 +0100 @@ -90,24 +90,26 @@ char *xxx_host; struc...
2009 Sep 14
2
General question for Dovecot under OpenBSD
Hello All, First of all thanks a lot for providing a quality software such as Dovecot. I am having troubles for setting up the config files of OpenBSD's binary package of Dovecot, flavor sieve/mysql. Do you know where some documentation could be found for setting up correctly the .conf (dovecot.conf & dovecot-sql.conf) since it does not even load ("Error in configuration file
2019 Jan 10
2
auth core dump
2009 May 04
1
virtual mailbox users users can send, but can't read e-mail
...tring. This is driver-specific setting. # # pgsql: # For available options, see the PostgreSQL documention for the # PQconnectdb function of libpq. # # mysql: # Basic options emulate PostgreSQL option names: # host, port, user, password, dbname # # But also adds some new settings: # client_flags - See MySQL manual # ssl_ca, ssl_ca_path - Set either one or both to enable SSL # ssl_cert, ssl_key - For sending client-side certificates to server # ssl_cipher - Set minimum allowed cipher security (default: HIGH) # # You can connect to UNIX sockets by using host...
2006 Jun 15
3
Problem with Dovecot LDA / Postfix
Our setup is ok with Postfix / Dovecot. I just need to add dovecot LDA. I use the 1.0beta9 LDA Configuration: protocol lda { postmaster_address = postmaster@clm.net4all.ch #hostname = #mail_plugins = #mail_plugin_dir = /usr/lib/dovecot/imap #sendmail_path = /usr/lib/sendmail auth_socket_path = /var/run/dovecot/auth-master } auth default-socket { mechanisms = plain login passdb