summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
* net: use netapi for NetFileEnum.Günther Deschner2008-09-111-68/+32
| | | | Guenther
* net: use netapi for NetFileClose.Günther Deschner2008-09-111-33/+13
| | | | Guenther
* net: use netapi for NetShareEnum.Günther Deschner2008-09-111-66/+36
| | | | Guenther
* net: share_type is defined in net_rap.c, net_rpc.c needs to use that.Kai Blin2008-09-102-2/+3
| | | | This fixes a crash in net rpc share that Günther Deschner found.
* net: use NETSETUP flags consistently.Günther Deschner2008-09-081-1/+1
| | | | Guenther
* net: use netapi for rpc_sh_share_delete as well.Günther Deschner2008-09-051-10/+1
| | | | Guenther
* net: use netapi for deleting shares.Günther Deschner2008-09-051-36/+2
| | | | Guenther
* net: use netapi for rpc_sh_share_add as well.Günther Deschner2008-09-051-21/+15
| | | | Guenther
* net: use netapi to add shares.Günther Deschner2008-09-051-49/+43
| | | | Guenther
* Fix some nonempty blank linesVolker Lendecke2008-09-011-21/+21
|
* netapi: use NETSETUP join flags in examples.Günther Deschner2008-08-291-4/+4
| | | | Guenther
* net: now that "net rpc user" uses netapi calls exclusivly, net rpc shell needsGünther Deschner2008-08-291-0/+9
| | | | | | to use netapi as well. Guenther
* net: use netapi for "net rpc user info" to enumerate user group membership.Günther Deschner2008-08-291-112/+27
| | | | Guenther
* net: use netapi function to set user password.Günther Deschner2008-08-291-113/+18
| | | | Guenther
* net: use netapi function to list users.Günther Deschner2008-08-291-63/+33
| | | | Guenther
* net: use netapi for rpc_user_rename.Günther Deschner2008-08-291-113/+15
| | | | Guenther
* net: Add missing colon to unify usage messages.Karolin Seeger2008-08-221-2/+2
| | | | Karolin
* Fix broken net rpc join message when DC can't be found. Ensure we pass in a ↵Jeremy Allison2008-08-211-2/+3
| | | | | | domain name. Jeremy.
* Make the change to smbcontrol for "all" to mean broadcast,Jeremy Allison2008-08-181-4/+3
| | | | | and "smbd" to mean the main smb daemon. Update docs to match. Jeremy.
* first cut at adding full transactions for ctdb to samba3Andrew Tridgell2008-08-131-2/+0
|
* Exit smbstatus cleanly if messaging_init failsVolker Lendecke2008-08-131-0/+6
|
* libnetjoin: support kerberized joining/unjoing (fix #5416).Günther Deschner2008-08-111-2/+8
| | | | Guenther
* Fix a build failure on host sunXVolker Lendecke2008-08-071-1/+1
|
* vampire keytab: add command line switch --clean-old-entries .Michael Adam2008-08-013-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
* vampire keytab: introduce switch --single-obj-repl.Michael Adam2008-08-013-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
* libnet dssync: rename flag single to single_object_replicationMichael Adam2008-08-011-1/+1
| | | | | | So that it is more obvious what this controls. Michael
* net rpc vampire: rename --repl-nodiff to --force-full-repl.Michael Adam2008-08-013-3/+3
| | | | | | This more clear. Michael
* libnet dssync: rename repl_nodiff flag to force_full_replication.Michael Adam2008-08-011-1/+1
| | | | Michael
* libnet dssync: support lists of dns (instead of one dn) for single object ↵Michael Adam2008-08-011-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
* vampire keytab: add switch --repl-nodiff to trigger full replication.Michael Adam2008-08-013-0/+5
| | | | | | I.e. replication without keeping track of the up to date vector. Michael
* dssync: allow replications of a single obj with net rpc vampire keytab.Michael Adam2008-08-011-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
* dssync: replace the processing_fn by startup/process/finish ops.Michael Adam2008-08-011-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
* netapi: when using NetApi functions forward net's kerberos setting.Günther Deschner2008-07-312-0/+9
| | | | Guenther
* net: Use NetLocalGroupAdd() for adding aliases.Günther Deschner2008-07-311-62/+21
| | | | Guenther
* net: add "-k" switch for kerberos authentication (in preparation for #5416).Günther Deschner2008-07-314-4/+17
| | | | Guenther
* rpc_client: use init_samr_CryptPassword(Ex) in client tools.Günther Deschner2008-07-312-19/+16
| | | | Guenther
* Fix warnings on FreeBSD-based platformsZach Loafman2008-07-221-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.
* Refactoring: connect_dst_pipe uses ndr_syntax_id instead of pipe_idxVolker Lendecke2008-07-214-10/+19
|
* Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idxVolker Lendecke2008-07-215-32/+31
|
* Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idxVolker Lendecke2008-07-218-105/+116
|
* Refactoring: Change calling conventions for cli_rpc_pipe_open_schannelVolker Lendecke2008-07-201-5/+5
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_keyVolker Lendecke2008-07-201-11/+10
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Refactoring: Make get_schannel_session_key return NTSTATUSVolker Lendecke2008-07-201-2/+3
|
* Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmsspVolker Lendecke2008-07-201-6/+5
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke2008-07-209-47/+70
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* net rpc vampire: eliminate missing proto warning by making ↵Michael Adam2008-07-181-8/+8
| | | | | | rpc_vampire_keytab_ds_internals static. Michael
* testparm: allow the default debug level of 2 to be changed from the command ↵Michael Adam2008-07-151-1/+8
| | | | | | line. Michael
* testparm: refactor the per-share logic checks out into do_per_share_checks().Michael Adam2008-07-151-58/+67
| | | | | | Just to enhance clearness of the code. Michael
* testparm: skip the per-share logic checks when --skip-logic-checks is specified.Michael Adam2008-07-151-1/+1
| | | | Michael
* testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checksMichael Adam2008-07-151-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