From 2b5d1dfe6be0ba586d4af54f4b5ccd478ff4db77 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Sun, 20 Sep 2009 00:09:05 +0200 Subject: [PATCH] s4:provision_basedn_modify - fix the "auditPolicy" attribute I had to think about how to encode the string 0x0001 (taken from Windows Server). The problem is due to the "0" byte at the beginning of it. BASE64 encoding seems a good method to do it. --- source4/setup/provision_basedn_modify.ldif | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/setup/provision_basedn_modify.ldif b/source4/setup/provision_basedn_modify.ldif index a9d1716151e..39fd08e0d87 100644 --- a/source4/setup/provision_basedn_modify.ldif +++ b/source4/setup/provision_basedn_modify.ldif @@ -4,8 +4,9 @@ dn: ${DOMAINDN} changetype: modify - +# This should be 0x0001, but the 0 byte is not allowed - therefore encoded replace: auditingPolicy -auditingPolicy:  +auditingPolicy:: AAE= - replace: creationTime creationTime: ${CREATTIME} -- 2.11.4.GIT