[27471] in Kerberos

home help back first fref pref prev next nref lref last post

KfW 3.1: Re-directed stderr of kinit/klist displays dialog

daemon@ATHENA.MIT.EDU (petesea@bigfoot.com)
Mon Feb 19 23:44:22 2007

Date: Mon, 19 Feb 2007 20:43:15 -0800 (Pacific Standard Time)
From: petesea@bigfoot.com
To: kerberos@mit.edu
Message-id: <Pine.WNT.4.64.0702192031590.492@oberon.home.org>
MIME-version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

Is there a way to redirect stderr from kinit/klist to a file?

Running this from a DOS command prompt displays the output right in the 
DOS command window (as I would expect):

   C:\> klist -c foobar
   klist: No credentials cache found (ticket cache API:foobar)

But if I re-direct stderr to a file, it displays a Windows dialog instead 
and nothing goes to the file:

   C:\> klist -c foobar 2> err.log
   (dialog with OK button -- same error as above)
   (err.log is empty)

Re-directing stdout (assuming the command did not return an error) seems 
to work fine, but re-directing stderr doesn't.
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post