summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-07-18 22:34:23 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-20 21:26:19 +0200
commitee4ba51f2fcfc8d8b807c3de6eaac554281165d2 (patch)
tree6f1daf62c3638b08fcdf29d5e20c880997613405 /src/providers/krb5
parent973be642f3d33ba21ea9c06791295f09efcdba46 (diff)
downloadsssd-ee4ba51f2fcfc8d8b807c3de6eaac554281165d2.tar.gz
sssd-ee4ba51f2fcfc8d8b807c3de6eaac554281165d2.tar.xz
sssd-ee4ba51f2fcfc8d8b807c3de6eaac554281165d2.zip
KRB5: add missing debug-to-stderr option to krb5_child
Without this option krb5_child cannot be run in interactive mode. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/krb5')
-rw-r--r--src/providers/krb5/krb5_child.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index 0980c7c45..3234a4e6c 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -1979,6 +1979,9 @@ int main(int argc, const char *argv[])
_("Show timestamps with microseconds"), NULL},
{"debug-fd", 0, POPT_ARG_INT, &debug_fd, 0,
_("An open file descriptor for the debug logs"), NULL},
+ {"debug-to-stderr", 0, POPT_ARG_NONE | POPT_ARGFLAG_DOC_HIDDEN,
+ &debug_to_stderr, 0,
+ _("Send the debug output to stderr directly."), NULL },
POPT_TABLEEND
};