summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2008-09-11net: use netapi for NetFileEnum.Günther Deschner1-68/+32
Guenther (This used to be commit f85dcf8112137b7ad07f2b51eeca598e9c4d0ffa)
2008-09-11net: use netapi for NetFileClose.Günther Deschner1-33/+13
Guenther (This used to be commit fd3d130d25a7c30fe003abe01fc18d8f754a466f)
2008-09-11net: use netapi for NetShareEnum.Günther Deschner1-66/+36
Guenther (This used to be commit f4cb75b1e2b030055b9c566f941277286095b8a7)
2008-09-10net: share_type is defined in net_rap.c, net_rpc.c needs to use that.Kai Blin2-2/+3
This fixes a crash in net rpc share that Günther Deschner found. (This used to be commit 50af6d609dcbbdadb9af44ede980d9c85ac834e3)
2008-09-08net: use NETSETUP flags consistently.Günther Deschner1-1/+1
Guenther (This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)
2008-09-05net: use netapi for rpc_sh_share_delete as well.Günther Deschner1-10/+1
Guenther (This used to be commit b56ec0b9952dbad9f552c4be30eaae36faa9131c)
2008-09-05net: use netapi for deleting shares.Günther Deschner1-36/+2
Guenther (This used to be commit d7b07b636947cb52aa5474e86c4a3b6aa391a36f)
2008-09-05net: use netapi for rpc_sh_share_add as well.Günther Deschner1-21/+15
Guenther (This used to be commit 0c232742561a4001909ccce2c5160d57d09edb40)
2008-09-05net: use netapi to add shares.Günther Deschner1-49/+43
Guenther (This used to be commit 95ac480e2030dc607283a8eb89b44015527efa4b)
2008-09-01Fix some nonempty blank linesVolker Lendecke1-21/+21
(This used to be commit 9336cd1c5e5b5d113cd4912d4479dfe609fe261e)
2008-08-29netapi: use NETSETUP join flags in examples.Günther Deschner1-4/+4
Guenther (This used to be commit 2f6f888d9cf89abf55767dc43a9e3d5de68bbcfb)
2008-08-29net: now that "net rpc user" uses netapi calls exclusivly, net rpc shell needsGünther Deschner1-0/+9
to use netapi as well. Guenther (This used to be commit 2f730649b73dcd11734d12921bfdad982fe75717)
2008-08-29net: use netapi for "net rpc user info" to enumerate user group membership.Günther Deschner1-112/+27
Guenther (This used to be commit 77ecfff216b24b0d4b1ce79bee13c18bffa7b533)
2008-08-29net: use netapi function to set user password.Günther Deschner1-113/+18
Guenther (This used to be commit f31fd1e112ec6477ae0e0eeeede0317c0cdfcbfd)
2008-08-29net: use netapi function to list users.Günther Deschner1-63/+33
Guenther (This used to be commit 6bc8e229192f0bdd1154c6dd0901e4c739647c90)
2008-08-29net: use netapi for rpc_user_rename.Günther Deschner1-113/+15
Guenther (This used to be commit fe28ea1afd4024673f847fc8880910b1f7f0385a)
2008-08-22net: Add missing colon to unify usage messages.Karolin Seeger1-2/+2
Karolin (This used to be commit c7aef4b38bd2b152b316d8d76b45be4b73ca315f)
2008-08-21Fix broken net rpc join message when DC can't be found. Ensure we pass in a ↵Jeremy Allison1-2/+3
domain name. Jeremy. (This used to be commit 33019fe2b5f521c143fc79edb915eca69b9ed98d)
2008-08-18Make the change to smbcontrol for "all" to mean broadcast,Jeremy Allison1-4/+3
and "smbd" to mean the main smb daemon. Update docs to match. Jeremy. (This used to be commit e415420b086a236be6bcc1e7584bec276a74e457)
2008-08-13first cut at adding full transactions for ctdb to samba3Andrew Tridgell1-2/+0
(This used to be commit f91a3e0f7b7737c1d0667cd961ea950e2b93e592)
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)