From 2decac6bd04548f041f69157b1fcadfce6741714 Mon Sep 17 00:00:00 2001 From: Kapdap Date: Wed, 13 Nov 2024 22:03:37 +1300 Subject: [PATCH] Eliminated LDIF read failure due to incorrect args by SphtKr https://github.com/Fmstrat/samba-domain/pull/54 --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index 57671e3..4d9c85d 100755 --- a/init.sh +++ b/init.sh @@ -172,8 +172,8 @@ objectCategory: CN=Class-Schema,CN=Schema,CN=Configuration,${DOMAIN_DC} defaultObjectCategory: CN=ldapPublicKey,CN=Schema,CN=Configuration,${DOMAIN_DC} mayContain: sshPublicKey schemaIDGUID:: +8nFQ43rpkWTOgbCCcSkqA==" > /tmp/Sshpubkey.class.ldif - ldbadd -H /var/lib/samba/private/sam.ldb /var/lib/samba/private/sam.ldb /tmp/Sshpubkey.attr.ldif --option="dsdb:schema update allowed"=true - ldbadd -H /var/lib/samba/private/sam.ldb /var/lib/samba/private/sam.ldb /tmp/Sshpubkey.class.ldif --option="dsdb:schema update allowed"=true + ldbadd -H /var/lib/samba/private/sam.ldb --option="dsdb:schema update allowed"=true /tmp/Sshpubkey.attr.ldif + ldbadd -H /var/lib/samba/private/sam.ldb --option="dsdb:schema update allowed"=true /tmp/Sshpubkey.class.ldif } appStart () {