s4/drs: Propagate redefinition of drsuapi_DsReplicaOID into code base
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>
Sun, 11 Oct 2009 18:00:55 +0000 (21:00 +0300)
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Fri, 16 Oct 2009 09:54:14 +0000 (12:54 +0300)
commit40a8a2268454a55103c5c675d6fc07efa3cb6f31
treeb8adb8aaeccda66052c2b0ef9cbb38d91c5889e9
parent7e8fb4ad06a3e2e5ae17b06299c7c4cd4e87012e
s4/drs: Propagate redefinition of drsuapi_DsReplicaOID into code base

The biggest change is that 'oid' field is transmited in binary format.
Also the field name is changed to 'binary_oid' so that
field format to be clear for callers.

After those changes, Samba4 should work the way it works before -
i.e. no added value here but we should not fail when
partial-oid is part of prefixMap transmited from Win server.

Also, thre is a bug in this patch - partial-binary-OIDs are
not handled correctly. Partial-binary-OIDs received during
replication will be encoded, but not handled correctly.
source4/dsdb/schema/schema_init.c
source4/lib/ldb-samba/ldif_handlers.c