1 # Verifies that the configuration suggested in deprecated example values
2 # will result in the expected output.
4 import ../make-test-python.nix ({ pkgs, ...} : {
5 name = "krb5-with-deprecated-config";
6 meta = with pkgs.lib.maintainers; {
7 maintainers = [ eqyiel ];
14 defaultRealm = "ATHENA.MIT.EDU";
15 domainRealm = "athena.mit.edu";
16 kdc = "kerberos.mit.edu";
17 kerberosAdminServer = "kerberos.mit.edu";
22 let snapshot = pkgs.writeText "krb5-with-deprecated-config.conf" ''
24 default_realm = ATHENA.MIT.EDU
28 admin_server = kerberos.mit.edu
29 kdc = kerberos.mit.edu
33 .athena.mit.edu = ATHENA.MIT.EDU
34 athena.mit.edu = ATHENA.MIT.EDU
47 "diff /etc/krb5.conf ${snapshot}"