[Samba] Samba Kerberos Logs

June Chong | TechnologyWise june at tw.co.nz
Tue Feb 27 03:46:06 UTC 2024


Hi team,

Is there a way to grab Kerberos specific log entries?

Example:

/Auth: [Kerberos KDC,ENC-TS Pre-authentication] user.../

I have tried using the kerberos class but nothing was logged when I 
specified a path.

This is what I have on my smb.conf.

/[global]
         log level = 1 kerberos:2@/var/log/samba/kerberos.log 
auth_audit:3@/var/log/samba/audit.log winbind:2@/var/log/samba/winbind.log/

I have also noticed that the log.samba file has a limit of /4.9 MB/ 
before log rotation happens. Putting /max log size = 512002/ does not 
seem to help.

I tried using the full_audit class for logging but the system returned 
with an error that it is an unknown class.

//[2024/01/31 13:08:14.699574,  0] 
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
   /usr/sbin/samba_kcc: debug_lookup_classname: Unknown 
classname[full_audit] -> adding it.../
/

Any help is appreciated.

Kind regards,

-- 
*June Chong*
*Technician | TechnologyWise*

Basestation
148 Durham St
Tauranga, NZ

email: june at tw.co.nz
office: +64 (0)7 571 1060
web: technologywise.co.nz


More information about the samba mailing list