summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_dssync.h
AgeCommit message (Collapse)AuthorFilesLines
2010-07-13s3-libnet: better separate headers.Günther Deschner1-0/+7
Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-0/+3
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2008-08-01libnet dssync: add my C after dssync keytab changes.Michael Adam1-0/+1
Michael (This used to be commit 9391aec8d4600c685b14d3cd1624f8758f2cc80d)
2008-08-01dssync: add clean_old_entries flag to dssync_ctx.Michael Adam1-0/+1
Initialize it to false. And pass it down to the libnet_keytab context in libnet_dssync_keytab.c:keytab_startup(). Unused yet. Michael Note: This might not be not 100% clean design to put this into the toplevel dssync context while it is keytab specific. But then, on the other hand, other imaginable backends might want to use this flag, too... (This used to be commit 12e884f227e240860e49f9e41d8c1f45e10ad3be)
2008-08-01libnet dssync: rename flag single to single_object_replicationMichael Adam1-1/+1
So that it is more obvious what this controls. Michael (This used to be commit 2360f0a19f0fb89798b814a02cfca335a4a35b6d)
2008-08-01libnet dssync: rename repl_nodiff flag to force_full_replication.Michael Adam1-1/+1
Michael (This used to be commit ec959b4609c3f4927a9f2811c46d738f9c78a914)
2008-08-01libnet dssync: support lists of dns (instead of one dn) for single object ↵Michael Adam1-1/+2
replication. Just specify several DNs separated by spaces on the command line of "net rpc vampire keytab" to get the passwords for each of these accouns via single object replication. Michael (This used to be commit 6e53dc2db882d88470be5dfa1155b420fac8e6c5)
2008-08-01vampire keytab: add switch --repl-nodiff to trigger full replication.Michael Adam1-0/+1
I.e. replication without keeping track of the up to date vector. Michael (This used to be commit d4b36e447bce8692416e132ab9f53a6282f54cac)
2008-08-01dssync: allow replications of a single obj with net rpc vampire keytab.Michael Adam1-0/+2
This is triggered by setting the new "single" flag in the dssync_context and filling the "object_dn" member with the dn of the object to be fetched. This call is accomplished by specifying the DRSUAPI_EXOP_REPL_OBJ extended operation in the DsGetNCCHanges request. This variant does honor an up-to-date-ness vectore passed in, but the answer does not return a new up-to-dateness vector. Call this operation as "net rpc vampire keytab /path/keytab object_dn" . Michael (This used to be commit f4a01178a3d8d71f416a3b67ce6b872420f211c0)
2008-08-01dssync: add a drsuapi_DsBindInfo28 struct to the dssync_context structMichael Adam1-0/+1
to keep track of what the server told us upon DsBind. Michael (This used to be commit bf17d6af6104d20019a43e5486257085b9786793)
2008-08-01dssync keytab: add support for keeping track of the up-to-date-ness vector.Michael Adam1-2/+4
The startup operation should get the old up-to-date-ness vector from the backend and the finish operation should store the new vector to the backend after replication. This adds the change of the signatures of the operations ot the dssync_ops struct and the implementation for the keytab ops. The up-to-date-ness vector is stored under the principal constructed as UTDV/$naming_context_dn@$dns_domain_name. The vector is still uninterpreted in libnet_dssync_process(). This will be the next step... This code is essentially by Metze. Michael (This used to be commit 01318fb27a1aa9e5fed0d4dd882a123ab568ac37)
2008-08-01dssync: replace the processing_fn by startup/process/finish ops.Michael Adam1-11/+12
This remove static a variable for the keytab context in the keytab processing function and simplifies the signature. The keytab context is instead in the new private data member of the dssync_context struct. This is in preparation of adding support for keeping track of the up-to-date-ness vector, in order to be able to sync diffs instead of the whole database. Michael (This used to be commit c51c3339f35e3bd921080d2e226e2422fc23e1e6)
2008-07-01net_vampire: add code to vampire to a Kerberos keytab file using DRSUAPI.Günther Deschner1-0/+6
Guenther (This used to be commit 0ef420c3a478a8adce7483f14b45e9995bfa5e5d)
2008-06-27libnet_dssync: add last_query flag to processing routine.Günther Deschner1-0/+1
Guenther (This used to be commit 22bdee7fe0cdcd95e0bade70cacb095e0b348abf)
2008-06-27libnet_dssync: add output filename and dns_domain_name to dssync struct.Günther Deschner1-0/+2
Guenther (This used to be commit c16e1820f86f105853aa855eda322ba6cbff3a84)
2008-06-26libnet_dssync: pass down drsuapi_DsReplicaOIDMapping_Ctr to callback.Günther Deschner1-0/+1
Guenther (This used to be commit cbff970facae295650742d12768f23c7f67380a6)
2008-06-24net_vampire: add basic libnet_dssync() infrastructure.Günther Deschner1-0/+37
Guenther (This used to be commit 9486e532da602da587769d4ff8a1a2825e541a30)