dovecot-2.2: doveadm director map: Show also the username hash.

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 23 19:15:55 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/14752b3cd609
changeset: 17256:14752b3cd609
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 23 22:15:28 2014 +0300
description:
doveadm director map: Show also the username hash.

diffstat:

 src/doveadm/doveadm-director.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r fb31a88786df -r 14752b3cd609 src/doveadm/doveadm-director.c
--- a/src/doveadm/doveadm-director.c	Wed Apr 23 22:13:08 2014 +0300
+++ b/src/doveadm/doveadm-director.c	Wed Apr 23 22:15:28 2014 +0300
@@ -297,6 +297,7 @@
 
 	doveadm_print_init(DOVEADM_PRINT_TYPE_TABLE);
 	doveadm_print_header("user", "user", DOVEADM_PRINT_HEADER_FLAG_EXPAND);
+	doveadm_print_header_simple("hash");
 	doveadm_print_header_simple("mail server ip");
 	doveadm_print_header_simple("expire time");
 
@@ -323,11 +324,13 @@
 							 POINTER_CAST(user_hash));
 				if (user == NULL) {
 					doveadm_print("<unknown>");
+					doveadm_print(args[0]);
 					doveadm_print(args[2]);
 					doveadm_print(unixdate2str(expires));
 				}
 				for (; user != NULL; user = user->next) {
 					doveadm_print(user->name);
+					doveadm_print(args[0]);
 					doveadm_print(args[2]);
 					doveadm_print(unixdate2str(expires));
 				}


More information about the dovecot-cvs mailing list