From 83b7a142bccb04da22b9b0dece33e1d016bbf25b Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 22 Oct 2023 15:00:48 +0100 Subject: [PATCH] ldap: fix, forgot to update teh may section --- applications/ldap/server.nix | 2 +- applications/ldap/skMemberOf.ldif | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/ldap/server.nix b/applications/ldap/server.nix index 36be133..107c3f9 100644 --- a/applications/ldap/server.nix +++ b/applications/ldap/server.nix @@ -204,7 +204,7 @@ in { '' '' - {1}to attrs=mail,sshPublicKey,cn,sn,skDiscord + {1}to attrs=mail,sshPublicKey,cn,sn by dn.exact="uid=ldap_api,ou=users,dc=skynet,dc=ie" manage by self write by * read diff --git a/applications/ldap/skMemberOf.ldif b/applications/ldap/skMemberOf.ldif index fc3cdf8..12b981e 100644 --- a/applications/ldap/skMemberOf.ldif +++ b/applications/ldap/skMemberOf.ldif @@ -48,5 +48,5 @@ olcObjectClasses: ( 1.3.6.1.4.1.24441.1.1.1 DESC 'skynet person' SUP top AUXILIARY MUST ( skMail $ skCreated ) - MAY ( skMemberOf $ skID $ skDiscord $ quotaEmail $ quotaDisk $ skSecure ) + MAY ( skMemberOf $ skID $ quotaEmail $ quotaDisk ) )