1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-09 00:23:50 +03:00
Commit Graph

27 Commits

Author SHA1 Message Date
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -05:00
Stefan Metzmacher
b592ac1c2c r22991: ignore '@foo' attributes in the repl_meta_data module
metze
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
8fcd5209ae r21842: fix typo in comment
metze
2007-10-10 14:49:36 -05:00
Stefan Metzmacher
e3be33c1d9 r21839: add my email address
metze
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
7e0620e524 r21838: generate no metadata for constructed attributes
metze
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
c543ee5745 r21773: fix typo orginating -> originating
and use the struct member names in all cases

metze
2007-10-10 14:49:24 -05:00
Andrew Bartlett
2b3df7f38d r21496: A number of ldb control and LDAP changes, surrounding the
'phantom_root' flag in the search_options control

- Add in support for LDB controls to the js layer
- Test the behaviour
- Implement support for the 'phantom_root' flag in the partitions module
- Make the LDAP server set the 'phantom_root' flag in the search_options control
  - This replaces the global_catalog flag passed down as an opaque pointer
- Rework the string-format control parsing function into
  ldb_parse_control_strings(), returning errors by ldb_errorstring()
  method, rather than with printf to stderr
- Rework some of the ldb_control handling logic

Andrew Bartlett
2007-10-10 14:48:44 -05:00
Stefan Metzmacher
4bd0ddeb80 r21465: the LDAP-UPTODATEVECTOR test shows that the replUpToDateVector
doesn't contain an entry for the local invocation_id

metze
2007-10-10 14:48:39 -05:00
Stefan Metzmacher
fde0aabd9a r20975: - implement handling of meta data an on originating add
there're a few things TODO, but it's a good start

we need to research if an originating change causes the replUpToDateVector
attribute to change...(I assume it, but needs testing)

metze
2007-10-10 14:44:06 -05:00
Stefan Metzmacher
b7d48274a7 r20971: we don't need this check twice:-)
metze
2007-10-10 14:44:05 -05:00
Stefan Metzmacher
a5200ef0ca r20968: - add functions to sort the meta data and attribute arrays
- we should use them before we store records to disk

metze
2007-10-10 14:44:04 -05:00
Stefan Metzmacher
3f441741a6 r20864: move common stuff into an extra function
metze
2007-10-10 14:43:41 -05:00
Stefan Metzmacher
b1377a2e24 r20863: check that there's a current partition control attached to the request
metze
2007-10-10 14:43:41 -05:00
Stefan Metzmacher
fc1a836ecc r20776: require a loaded dsdb_schema for originating add and modify operations
(later we'll require it for all originating changes...)

metze
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
2e79863d54 r20729: add a version number to struct dsdb_extended_replicated_objects
metze
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
4380cc9ed6 r20728: the DSDB_CONTROL_REPLICATED_OBJECT_OID control isn't used anymore
because we now use DSDB_EXTENDED_REPLICATED_OBJECTS_OID extended operation

metze
2007-10-10 14:40:32 -05:00
Stefan Metzmacher
262e42123d r20727: implement basic merging of replicated objects when it already exist
in the ldb

metze
2007-10-10 14:40:32 -05:00
Stefan Metzmacher
0ecb07e052 r20726: - only add the rdn attribute and it's meta_data when the 'name' attribute is there
- add the values for objectGUID and whenChanged inside the ldb module,
  so that the ldb module has only replicated attributes as input

metze
2007-10-10 14:40:32 -05:00
Stefan Metzmacher
cd654f20e1 r20713: sort the cursors in replUpToDateVector by source_dsa_invocation_id,
w2k3 seems to do the same.

It's later useful, when we would have a large array
be could use a binary search

metze
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
665d8f9626 r20710: update or create the "repsFrom" values after applying replicated objects
metze
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
a31e017e53 r20709: pass a repsFromTo1 struct down as it contains all needed info for the source dsa
and the highwater mark vector

metze
2007-10-10 14:40:29 -05:00
Stefan Metzmacher
c9e7a58f6a r20705: store the "replUpToDateVector" attribute in DSDB_EXTENDED_REPLICATED_OBJECTS
metze
2007-10-10 14:40:28 -05:00
Stefan Metzmacher
da4ff0e7cc r20681: implement the DSDB_EXTENDED_REPLICATED_OBJECTS operation.
the merging of existing objects is not implemented yet...

there are a few ifdef REPLMD_FULL_ASYNC because we need to workarouns
ldb's async infrastructure (which don't handle full async sub requests nicely)

metze
2007-10-10 14:40:21 -05:00
Stefan Metzmacher
ef3b325db0 r20587: prepare the DSDB_EXTENDED_REPLICATED_OBJECTS_OID handling
metze
2007-10-10 14:37:08 -05:00
Stefan Metzmacher
a4d5e0126c r20580: pass the DSDB_CONTROL_REPLICATED_OBJECT_OID with the ldb_add request
when applying replicated objects.

the samldb module ignores such requests now...
and the repl_meta_data module has different functions
for the replicated and originating cases...

metze
2007-10-10 14:37:06 -05:00
Stefan Metzmacher
045ddfe1ec r20522: make a copy of the objectguid ldb module because:
- I'll add handling of replication meta data to it
  for orginating changes
- I'll pass replication meta data via a ldb control
  for applying replicated changes
- It will also update the replUpToDateVector attribute in
  in root object of the partition
- It will handle deleted records by adding the isDeleted=TRUE attribute
  and move them to the CN=Deleted Objects container of the partition
- I make a copy to play with the code without breaking
  the LDAP backend setup

metze
2007-10-10 14:36:47 -05:00