mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
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.
This commit is contained in:
parent
63b584bb15
commit
2b5d1dfe6b
@ -4,8 +4,9 @@
|
|||||||
dn: ${DOMAINDN}
|
dn: ${DOMAINDN}
|
||||||
changetype: modify
|
changetype: modify
|
||||||
-
|
-
|
||||||
|
# This should be 0x0001, but the 0 byte is not allowed - therefore encoded
|
||||||
replace: auditingPolicy
|
replace: auditingPolicy
|
||||||
auditingPolicy:
|
auditingPolicy:: AAE=
|
||||||
-
|
-
|
||||||
replace: creationTime
|
replace: creationTime
|
||||||
creationTime: ${CREATTIME}
|
creationTime: ${CREATTIME}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user