s4:provision_basedn_modify - fix the "auditPolicy" attribute
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sat, 19 Sep 2009 22:09:05 +0000 (00:09 +0200)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sat, 19 Sep 2009 22:14:51 +0000 (00:14 +0200)
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

index a9d1716151e924c980e23603fafbc88d898890ac..39fd08e0d87d1828fea553e1b3a8825a8064b283 100644 (file)
@@ -4,8 +4,9 @@
 dn: ${DOMAINDN}
 changetype: modify
 -
+# This should be 0x0001, but the 0 byte is not allowed - therefore encoded
 replace: auditingPolicy
-auditingPolicy: \ 1
+auditingPolicy:: AAE=
 -
 replace: creationTime
 creationTime: ${CREATTIME}