dovecot-2.2: auth: winbind mechanism supports now spaces in file...

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 10 05:24:41 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/ae4bbcc9612b
changeset: 14826:ae4bbcc9612b
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Aug 01 20:24:58 2012 +0300
description:
auth: winbind mechanism supports now spaces in filenames.

diffstat:

 src/auth/mech-winbind.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8d59874e02ad -r ae4bbcc9612b src/auth/mech-winbind.c
--- a/src/auth/mech-winbind.c	Wed Aug 01 20:24:00 2012 +0300
+++ b/src/auth/mech-winbind.c	Wed Aug 01 20:24:58 2012 +0300
@@ -240,7 +240,7 @@
 	} 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, '\\');


More information about the dovecot-cvs mailing list