From 2dd35d7c2b68a90a00ba5750d5f0d4b3638bd3b9 Mon Sep 17 00:00:00 2001 From: Zvi Cahana Date: Mon, 6 Mar 2023 18:27:52 +0200 Subject: [PATCH] [bitnami/openldap] Use uidNumber=0 in bootstrap slapd.ldif (#25658) Signed-off-by: Zvi Cahana --- .../2.5/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh | 4 ++-- .../2.6/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bitnami/openldap/2.5/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh b/bitnami/openldap/2.5/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh index 073bf13e78e0..e5d612a38448 100644 --- a/bitnami/openldap/2.5/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh +++ b/bitnami/openldap/2.5/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh @@ -282,7 +282,7 @@ olcDatabase: frontend dn: olcDatabase=config,cn=config objectClass: olcDatabaseConfig olcDatabase: config -olcAccess: to * by dn.base="gidNumber=0+uidNumber=1001,cn=peercred,cn=external,cn=auth" manage by * none +olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage by * none # # Server status monitoring @@ -291,7 +291,7 @@ olcAccess: to * by dn.base="gidNumber=0+uidNumber=1001,cn=peercred,cn=external,c dn: olcDatabase=monitor,cn=config objectClass: olcDatabaseConfig olcDatabase: monitor -olcAccess: to * by dn.base="gidNumber=0+uidNumber=1001,cn=peercred,cn=external,cn=auth" read by dn.base="cn=Manager,dc=my-domain,dc=com" read by * none +olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" read by dn.base="cn=Manager,dc=my-domain,dc=com" read by * none # # Backend database definitions diff --git a/bitnami/openldap/2.6/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh b/bitnami/openldap/2.6/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh index 073bf13e78e0..e5d612a38448 100644 --- a/bitnami/openldap/2.6/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh +++ b/bitnami/openldap/2.6/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh @@ -282,7 +282,7 @@ olcDatabase: frontend dn: olcDatabase=config,cn=config objectClass: olcDatabaseConfig olcDatabase: config -olcAccess: to * by dn.base="gidNumber=0+uidNumber=1001,cn=peercred,cn=external,cn=auth" manage by * none +olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage by * none # # Server status monitoring @@ -291,7 +291,7 @@ olcAccess: to * by dn.base="gidNumber=0+uidNumber=1001,cn=peercred,cn=external,c dn: olcDatabase=monitor,cn=config objectClass: olcDatabaseConfig olcDatabase: monitor -olcAccess: to * by dn.base="gidNumber=0+uidNumber=1001,cn=peercred,cn=external,cn=auth" read by dn.base="cn=Manager,dc=my-domain,dc=com" read by * none +olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" read by dn.base="cn=Manager,dc=my-domain,dc=com" read by * none # # Backend database definitions