diff options
author | Michael Adam <obnox@samba.org> | 2008-07-18 00:18:40 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-01 16:04:41 +0200 |
commit | d42160f9de385693f12c54bf6c53652e64d113cb (patch) | |
tree | 9173b8548492ebf3ccb2f0151f1904161d8f3fa5 /source3/libnet/libnet_dssync.h | |
parent | 4d946b5932faa89cc1f48b1d13c4c8357e47d83e (diff) | |
download | samba-d42160f9de385693f12c54bf6c53652e64d113cb.tar.gz samba-d42160f9de385693f12c54bf6c53652e64d113cb.tar.bz2 samba-d42160f9de385693f12c54bf6c53652e64d113cb.zip |
dssync: allow replications of a single obj with net rpc vampire keytab.
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)
Diffstat (limited to 'source3/libnet/libnet_dssync.h')
-rw-r--r-- | source3/libnet/libnet_dssync.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libnet/libnet_dssync.h b/source3/libnet/libnet_dssync.h index 2456803248..13a68de4c7 100644 --- a/source3/libnet/libnet_dssync.h +++ b/source3/libnet/libnet_dssync.h @@ -35,6 +35,8 @@ struct dssync_context { const char *dns_domain_name; struct rpc_pipe_client *cli; const char *nc_dn; + bool single; + const char *object_dn; struct policy_handle bind_handle; DATA_BLOB session_key; const char *output_filename; |