summaryrefslogtreecommitdiff
path: root/source3/utils/smbtree.c
Commit message (Collapse)AuthorAgeFilesLines
* s3: utils: Convert all uses of uint32/16/8 to _t.Richard Sharpe2015-05-071-3/+3
| | | | | | | | Signed-off-by: Richard Sharpe <rsharpe@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu May 7 04:53:39 CEST 2015 on sn-devel-104
* lib: load_case_tables() -> smb_init_locale()Volker Lendecke2015-03-241-1/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:utils: avoid argv related const warningsStefan Metzmacher2014-04-021-3/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* smbtree: use the correct count variable from NetShareEnum result.Michael Adam2013-08-211-1/+1
| | | | | | | Fixes potential segfault, as for rpcclient from bug #10100 Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3-rpc_cli: pass down ndr_interface_table to cli_rpc_pipe_open_noauth().Günther Deschner2013-08-051-1/+1
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s3fs-client: Burn commandline password of client utils.Andreas Schneider2012-11-081-0/+1
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Nov 8 21:24:21 CET 2012 on sn-devel-104
* s3:smbtree: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:smbtree: try to fix completely broken logic in get_workgroups()Stefan Metzmacher2011-07-221-15/+23
| | | | metze
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-libsmb: only include rap client when needed.Günther Deschner2011-03-151-0/+1
| | | | Guenther
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3-smbtree: prefer dcerpc_srvsvc_X functions.Günther Deschner2011-01-131-2/+5
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-021-3/+1
| | | | | | | | This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-051-0/+1
|
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+1
| | | | | | samba. Guenther
* Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison2009-11-121-1/+1
| | | | | initialize return variables. Jeremy.
* Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison2009-03-171-6/+1
| | | | | | | | | callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy.
* Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke2008-12-141-10/+12
| | | | This involves changing all our clients, that's why it's so large.
* Fix bug #5914 - Build failure: redefinition of struct name_listJeremy Allison2008-11-251-8/+8
| | | | Jeremy.
* Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke2008-07-201-2/+3
| | | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
* Fix client authentication with -P switch in client tools (Bug 5435).Günther Deschner2008-05-051-0/+6
| | | | | Guenther (This used to be commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
* Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke2008-04-201-2/+2
| | | | (This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
* Add "desthost" to rpc_pipe_clientVolker Lendecke2008-04-201-1/+1
| | | | | This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
* Use rpccli_srvsvc_NetShareEnumAll in smbtree.Günther Deschner2008-03-101-15/+21
| | | | | Guenther (This used to be commit 0cf761f604975930f38213233e4bbf48d7ae7283)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-1/+1
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* Fix typos in auth change.Jeremy Allison2007-12-061-2/+2
| | | | | Jeremy. (This used to be commit 440e9f5b51e42e5dc5ce3f8d10b9e43ca31e87ef)
* Get closer to building with smbmount. Move parameter line changesJeremy Allison2007-12-061-6/+8
| | | | | | into lib/util.c Jeremy. (This used to be commit 6ac5d81655927ba8eabea35adaae5adfcbb821c9)
* Getting to the home stretch for elimination of pstrings...Jeremy Allison2007-12-031-8/+17
| | | | | Jeremy. (This used to be commit 041163551194102ca67fef52c57d87020a1d09bc)
* Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison2007-11-291-3/+9
| | | | | | | Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
* Fixed missing in_addr -> sockaddr_storage conversion (how didJeremy Allison2007-10-251-10/+14
| | | | | | I miss this...). Jeremy. (This used to be commit f982774c8d95c48355bbd821c8224fadb8bb303e)
* Fix the popt / bool issues. Some places we used BOOLJeremy Allison2007-10-191-1/+1
| | | | | | | where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy. (This used to be commit 793a9d24a163cb6cf5a3a0aa5ae30e9f8cf4744a)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-6/+6
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2007-10-101-17/+16
| | | | (This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
* r25402: BUG 4997 (3.2 only): Fix enumration level for smbtreeGerald Carter2007-10-101-1/+0
| | | | (This used to be commit f387e0f256e3f8a8c4a67f7fcc847a9dabaff8da)
* r24943: Some stackframesVolker Lendecke2007-10-101-1/+5
| | | | (This used to be commit cddb9f11d5fafcd3797cb242775c37f0c04d4f15)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r20832: Remove extra pointers previously added to unique [out] pointers. ↵Jelmer Vernooij2007-10-101-2/+1
| | | | | | | | | | Instead, add [ref] pointers where necessary (top-level [ref] pointers, by spec, don't appear on the wire). This brings us closer to the DCE/RPC standard again. (This used to be commit 580f2a7197b1bc9db14a643fdd112b40ef37aaef)
* r19797: Convert the remaining pipes to the "new" unique out ptr handlingVolker Lendecke2007-10-101-1/+2
| | | | (This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)
* r19450: Fix smbtree's use of netshareenum.Volker Lendecke2007-10-101-0/+5
| | | | | | | Jelmer, how much of r18802 did you actually test?? Volker (This used to be commit d0025861c09b3a19ecd291265f10eaec5f380932)
* r18877: More WERROR/NTSTATUS bugsVolker Lendecke2007-10-101-4/+5
| | | | (This used to be commit 88a928a2332b96124935c547cf5ee16163865d84)
* r18802: Use the pidl-generated code for the srvsvc interface, both client ↵Jelmer Vernooij2007-10-101-14/+10
| | | | | | | | and server code. This has had some basic testing. I'll do more during the next couple of days and hopefully also make RPC-SRVSVC from Samba4 pass against it. (This used to be commit ef10672399c4b82700dc431b4d93431ffdd42d98)
* r15630: adapt smbclient fix to smbtree to enable long share namesJim McDonough2007-10-101-0/+57
| | | | (This used to be commit ae56154fc7694042496a55d4dade8ef1a7ba361c)
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-1/+1
| | | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
* r12555: Fix more load_case_table swegfaults. Arggg.Jeremy Allison2007-10-101-0/+1
| | | | | | What I'd give for a global constructor... Jeremy. (This used to be commit c970d7d0a5ba225465dfb0980989b8817b17c643)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-2/+0
| | | | (This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-0/+2
| | | | | | that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
* Merge Jelmer's popt updates from HEAD.Tim Potter2003-04-141-161/+30
| | | | (This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
* Added new error codes. Fix up connection code to retry in the same wayJeremy Allison2002-10-171-1/+1
| | | | | | that app-head does. Jeremy. (This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f)