summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #7069 - smbget does not return an error status after some errorsJeremy Allison2010-01-281-38/+45
| | | | | | | A combination patch from Johannes Poehlmann <johannes@lst.de> and Jeremy. Fix the return codes from smb_download_file() and smb_download_dir(). Jeremy.
* s3: Add --use-ccache to netVolker Lendecke2010-01-244-0/+9
|
* s3: Fix a bug in net's use of poptVolker Lendecke2010-01-241-1/+1
| | | | | | | | | | | | In order to add --use-ccache to net, I added another "bool opt_ccache;" to struct net_context. popt did not like this, it took a while to figure out why. Popt has the lines /* XXX Check alignment, may fail on funky platforms. */ if (arg == NULL || (((unsigned long)arg) & (sizeof(*arg)-1))) return POPT_ERROR_NULLARG; The "bool opt_ccache;" was not aligned anymore...
* s3: Use global_sid_Builtin in net_groupmap_membershipsVolker Lendecke2010-01-231-4/+3
|
* s3 net: Fix compile warningsKai Blin2010-01-1924-380/+676
|
* s3 net/i18n: Use only one spelling for "Usage:"Kai Blin2010-01-1911-57/+57
|
* s3 net: Fix compile error with WITH_DNS_UPDATESKai Blin2010-01-191-2/+2
| | | | | bd3c922e2bc1a163efc1d8c9cb59578bebb79616 introduced a compile-time error when building with WITH_DNS_UPDATES.
* s3/net: split up some printable stings to ease i18nBjörn Jacke2010-01-1825-344/+347
| | | | | | 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.
* s3: Fix the format string for smbcontrol pool-usageVolker Lendecke2010-01-171-1/+1
| | | | With the dot I have seen printf to not print anything
* Fix bug #7036 - net rpc getsid fails in hardened windows environments.Jeremy Allison2010-01-141-1/+7
| | | | Fix suggested by Dave.Daugherty@Centrify.com.
* s3: Fix some nonempty blank linesVolker Lendecke2010-01-101-36/+36
|
* s3: Replace most calls to sid_append_rid() by sid_compose()Volker Lendecke2010-01-103-12/+7
|
* s3 net: Add a few missing gettext calls.Kai Blin2010-01-052-6/+6
| | | | | Many many thanks to Adi Roiban from #ubuntu-translators for helping me find and fix my problems with the translations.
* s3: Convert cli_tdis to the async APIVolker Lendecke2010-01-031-2/+8
|
* s3-net: use generated krb5.conf in 'net ads testjoin'Günther Deschner2009-12-231-0/+4
| | | | Guenther
* s3:ntlmssp: only include ntlmssp.h where actually neededAndrew Bartlett2009-12-221-0/+1
| | | | Andrew Bartlett
* s3:ntlmssp: remove the typedef NTLMSSP_STATEAndrew Bartlett2009-12-221-4/+4
| | | | Andrew Bartlett
* s3-pdbedit: allow to call "pdbedit -N description -u user" without ↵Günther Deschner2009-12-161-2/+4
| | | | | | specifiyng "-r". Guenther
* s3: fix net and rpcclient after setprinterdataex changes.Günther Deschner2009-12-071-2/+11
| | | | Guenther
* s3:add split_tokens, a cmdline tool to test next_token_talloc()Michael Adam2009-12-011-0/+78
| | | | Michael
* Fix bug 6546: Avoid accessing buf[-1] if NUL byte comes from fgetsVolker Lendecke2009-11-303-3/+9
|
* s3: Move directory_exist_stat to testparm.c, it only looks at the modeVolker Lendecke2009-11-291-0/+21
|
* s3: "net_conf_addshare" only looks at the modeVolker Lendecke2009-11-291-1/+1
|
* s3: "net_usershare_add" only looks at the mode, device and inodeVolker Lendecke2009-11-291-1/+1
|
* s3: "net_usershare_add" only looks at the device and inodeVolker Lendecke2009-11-291-2/+1
|
* s3: "net_usershare_add" only looks at the mode and uidVolker Lendecke2009-11-291-1/+1
|
* s3: "count_num_usershares" only looks at the modeVolker Lendecke2009-11-291-2/+1
|
* s3: "info_fn" only looks at the mode and uidVolker Lendecke2009-11-291-1/+1
|
* s3: "get_share_list" only looks at the mode and uidVolker Lendecke2009-11-291-2/+1
|
* s3: Pass the "fake dir create times" parameter to sys_*statVolker Lendecke2009-11-292-7/+10
| | | | Step 0 to restore it as a per-share paramter
* s3-kerberos: only use krb5 headers where required.Günther Deschner2009-11-271-0/+1
| | | | | | | This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-2612-1/+20
| | | | | | samba. Guenther
* s3-build: try to fix QNX build ("delay" is defined in lib headers).Günther Deschner2009-11-251-7/+7
| | | | Guenther
* s3:dbwrap_torture: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher2009-11-241-16/+3
| | | | | | start_timer/end_timer metze
* s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrapMichael Adam2009-11-231-0/+350
| | | | | | | | | | This can be used to also test tdb transactions on clustered installations throught ctdb. The test is modeled after the ctdb_transaction.c test program from the ctdb source code. It runs transactions in a tight loop on a test database called "transactions.tdb" (by default), increasing a counter in each iteration. In a clustered environment, a counter is maintained for each node. Michael
* s3: Fix bug 6338 -- net rpc trustdom list always display "none"Volker Lendecke2009-11-221-10/+23
|
* s3: Convert cli_get_fs_attr_info to the async APIVolker Lendecke2009-11-211-1/+1
|
* ntlm_auth: use data_blob_talloc() to allocate session keyKai Blin2009-11-211-2/+2
| | | | | Thanks to Shibu Piriyath <shibunair80@ymail.com> for spotting the issue.
* Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison2009-11-125-6/+6
| | | | | initialize return variables. Jeremy.
* Revert "s3: Make run_rpc_command take strings instead of a ndr_interface_table"Volker Lendecke2009-11-0811-261/+176
| | | | This reverts commit 53f2a1595e76db9fe1b42db65b51895b73365993.
* s3: Make run_rpc_command take strings instead of a ndr_interface_tableVolker Lendecke2009-11-0811-176/+261
|
* s3: get_pipe_name_from_iface -> get_pipe_name_from_syntaxVolker Lendecke2009-11-071-1/+2
|
* s3-kerberos: modify cli_krb5_get_ticket to take a new impersonate_princ_s arg.Günther Deschner2009-11-061-2/+2
| | | | Guenther
* s3-net: better use memory credential cache in net_ads_kerberos_pac().Günther Deschner2009-11-061-1/+1
| | | | Guenther
* s3-net: allow to call "net ads kerberos pac <impersonation principal> -P".Günther Deschner2009-11-061-1/+7
| | | | Guenther
* s3:net: fix output of net rpc trustdom listBjörn Jacke2009-10-281-3/+5
| | | | | Move some messages from stderr to stdout. When some trusting DCs were unreachable we lacked \n's on stdout which screwed up whole the output.
* s3-net: acct_flags are uint32_t in net_sam_set_userflag().Günther Deschner2009-10-281-1/+1
| | | | Guenther
* s3: pdbedit: add option --kickoff-time/-K to set the user's kickoff timeMichael Adam2009-10-271-4/+28
| | | | | | Use "never" as argument to set this to unlimited. Michael
* s3-net: fix build warning (missing default in switch).Günther Deschner2009-10-161-0/+4
| | | | Guenther
* s3:net: simplify padding to single printf callBjörn Jacke2009-10-141-9/+1
|