heimdal_debug(5)

heimdal_debug5

How to turn on/off debugging for kerberos tools

Overview

The heimdal_debug kerberos frameworks have several knobs for controlling logging. The different framework knobs are:

libkrb

The Kerberos library, some gss-api Kerberos output ends up here too

kcm

the kcm library (credentials cache, ntlm client)

kdc

the kerberos KDC output

digest-service

the digest service (ntlm server)

Configuration file

[logging]
	<subsystem> = 0-/SYSLOG:

and watch syslog for logging information.

Apple mac OS X

First turn up syslog debugging

sudo syslog -c 0 -d

then you can see the syslog output in Console.app or by running

syslog -w -k org.h5l.asl

To enable more extensive debugging logging for each subsystem, use the following commands:

Kerberos Library

sudo defaults write /Library/Preferences/com.apple.Kerberos logging -dict-add krb5 '0-/OSLOG:normal:'

digest-server

sudo defaults write /Library/Preferences/com.apple.Kerberos logging -dict-add digest-service '0-/OSLOG:normal:'

kcm

sudo defaults write /Library/Preferences/com.apple.Kerberos logging -dict-add kcm '0-/OSLOG:normal:'

kdc

sudo defaults write /Library/Preferences/com.apple.Kerberos logging -dict-add kdc '0-/OSLOG:normal:'

MIT Kerberos Shim

defaults write com.apple.MITKerberosShim EnableDebugging -bool true

GSS-API framework logging

sudo defaults write /Library/Preferences/com.apple.GSS DebugLevel -int 10

Other options on Mac OS X

Make the admin API pretend to the server even on client

sudo defaults write /Library/Preferences/com.apple.Kerberos ForceHeimODServerMode -bool true

Releases

97 releases since Mac OS X 10.7; the text changed 3 times.

  1. 10.7–10.7.5
  2. 10.8–10.8.5
  3. 10.9–10.11.6
  4. 10.12–26.5

From Heimdal 710.100.4 in macOS 26.5. Parsed by carta from the page's mdoc source.