Browse Source

dovecot: Updated (2.1.8 -> 2.1.9)

user/chris/toolchain/0.3
Christian Wiese 12 years ago
parent
commit
27d70ed5e6
  1. 32
      mail/dovecot/dovecot-auth-mech-winbind-space_users.patch
  2. 4
      mail/dovecot/dovecot.desc

32
mail/dovecot/dovecot-auth-mech-winbind-space_users.patch

@ -1,32 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../dovecot/dovecot-auth-mech-winbind-space_users.patch
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
Fix winbind authentication when using usernames that include spaces
see: http://www.dovecot.org/list/dovecot/2012-July/067397.html
--- a/src/auth/mech-winbind.c 2012-08-01 11:03:38.251923128 +0200
+++ b/src/auth/mech-winbind.c 2012-08-01 11:03:56.939262515 +0200
@@ -240,7 +240,7 @@ do_auth_continue(struct auth_request *au
} else if (strcmp(token[0], "AF") == 0) {
const char *user, *p, *error;
- user = gss_spnego ? token[2] : token[1];
+ user = t_strarray_join(gss_spnego ? token+2 : token+1, " ");
i_assert(user != NULL);
p = strchr(user, '\\');

4
mail/dovecot/dovecot.desc

@ -33,10 +33,10 @@
[L] LGPL MIT [L] LGPL MIT
[S] Stable [S] Stable
[V] 2.1.8 [V] 2.1.9
[P] X -----5---9 194.300 [P] X -----5---9 194.300
[CV-URL] http://www.dovecot.org/download.html [CV-URL] http://www.dovecot.org/download.html
[D] 878918086 dovecot-2.1.8.tar.gz http://dovecot.org/releases/2.1/ [D] 2493137163 dovecot-2.1.9.tar.gz http://dovecot.org/releases/2.1/

Loading…
Cancel
Save