dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0061-sss_override-print-input-name-if-unable-to-parse-it.patch

6cf099
From 90c45ac5b4e67703455b2cf04334ae0fc90188b3 Mon Sep 17 00:00:00 2001
6cf099
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
6cf099
Date: Sat, 15 Aug 2015 13:53:25 +0200
6cf099
Subject: [PATCH 61/66] sss_override: print input name if unable to parse it
6cf099
6cf099
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
6cf099
---
6cf099
 src/tools/sss_override.c | 2 +-
6cf099
 1 file changed, 1 insertion(+), 1 deletion(-)
6cf099
6cf099
diff --git a/src/tools/sss_override.c b/src/tools/sss_override.c
6cf099
index 5e901e2e31de64dacb171337defc03d428f8ed57..e84a7b922dfcf179f8010dc4cced0eafd89a2c76 100644
6cf099
--- a/src/tools/sss_override.c
6cf099
+++ b/src/tools/sss_override.c
6cf099
@@ -74,7 +74,7 @@ static int parse_cmdline(struct sss_cmdline *cmdline,
6cf099
     ret = sss_tool_parse_name(tool_ctx, tool_ctx, input_name,
6cf099
                               &orig_name, &domain);
6cf099
     if (ret != EOK) {
6cf099
-        fprintf(stderr, _("Unable to parse name.\n"));
6cf099
+        fprintf(stderr, _("Unable to parse name %s.\n"), input_name);
6cf099
         return ret;
6cf099
     }
6cf099
 
6cf099
-- 
6cf099
2.4.3
6cf099