summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-20 00:09:05 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-20 00:14:51 +0200
commit2b5d1dfe6be0ba586d4af54f4b5ccd478ff4db77 (patch)
tree518ad35b33b4a89d6ad1f8830636ab87c3bb0a0b
parent63b584bb15be2b8bbf07edf05f96e833e3c2f308 (diff)
downloadsamba-2b5d1dfe6be0ba586d4af54f4b5ccd478ff4db77.tar.gz
samba-2b5d1dfe6be0ba586d4af54f4b5ccd478ff4db77.tar.bz2
samba-2b5d1dfe6be0ba586d4af54f4b5ccd478ff4db77.zip
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.
-rw-r--r--source4/setup/provision_basedn_modify.ldif3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/setup/provision_basedn_modify.ldif b/source4/setup/provision_basedn_modify.ldif
index a9d1716151..39fd08e0d8 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}