s4-schema: generalized time use its own syntax now
Add some debug for FOOBAR return case as they are hard to diagnose Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 29 09:08:15 CEST 2012 on sn-devel-104
s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value Signed-off-by: Michael Adam <obnox@samba.org>
s4-dsdb: fixed calls to ldb_val_string_cmp() wrong order of arguments
s4-dsdb: fixed booling conversion to check value length this ensures we don't look past the end of the data Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
s4-dsdb: add auto-normalisation of attributes this auto-normalises some attributes when they are added/modified. The list that we auto-normalise is currently: Boolean INT32 INTEGER UTC_TIME This fixes a problem with groupType being stored in an unnormalised form Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
dsdb: fixed special case of zero NTTIME we can't convert 0 NTTIME via a unix time_t Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
s4-schema: avoid segfaulting if id3.guid is NULL
s4-dsdb: don't add zero GUID to BINARY_DN When converting from DRS to ldb format for a BINARY_DN, don't add the GUID extended DN element if the GUID is all zeros. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
s4-dsdb: if we don't have a remote schema, then use the local one this allows the use of drsuapi_to_ldb() on all attributes for the local database
dsdb:schema/schema_syntax.c - correctly check error code of "ldb_string_utc_to_time" This one doesn't set ERRNO. An error happens if the result is "0". Reviewed-by: abartlet
dsdb:schema/schema_syntax.c - add some empty value checks on validate functions They are needed since the check in "ldb_msg_sanity_check" will be removed. Reviewed-by: abartlet
Ensure convert_string_XXX is always called with a valid converted_size pointer. Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
ldb: use #include <ldb.h> for ldb thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
s4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDs
s4-dsdb_schema: Handle remote ATTIDs based on msDs-IntId value If we get such an msDs-IntId value, then we should just use it, there is no mapping available for such values
s4-schema_syntax: Log error message when _dsdb_syntax_OID_oid_drsuapi_to_ldb() fails I haven't found a way to test this function during replication so far, but when I do, it will be useful to notice this error in the log file
s4-schema_syntax: We should use make_ATTID function when converting remote-ATTID to local one We may have no prefix for the remote ATTID (remote OID strictly speaking) So this is the place for us to update our local prefixMap adding a prefix for the numeric OID we've recived
s4-schema_syntax: Use remote prefixMap to map remote ATTID to local one in dsdb_attribute_drsuapi_to_ldb() function. drsuapi_DsReplicaAttribute *in parameter come from remote DC so we can't rely on in->attid to map it directly to an dsdb_attribute in our local schema cache