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]
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue