summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_samsync.c
AgeCommit message (Collapse)AuthorFilesLines
2008-08-01vampire keytab: introduce switch --single-obj-repl.Michael Adam1-1/+2
This controls whether single object replication is to be used. This only has an effect when at least one object dn is given on the commandline. NOTE: Now the default is to use normal replication with uptodateness vectors and use object dns given on the command line as a positive write filter. Single object replication is only performed when this new switch is specified. Michael (This used to be commit 0f81111ea8c049eb60f98d4939e520a5a562d2e6)
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-01net rpc vampire: rename --repl-nodiff to --force-full-repl.Michael Adam1-1/+1
This more clear. Michael (This used to be commit 0ddde9aae88e6244276e1c143056a4bfc7c7fcca)
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/+2
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/+4
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: replace the processing_fn by startup/process/finish ops.Michael Adam1-1/+1
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-21Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-4/+6
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)
2008-07-18net rpc vampire: eliminate missing proto warning by making ↵Michael Adam1-8/+8
rpc_vampire_keytab_ds_internals static. Michael (This used to be commit 772a76ceb3cd1c041db3ebb5abe449ac6180070e)
2008-07-01net_vampire: add code to vampire to a Kerberos keytab file using DRSUAPI.Günther Deschner1-0/+50
Guenther (This used to be commit 0ef420c3a478a8adce7483f14b45e9995bfa5e5d)
2008-06-24net_vampire: add code to vampire a SAM database to a keytab file.Günther Deschner1-2/+75
Guenther (This used to be commit ee6e422c0e035aa4779fa718bb6f142827cc2de0)
2008-06-23net_vampire: more libnet_samsync restructuring.Günther Deschner1-27/+29
Guenther (This used to be commit 3bcda522f025aff249678a8a086218679fc19c6b)
2008-06-23net_vampire: prepend libnet_ to the public samsync functions.Günther Deschner1-29/+29
Guenther (This used to be commit f020c947cfb1482176af8827ed9c361d7c21e26f)
2008-06-23net_vampire: move out display routines to one file.Günther Deschner1-275/+0
Guenther (This used to be commit 64b48a07e714d7eb97dd49c11d9ca62951d79524)
2008-06-23net_vampire: move out passdb routines to one file.Günther Deschner1-762/+0
Guenther (This used to be commit 74d431270d9b4cc1524f79fa2ad743420afef417)
2008-06-23net_vampire: display more deltas while doing samdump.Günther Deschner1-41/+44
Guenther (This used to be commit 43579907c3cbd5a4c07fe1f8da13c9a2a7db3f32)
2008-06-23net_vampire: move pull_netr_AcctLockStr() to libnet.Günther Deschner1-34/+0
Guenther (This used to be commit 8ec64a96e43d2e55e81f725fe693178ecdc65e88)
2008-06-23time: move uint64s_nt_time_to_unix_abs() to lib/time.cGünther Deschner1-7/+0
Guenther (This used to be commit 58f54f180f0a942776455ab6e813628422493dac)
2008-06-17net_vampire: add error and result_message to samsync_context.Günther Deschner1-20/+28
Guenther (This used to be commit e0b117200441f842fbc11cc817ab2cde4d63a22e)
2008-06-17net_vampire: add domain_name to samsync_context.Günther Deschner1-0/+3
Guenther (This used to be commit 7e7f07ec59d23e909809ed32adc8fc399826310d)
2008-06-17net_vampire: use generic output filename and use correct argv element.Günther Deschner1-1/+1
Guenther (This used to be commit e0843e631e379645296a5fe34dfc83bc265ebef3)
2008-06-17net_vampire: move ldif code out of net_rpc_samsync.cGünther Deschner1-1153/+0
Guenther (This used to be commit 1d5758ec3a5160e5649242c42f6e4a7b39eb6199)
2008-06-17net_vampire: move some samsync functions to libnet.Günther Deschner1-161/+0
Guenther (This used to be commit b3b6af0a3e25fab0a14c9c802dbabd3d03448ebe)
2008-06-13net_vampire: rename process_database to samsync_process_database.Günther Deschner1-19/+19
Guenther (This used to be commit cf382a87602a63368587ffa2c95b774f2f97c21b)
2008-06-13net_vampire: fix ldif_init_context().Günther Deschner1-31/+40
Guenther (This used to be commit 94d45b1bb97ac2b6025d429389993ac43044f5b8)
2008-06-13net_vampire: split out rpc_vampire_ldif().Günther Deschner1-23/+73
Guenther (This used to be commit bcc6d3a0ebdcb904b5a2a4de63d9ed7415e9bb33)
2008-06-13net_vampire: add samsync_init_context().Günther Deschner1-9/+41
Guenther (This used to be commit 63ca4414b62657983c27d2930483aa56f9c78ccf)
2008-06-13net_vampire: add samsync_debug_str().Günther Deschner1-30/+52
Guenther (This used to be commit bbfe5bcaf5ec5d06ffd110ab362ea3f228867603)
2008-06-13net_vampire: restructure internal code more.Günther Deschner1-312/+426
Guenther (This used to be commit 9557504d70fe57098914da131b39212faf4f0a7d)
2008-06-13net_vampire: start using talloc for the ldif vampire code.Günther Deschner1-118/+138
Guenther (This used to be commit ae179e4f3faccbf2c9f19b6f070f5daf87cdfc50)
2008-06-13net_vampire: join dump and process function into one callback.Günther Deschner1-96/+54
Guenther (This used to be commit e9b79f34d5afe10ee8d9b1e2dd19c8aafa533579)
2008-06-13net_vampire: let fetch_database and fetch_database_to_ldif use sid pointers.Günther Deschner1-12/+12
Guenther (This used to be commit 0707d32042b23d615b57b2f955775472b766770e)
2008-06-13net_vampire: let dump_database() return NTSTATUS.Günther Deschner1-6/+8
Guenther (This used to be commit b5a0e2d18f8d5c98326fefbda5972c02f898ed82)
2008-06-13net: Fix bug #5542 (samsync contains empty passwords).Günther Deschner1-0/+27
Guenther (cherry picked from commit 1a22e975dd1255f3557c1cd873d877aa35822afc) (This used to be commit ad8392cf7c817ee29a03bc6f515bf1cc18a29eda)
2008-06-11net: remove some dead code.Günther Deschner1-29/+0
Guenther (This used to be commit cdd1ce797aefa07780a73d0793c450e2d96f17bb)
2008-05-20net: Use true/false instead of True/False.Kai Blin1-13/+13
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-10net: Remove globalsKai Blin1-4/+8
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-3/+3
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-17Fix gcc uninitialized variable used warning.Jeremy Allison1-6/+5
Jeremy. (This used to be commit b95f2adeb5e2f7ce71e46e6a6165159483c9a702)
2008-04-02Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner1-1/+1
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8 netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate flags everywhere (not only when running in security=ads). Only for NT4 we need to do a downgrade to the returned negotiate flags. Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6. Guenther (This used to be commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
2008-03-29Zero initial return_authenticator in net rpc samdump.Günther Deschner1-0/+2
Guenther (This used to be commit 73ead752c5ec7104ea0eed7d963dc36467c81981)
2008-03-28Fix blob used in pull_netr_AcctLockStr().Günther Deschner1-1/+1
Thanks metze. Guenther (This used to be commit 565a30ac3208d89de617b28f4553911484033253)
2008-03-27Re-add support for display and vampire of account policies in "net".Günther Deschner1-25/+78
Guenther (This used to be commit c61499ce02355f5969fa0475ed6e3c278995ecdb)
2008-03-27Minor fix for net rpc samdump.Günther Deschner1-4/+5
Guenther (This used to be commit 2f5e25be276135e9cb4cc0c44ec573d466def66e)
2008-02-27Add my copyright.Günther Deschner1-0/+1
Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-22Fix "used uninitialized" errors.Jeremy Allison1-2/+6
Jeremy. (This used to be commit 06d15d8a9f94a50337ebf6f651a004bb8b4821f3)
2008-02-15Convert "net rpc vampire/samdump" to pidl generated functions.Günther Deschner1-388/+556
Guenther (This used to be commit f53393677d2c4b5ca117eed3ed660fafc4c650da)
2008-01-23Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider1-1/+1
Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
2008-01-19util_str: Don't return memory from talloc_tos(), use mem_ctx instead.Kai Blin1-3/+3
(This used to be commit ab0ee6e9a6a9eee317228f0c2bde254ad9a59b85)