account: update the address used for authentication
This commit is contained in:
parent
ce0155d6ab
commit
acb49a2eb1
8 changed files with 11 additions and 11 deletions
|
@ -5,7 +5,7 @@ SKYNET00003,jarvis,193.1.99.73,jarvis,"","","",VM Host
|
|||
SKYNET00004,vigil,193.1.99.109,vigil/ns2,53,"","",DNS Nameserver 2
|
||||
SKYNET00005,galatea,193.1.99.111,galatea/stream,80/443 8000,"","",ULFM Radio
|
||||
SKYNET00006,optimus,193.1.99.112,optimus/games/*.games,80/443 25565,"","",Games server
|
||||
SKYNET00007,kitt,193.1.99.74,kitt/sso/api.sso,"",80/443,i23-07-28_010,LDAP and Self-Service Password/Account management
|
||||
SKYNET00007,kitt,193.1.99.74,kitt/account/api.account,"",80/443,i23-07-28_010,LDAP and Self-Service Password/Account management
|
||||
SKYNET00008,glados,193.1.99.75,glados/gitlab/*.pages.gitlab,80/443,2222,i23-05-18_249,Gitlab server
|
||||
SKYNET00009,gir,193.1.99.76,gir/mail,80/443 25/143/993/587/465,"",i23-06-19_525/i23-06-19_525,Email and Webmail
|
||||
SKYNET00010,wheatly,193.1.99.78,wheatly,"","","",Gitlab Runner
|
||||
|
|
|
|
@ -22,7 +22,7 @@
|
|||
"*.skynet.ie"
|
||||
"*.minecraft.games.skynet.ie"
|
||||
"*.pages.skynet.ie"
|
||||
"api.sso.skynet.ie"
|
||||
"api.account.skynet.ie"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
hosts = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [
|
||||
"ldaps://sso.skynet.ie"
|
||||
"ldaps://account.skynet.ie"
|
||||
];
|
||||
description = lib.mdDoc "ldap domains";
|
||||
};
|
||||
|
@ -157,7 +157,7 @@
|
|||
$config['login_username_filter'] = "email";
|
||||
$config['ldap_public']['public'] = array(
|
||||
'name' => 'Public LDAP Addressbook',
|
||||
'hosts' => 'tls://sso.skynet.ie',
|
||||
'hosts' => 'tls://account.skynet.ie',
|
||||
'port' => 636 ,
|
||||
'user_specific' => false,
|
||||
'base_dn' => 'ou=users,dc=skynet,dc=ie',
|
||||
|
|
|
@ -179,7 +179,7 @@
|
|||
servers = {
|
||||
main = {
|
||||
label = "Skynet";
|
||||
host = "sso.skynet.ie";
|
||||
host = "account.skynet.ie";
|
||||
port = 636;
|
||||
uid = "uid";
|
||||
encryption = "simple_tls";
|
||||
|
|
|
@ -45,7 +45,7 @@ Gonna use a priper nixos module for this
|
|||
|
||||
sub = mkOption {
|
||||
type = types.str;
|
||||
default = "sso";
|
||||
default = "account";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
sub = mkOption {
|
||||
type = types.str;
|
||||
default = "api.sso";
|
||||
default = "api.account";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -59,7 +59,7 @@
|
|||
locations."/".proxyPass = "http://localhost:${port_backend}";
|
||||
|
||||
extraConfig = ''
|
||||
add_header Access-Control-Allow-Origin "https://sso.${cfg.domain.base}.${cfg.domain.tld}";
|
||||
add_header Access-Control-Allow-Origin "https://account.${cfg.domain.base}.${cfg.domain.tld}";
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -70,7 +70,7 @@
|
|||
envFile = config.age.secrets.ldap_self_service.path;
|
||||
|
||||
ldap = {
|
||||
host = "ldaps://sso.skynet.ie";
|
||||
host = "ldaps://account.skynet.ie";
|
||||
admin = "uid=ldap_api,ou=users,dc=skynet,dc=ie";
|
||||
};
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
address = mkOption {
|
||||
type = types.str;
|
||||
default = "sso.skynet.ie";
|
||||
default = "account.skynet.ie";
|
||||
description = lib.mdDoc "The domain the ldap is behind";
|
||||
};
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
# simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.05";
|
||||
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
|
||||
|
||||
# sso.skynet.ie
|
||||
# account.skynet.ie
|
||||
skynet_ldap_backend.url = "gitlab:compsoc1%2Fskynet%2Fldap/backend?host=gitlab.skynet.ie";
|
||||
skynet_ldap_frontend.url = "gitlab:compsoc1%2Fskynet%2Fldap/frontend?host=gitlab.skynet.ie";
|
||||
|
||||
|
|
Loading…
Reference in a new issue