tree: ec8d073b0b68413b9e7a7f39154fdfc921188644 [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. account_manager.cc
  5. account_manager.h
  6. account_manager_test.cc
  7. config_validator.cc
  8. config_validator.h
  9. config_validator_test.cc
  10. dbus/
  11. dbus_bindings/
  12. error_strings.cc
  13. error_strings.h
  14. fake_krb5_interface.cc
  15. fake_krb5_interface.h
  16. init/
  17. kerberos_adaptor.cc
  18. kerberos_adaptor.h
  19. kerberos_adaptor_test.cc
  20. kerberos_daemon.cc
  21. kerberos_daemon.h
  22. kerberosd_main.cc
  23. krb5_interface.h
  24. krb5_interface_impl.cc
  25. krb5_interface_impl.h
  26. krb5_interface_impl_test.cc
  27. krb5_jail_wrapper.cc
  28. krb5_jail_wrapper.h
  29. krb5_jail_wrapper_test.cc
  30. platform_helper.cc
  31. platform_helper.h
  32. proto/
  33. seccomp/
  34. setuid_restrictions/
  35. tgt_renewal_scheduler.cc
  36. tgt_renewal_scheduler.h
  37. tgt_renewal_scheduler_test.cc
kerberos/README.md

Kerberos

This directory contains the Kerberos service, which provides functionality for getting and managing Kerberos tickets. It is used by Chrome to provide Kerberos Single-SignOn (SSO). Think of it as a fancy wrapper around kinit, kpasswd and klist.

The service is started by Chrome on demand, e.g. when the user navigates to the Kerberos Accounts settings page or when accounts are added by the KerberosAccounts policy. Note that in any case the kerberos.enabled pref has to be enabled. The KerberosEnabled policy maps to that pref.

The service is conceptually similar to the AuthPolicy service, with partly overlapping responsibilities like getting Kerberos tickets for users and auto- renewing tickets. There are many differences, though:

  • The AuthPolicy service is used on Active Directory managed devices. The Kerberos Service is used on cloud managed devices and possibly in the future on consumer devices.

  • AuthPolicy is started on the login screen since online authentication means getting a Kerberos ticket. The Kerberos service runs within a user session only.

  • AuthPolicy has many more responsibilities like joining the device to an Active Directory domain and fetching user and device policy.