summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_samsync.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-0/+2
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
2010-01-19s3 net: Fix compile warningsKai Blin1-7/+12
2010-01-18s3/net: split up some printable stings to ease i18nBjörn Jacke1-6/+6
If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
2009-11-08Revert "s3: Make run_rpc_command take strings instead of a ndr_interface_table"Volker Lendecke1-15/+8
This reverts commit 53f2a1595e76db9fe1b42db65b51895b73365993.
2009-11-08s3: Make run_rpc_command take strings instead of a ndr_interface_tableVolker Lendecke1-8/+15
2009-09-11s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp ↵Günther Deschner1-1/+1
and cli_rpc_pipe_open_ntlmssp. Guenther
2009-08-11s3 net: i18n support for net rpc samsyncKai Blin1-23/+27
2009-07-22Revert "net: Use samba default command line arguments."Kai Blin1-2/+2
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041 and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and 38cd0e086f50ce54d88a19aa5a6803469af90489 This change caused more trouble than it solved. We need to do this differently. Reverting so we don't accidently release this.
2009-07-13s3:net: Fix Bug #6222. Default to DRSUAPI replication for net rpc vampire keytabStefan Metzmacher1-4/+7
metze Signed-off-by: Günther Deschner <gd@samba.org>
2009-05-25net: Use samba default command line arguments.Kai Blin1-2/+2
Attention: The meaning of the -N flag changed. To get the old meaning for net groupmap set, use the long option --ntname The long option for using kerberos changed from --kerberos to --use-kerberos net rpc commands will now prompt for a password if none is given. As a benefit, net will now accept an authentication file like other samba command line tools. So no need to specify the password on the command line in scripts anymore. This should fix bug #6357 Signed-off-by: Kai Blin <kai@samba.org>
2008-11-18s3-libnet-samsync: use samsync_ops.Günther Deschner1-4/+4
Guenther
2008-11-18s3-net: add "net rpc vampire passdb" that allows to take arguments.Günther Deschner1-0/+13
Guenther
2008-11-18s3-net: use net_scan_dc in net rpc vampire keytab.Günther Deschner1-8/+27
Guenther
2008-11-18s3-net-vampire: add support for partial replication (individual deltas).Günther Deschner1-0/+109
Guenther
2008-11-11[s3]make keytab filename argument mandatory to "net rpc vampire keytab"Michael Adam1-4/+11
This prevents unintended overwriting of the default path /etc/krb5.keytab (e.g.). Michael
2008-08-22net: Add missing colon to unify usage messages.Karolin Seeger1-2/+2
Karolin (This used to be commit c7aef4b38bd2b152b316d8d76b45be4b73ca315f)
2008-08-01vampire keytab: add command line switch --clean-old-entries .Michael Adam1-0/+1
This allows to control cleaning the keytab. It will only clean old occurences of keys that are replicated in this run. So if you want to ensure things are cleaned up, combine this switch with --force-full-repl or --single-obj-repl (+dn list). Michael (This used to be commit 21385e1c635ea67215eb1da90e7dca97ae2f5d56)
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)