dsdb: Set syntax of userParameters to binary string, not unicode string
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Sep 2013 17:12:24 +0000 (10:12 -0700)
committerStefan Metzmacher <metze@samba.org>
Wed, 9 Jul 2014 06:42:07 +0000 (08:42 +0200)
commit1592eaa5c781af83aa64bc4e7211339e1d1eafce
treea59ea4b07e342dc0e80f6a1816742ae866c97ae6
parentd64bc6c9af24109e89632db9133070f2ab827c46
dsdb: Set syntax of userParameters to binary string, not unicode string

This means we continue to store the values as given on SAMR, assuming
that the SAMR buffer is little endian.  The syntax for this specific
object is forced to be a binary blob, so that it is not converted on
DRSUAPI.

This commit does not fix existing databases, nor pdb_samba_dsdb (used
by classicupgrade).

Andrew Bartlett

Bug: https://bugzilla.samba.org/show_bug.cgi?id=8077
Change-Id: I10bb6aaecc381194e3c0ce6b9163f961acbdcee1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/schema/schema.h
source4/dsdb/schema/schema_syntax.c