Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Kerberos for Windows Logging

35 views
Skip to first unread message

Patrick Norman

unread,
Jan 28, 2021, 12:28:09 PM1/28/21
to kerb...@mit.edu
Hey all, I am looking into using Kerberos for Windows in a POC I am doing.
I am having trouble getting logging to work, all other settings in my INI
are working correctly. I have started procmon to check if something is
going on with access and it appears nothing is even attempting to access
the file path I have defined. There are a few examples I have found
through searches, none of them seem to work. I have tried the following
(folder exists), nothing seems to work, any help would be appreciated.

[logging]
default = FILE:C:\Temp\Logs\MITKerberos\krb5libs.log

[logging]
default = FILE:"C:\Temp\Logs\MITKerberos\krb5libs.log"

[logging]
default = C:\Temp\Logs\MITKerberos\krb5libs.log

[logging]
default = "C:\Temp\Logs\MITKerberos\krb5libs.log"

[logging]
default = 'C:\Temp\Logs\MITKerberos\krb5libs.log'

Along with some variants of SYSLOG:INFO, though I cannot find a windows
example.

If someone could let me know if logging on Windows is supported it would be
appreciated.
Thank you,
Patrick

Patrick Norman
Jane Street Group | Information Technology
250 Vesey Street | New York, NY 10281

Greg Hudson

unread,
Jan 28, 2021, 12:49:13 PM1/28/21
to Patrick Norman, kerb...@mit.edu
On 1/28/21 11:59 AM, Patrick Norman wrote:
> Hey all, I am looking into using Kerberos for Windows in a POC I am doing.
> I am having trouble getting logging to work

The [logging] section is for krb5kdc and kadmind, which are not part of
the Windows build.

If you want to use trace logging, just set the KRB5_TRACE environment
variable to a filename.

Patrick Norman

unread,
Jan 28, 2021, 2:24:49 PM1/28/21
to Greg Hudson, kerb...@mit.edu
Ahh, that explains it, thank you very much Greg! I was hoping to get
warning / error level events (i.e. failure to renew a ticket / init). After
seeing a few examples of it in win.ini config online I thought there was
hope. Thanks again for allowing me to stop this wild goose chase!

Patrick Norman
Jane Street Group | Information Technology
250 Vesey Street | New York, NY 10281


0 new messages