Basic kerberos config
This commit is contained in:
parent
1680b2bc45
commit
2bcd4152a9
2 changed files with 36 additions and 1 deletions
|
|
@ -92,8 +92,44 @@ in
|
||||||
nodemanager.enable = true;
|
nodemanager.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kerberos_server = {
|
||||||
|
enable = true;
|
||||||
|
realms."ATHENA.MIT.EDU" = {
|
||||||
|
acl = [
|
||||||
|
{ access = "all"; principal = "*/admin"; }
|
||||||
|
{ access = "all"; principal = "admin"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
krb5 = {
|
||||||
|
enable = true;
|
||||||
|
realms."ATHENA.MIT.EDU" = {
|
||||||
|
admin_server = "localhost";
|
||||||
|
kdc = [
|
||||||
|
"localhost"
|
||||||
|
];
|
||||||
|
kpasswd_server = "localhost";
|
||||||
|
};
|
||||||
|
domain_realm = {
|
||||||
|
".athena.mit.edu" = "ATHENA.MIT.EDU";
|
||||||
|
"athena.mit.edu" = "ATHENA.MIT.EDU";
|
||||||
|
};
|
||||||
|
libdefaults = {
|
||||||
|
default_realm = "ATHENA.MIT.EDU";
|
||||||
|
dns_lookup_realm = false;
|
||||||
|
dns_lookup_kdc = false;
|
||||||
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
[logging]
|
||||||
|
default = FILE:/var/log/krb5.log
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
systemd.services.spark-history = {
|
systemd.services.spark-history = {
|
||||||
path = with pkgs; [ procps openssh nettools ];
|
path = with pkgs; [ procps openssh nettools ];
|
||||||
description = "spark history service.";
|
description = "spark history service.";
|
||||||
|
|
|
||||||
1
odin.nix
1
odin.nix
|
|
@ -45,7 +45,6 @@
|
||||||
ark
|
ark
|
||||||
authy
|
authy
|
||||||
bitwarden
|
bitwarden
|
||||||
blender
|
|
||||||
btop
|
btop
|
||||||
catgirl # IRC
|
catgirl # IRC
|
||||||
cava
|
cava
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue