Skip to content
Snippets Groups Projects
Verified Commit 0d02c460 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Zapnuty auditlog a uprava attributu

parent 254724c3
No related branches found
No related tags found
No related merge requests found
Pipeline #453 passed
...@@ -39,5 +39,7 @@ MAINTAINER Andrej Ramašeuski <andrej.ramaseuski@pirati.cz> ...@@ -39,5 +39,7 @@ MAINTAINER Andrej Ramašeuski <andrej.ramaseuski@pirati.cz>
COPY --from=builder /usr/local/libexec/openldap/pw-bcrypt.so /usr/lib/ldap/pw-bcrypt.so COPY --from=builder /usr/local/libexec/openldap/pw-bcrypt.so /usr/lib/ldap/pw-bcrypt.so
ADD bootstrap /container/service/slapd/assets/config/bootstrap ADD bootstrap /container/service/slapd/assets/config/bootstrap
ADD environment /container/environment/01-custom ADD environment /container/environment/01-custom
RUN mkdir /var/log/slapd && \
chown openldap.openldap /var/log/slapd
WORKDIR / WORKDIR /
# Audit log
dn: olcOverlay=auditlog,olcDatabase={1}mdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcAuditLogConfig
olcOverlay: auditlog
olcAuditlogFile: /var/log/slapd/auditlog.ldif
...@@ -26,14 +26,14 @@ attributetype ( 1.3.6.1.4.1.55307.2.3.4 NAME 'forumId' ...@@ -26,14 +26,14 @@ attributetype ( 1.3.6.1.4.1.55307.2.3.4 NAME 'forumId'
USAGE userApplications ) USAGE userApplications )
attributetype ( 1.3.6.1.4.1.55307.2.3.5 NAME 'isEnabled' attributetype ( 1.3.6.1.4.1.55307.2.3.5 NAME 'isEnabled'
DESC 'Uzivatel je aktivni' DESC 'Uzivatel je aktivni'
EQUALITY caseIgnoreMatch EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{5} SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE SINGLE-VALUE
USAGE userApplications ) USAGE userApplications )
attributetype ( 1.3.6.1.4.1.55307.2.3.6 NAME 'emailVerified' attributetype ( 1.3.6.1.4.1.55307.2.3.6 NAME 'emailVerified'
DESC 'Registracni email je overen' DESC 'Registracni email je overen'
EQUALITY caseIgnoreMatch EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{5} SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE SINGLE-VALUE
USAGE userApplications ) USAGE userApplications )
attributetype ( 1.3.6.1.4.1.55307.2.3.7 NAME 'contactEmail' attributetype ( 1.3.6.1.4.1.55307.2.3.7 NAME 'contactEmail'
...@@ -45,7 +45,7 @@ attributetype ( 1.3.6.1.4.1.55307.2.3.7 NAME 'contactEmail' ...@@ -45,7 +45,7 @@ attributetype ( 1.3.6.1.4.1.55307.2.3.7 NAME 'contactEmail'
attributetype ( 1.3.6.1.4.1.55307.2.3.8 NAME 'isTeam' attributetype ( 1.3.6.1.4.1.55307.2.3.8 NAME 'isTeam'
DESC 'Skupina je tym' DESC 'Skupina je tym'
EQUALITY booleanMatch EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SYNTAX 1.3.6.1.4.1.1466.115.121.1.7{5}
SINGLE-VALUE SINGLE-VALUE
USAGE userApplications ) USAGE userApplications )
objectclass ( 1.3.6.1.4.1.55307.2.4.1 NAME 'groupOfPirates' objectclass ( 1.3.6.1.4.1.55307.2.4.1 NAME 'groupOfPirates'
...@@ -53,7 +53,7 @@ objectclass ( 1.3.6.1.4.1.55307.2.4.1 NAME 'groupOfPirates' ...@@ -53,7 +53,7 @@ objectclass ( 1.3.6.1.4.1.55307.2.4.1 NAME 'groupOfPirates'
SUP top SUP top
STRUCTURAL STRUCTURAL
MUST cn MUST cn
MAY ( member $ description $ gidNumber $ email $ superiorTeam $ teamLeader $ teamLeaderSubstitute $ isTeam ) ) MAY ( member $ description $ email $ superiorTeam $ teamLeader $ teamLeaderSubstitute $ isTeam $ forumId ) )
objectclass ( 1.3.6.1.4.1.55307.2.4.2 NAME 'pirate' objectclass ( 1.3.6.1.4.1.55307.2.4.2 NAME 'pirate'
DESC 'Pirat' DESC 'Pirat'
AUXILIARY AUXILIARY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment