summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2008-08-13Exit smbstatus cleanly if messaging_init failsVolker Lendecke1-0/+6
(This used to be commit 5fd51833a31b326d83ac2f76d06560920547f657)
2008-08-11libnetjoin: support kerberized joining/unjoing (fix #5416).Günther Deschner1-2/+8
Guenther (This used to be commit da6e0f4f375aa533c4c765891c960070478972eb)
2008-08-07Fix a build failure on host sunXVolker Lendecke1-1/+1
(This used to be commit 30b5be872501dc87380fd10084aacda13a308ac8)
2008-08-01vampire keytab: add command line switch --clean-old-entries .Michael Adam3-0/+3
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 Adam3-1/+4
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 Adam3-3/+3
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 Adam3-0/+5
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-31netapi: when using NetApi functions forward net's kerberos setting.Günther Deschner2-0/+9
Guenther (This used to be commit d46f648d2e25ad712138f02e5060288278f4c1b1)
2008-07-31net: Use NetLocalGroupAdd() for adding aliases.Günther Deschner1-62/+21
Guenther (This used to be commit 2ed4ce0bf1723e35a6c5dfa7f8fa58fb9c7ab469)
2008-07-31net: add "-k" switch for kerberos authentication (in preparation for #5416).Günther Deschner4-4/+17
Guenther (This used to be commit 4cce94d464b16d29b638da3a581d98a237959b63)
2008-07-31rpc_client: use init_samr_CryptPassword(Ex) in client tools.Günther Deschner2-19/+16
Guenther (This used to be commit 97f7f9f21f17e8414de15953cf4eaa9959dc6f75)
2008-07-22Fix warnings on FreeBSD-based platformsZach Loafman1-8/+8
Fix two shadowed declaration warnings on FreeBSD-based platform: 'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in netinet/tcp.h. (This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)
2008-07-21Refactoring: connect_dst_pipe uses ndr_syntax_id instead of pipe_idxVolker Lendecke4-10/+19
(This used to be commit 0f77746f36b98acc5171727fa3fc236af9fd2000)
2008-07-21Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idxVolker Lendecke5-32/+31
(This used to be commit 85c8363d5179e7053adc05e8abce2fb26cf9b968)
2008-07-21Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idxVolker Lendecke8-105/+116
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_schannelVolker Lendecke1-5/+5
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 1fcfca007f33a2c4e979abf30c2ea0db65bac718)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_keyVolker Lendecke1-11/+10
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 78e9c937ff2d2e1b70cfed4121e17feb6efafda1)
2008-07-20Refactoring: Make get_schannel_session_key return NTSTATUSVolker Lendecke1-2/+3
(This used to be commit a0793cc853d3bd43df2fc49df193a5fead6b01ab)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmsspVolker Lendecke1-6/+5
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit a13f0599551609394904b99e4014d580ec65c506)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke9-47/+70
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
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-15testparm: allow the default debug level of 2 to be changed from the command ↵Michael Adam1-1/+8
line. Michael (This used to be commit 5a0883a7f28538fad542293e1d9361e8c4bed1fd)
2008-07-15testparm: refactor the per-share logic checks out into do_per_share_checks().Michael Adam1-58/+67
Just to enhance clearness of the code. Michael (This used to be commit cd5d13dec0153c64d541e85bd13138b738cf50af)
2008-07-15testparm: skip the per-share logic checks when --skip-logic-checks is specified.Michael Adam1-1/+1
Michael (This used to be commit 6cafee7e6ae02a32a9f2ddf313d2a20224fa22fe)
2008-07-15testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checksMichael Adam1-3/+3
as suggested by Karolin. That is what it really means. And per-share logic tests will be disabled by the same switch, too... Michael (This used to be commit 5b8a4c33482917a1ef7071df224957ba831d853a)
2008-07-15testparm: add a switch --skip-global-checks.Michael Adam1-1/+5
This allows for successfully calling testparm without the need to "make install" before. Without this, testparm fails with the message that the lock directory does not exist... Michael (This used to be commit eeb018fad65c19804a4e96ea949fc2c64883439e)
2008-07-11Revert "Return timed out entries from gencache_get if timeout param != NULL"Volker Lendecke1-2/+1
This reverts commit 2954b2be563149380e1fae7fe088b98d6cbd42e7. (This used to be commit 77ab2fb306a7ad59447a3e1591c2af03447e09c5)
2008-07-07Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 599d5f75c703a4cae3da87eb09b6a46285f6b074)
2008-07-03Return timed out entries from gencache_get if timeout param != NULLVolker Lendecke1-1/+2
net cache get was the only one interested in the timeout. That single caller can take care of the timeout itself then. With this API change idmap_cache.c can be converted to gencache. (This used to be commit 2954b2be563149380e1fae7fe088b98d6cbd42e7)
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-28Fix the buildVolker Lendecke1-3/+4
(This used to be commit 242077f714c738642edd125449ab5c89748bcecd)
2008-06-27Fix bug #5568 net rpc trustdom add broken !Jeremy Allison1-3/+23
net rpc trustdom add was broken. The default 10second timeout can be too short to create an account on a Samba DC (calling out to a script), error message reporting was poor, and more importantly the new marshalling code for user_info23 was broken (maps onto a user_info21 but doesn't clear the user_info23 struct before marshalling, leaving an uninitialized size field - give "alloc failure"). Jeremy. (This used to be commit e072b3667e590ba6dd1d9a47fb616a53753fa83e)
2008-06-27Fix usage message for net rpc trustdom add.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 20e59faf6efce01887cd01f0cafb197cc2f4742e)
2008-06-24net: add basic support for sealed RPC connections (using NET_FLAGS_SEAL).Günther Deschner2-1/+12
Guenther (This used to be commit 7541a0103ad22000e94ffc6d057ffd5d33d1a930)
2008-06-24net_vampire: add code to vampire a SAM database to a keytab file.Günther Deschner3-2/+93
Guenther (This used to be commit ee6e422c0e035aa4779fa718bb6f142827cc2de0)
2008-06-24net ads: Fix typos.Karolin Seeger1-2/+2
Karolin (This used to be commit 63c1a5146e25e05678d2bef95286add5c95a5f38)
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-21net: Don't crash on invalid command line options.Kai Blin2-8/+1
This backs out the workaround Jerry added in 4c3bfea9f8d238f9100eaa264b9b2941dff5a6dd. Thanks for the catch. (This used to be commit 20e0bb4800938863cb0aac1a19473748132043fc)
2008-06-19net: Fix crash when specifying invalid options on the command lineroot1-0/+8
(This used to be commit 4c3bfea9f8d238f9100eaa264b9b2941dff5a6dd)