fix: got jones back working again
This commit is contained in:
parent
7dcda8021c
commit
c756a1d03e
2 changed files with 25 additions and 27 deletions
|
@ -77,41 +77,39 @@
|
|||
sshAuthorizedKeysIntegration = true;
|
||||
|
||||
config = ''
|
||||
[domain/skynet.ie]
|
||||
#debug_level = 4
|
||||
[domain/skynet.ie]
|
||||
id_provider = ldap
|
||||
auth_provider = ldap
|
||||
sudo_provider = ldap
|
||||
|
||||
id_provider = ldap
|
||||
auth_provider = ldap
|
||||
sudo_provider = ldap
|
||||
ldap_uri = ldaps://${cfg.address}:636
|
||||
|
||||
ldap_uri = ldaps://${cfg.address}:636
|
||||
ldap_search_base = ${cfg.base}
|
||||
# thank ye https://medium.com/techish-cloud/linux-user-ssh-authentication-with-sssd-ldap-without-joining-domain-9151396d967d
|
||||
ldap_user_search_base = ou=users,${cfg.base}?sub?(|${create_filter cfg.groups})
|
||||
ldap_group_search_base = ou=groups,${cfg.base}
|
||||
ldap_sudo_search_base = cn=skynet-admins-linux,ou=groups,${cfg.base}
|
||||
|
||||
ldap_search_base = ${cfg.base}
|
||||
# thank ye https://medium.com/techish-cloud/linux-user-ssh-authentication-with-sssd-ldap-without-joining-domain-9151396d967d
|
||||
ldap_user_search_base = ou=users,${cfg.base}?sub?(|${create_filter cfg.groups})
|
||||
ldap_group_search_base = ou=groups,${cfg.base}
|
||||
ldap_sudo_search_base = cn=skynet-admins-linux,ou=groups,${cfg.base}
|
||||
ldap_group_nesting_level = 5
|
||||
|
||||
ldap_group_nesting_level = 5
|
||||
cache_credentials = false
|
||||
entry_cache_timeout = 1
|
||||
|
||||
cache_credentials = false
|
||||
entry_cache_timeout = 1
|
||||
ldap_user_member_of = skMemberOf
|
||||
|
||||
ldap_user_member_of = skMemberOf
|
||||
[sssd]
|
||||
config_file_version = 2
|
||||
services = nss, pam, sudo, ssh
|
||||
domains = skynet.ie
|
||||
|
||||
[sssd]
|
||||
config_file_version = 2
|
||||
services = nss, pam, sudo, ssh
|
||||
domains = skynet.ie
|
||||
[nss]
|
||||
# override_homedir = /home/%u
|
||||
|
||||
[nss]
|
||||
# override_homedir = /home/%u
|
||||
[pam]
|
||||
|
||||
[pam]
|
||||
[sudo]
|
||||
|
||||
[sudo]
|
||||
|
||||
[autofs]
|
||||
[autofs]
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ in {
|
|||
# this has to be defined for any physical servers
|
||||
# vms are defined by teh vm host
|
||||
networking.interfaces = {
|
||||
eno1 = {
|
||||
eno2 = {
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "193.1.99.72";
|
||||
|
@ -55,7 +55,7 @@ in {
|
|||
}
|
||||
];
|
||||
};
|
||||
eno2 = {
|
||||
eno1 = {
|
||||
#useDHCP = false;
|
||||
ipv4.addresses = [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue