summaryrefslogtreecommitdiffstats
path: root/source4/client/client.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:libcli: move smbcli_transport_establish() logic into smbcli_socket_connect()Stefan Metzmacher2011-11-301-8/+10
| | | | metze
* s4: add some missing header dependencies.Günther Deschner2011-11-031-0/+2
| | | | Guenther
* s4-client: added close command in smbclientAndrew Tridgell2011-09-191-4/+62
| | | | | | | | | | this matches the existing open command, and also gives you error codes on both open and close useful for testing share mode locking Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 19 23:59:28 CEST 2011 on sn-devel-104
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-061-1/+1
| | | | | | | | Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
* lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbolAndrew Bartlett2011-05-061-2/+2
| | | | | | | This verison of the function takes a protcol as argument to determine matching rules. Andrew Bartlett
* Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison2011-05-041-2/+2
|
* Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett2011-05-031-6/+8
| | | | | | | | | This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett
* s4:client/client.c - fix Solaris warning by a type castMatthias Dieter Wallnöfer2010-12-061-1/+1
|
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-011-1/+1
| | | | Guenther
* s4:client/client.c - fix wrong return codes in "do_connect"Matthias Dieter Wallnöfer2010-09-101-2/+2
| | | | Detected by the Solaris cc compiler.
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-11/+11
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:client/client.c - we don't need "&ctx" for talloc callsMatthias Dieter Wallnöfer2010-05-281-1/+1
| | | | Simply use "ctx".
* s4:client/client.c - fix "asprintf"sMatthias Dieter Wallnöfer2010-05-281-9/+15
| | | | | | Fix the result values or change them into "talloc_asprintf"s where possible see bug #6404
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-6/+1
|
* s4:client: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-121-1/+1
| | | | metze
* Change uint_t to unsigned int in source4Matt Kraai2010-02-021-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4: ran minimal_includes.pl on source4/clientAndrew Tridgell2009-10-201-4/+0
|
* s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer2009-10-021-19/+25
|
* s4:clientSam Liddicott2009-08-211-3/+7
| | | | | | | Put was assuming that the remote name was always absolute, and not relative to the current remote directory. Signed-off-by: Sam Liddicott <sam@liddicott.com>
* source4/client/client.c: Possible memory leaksSlava Semushin2009-06-181-2/+5
| | | | | | | | | | | Patch for bug #6446 cppcheck found 2 possible memory leaks: [./source4/client/client.c:3305]: (error) Memory leak: base_directory [./source4/client/client.c:3305]: (error) Memory leak: desthost Patch in attach.
* s4:smbclient: correct initialize smbclient_contextStefan Metzmacher2009-01-071-1/+1
| | | | | | Found by valgrind. metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-5/+5
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-021-3/+6
| | | | | | Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
* Fix the build.Jelmer Vernooij2008-11-021-1/+5
|
* Move lp_*() calls a bit higher up the calls tack.Jelmer Vernooij2008-11-011-3/+6
|
* Fix prototype for attrib_string().Jelmer Vernooij2008-11-011-0/+1
|
* s4-srvsvc: merge srvsvc_NetShareEnumAll from s3 idl.Günther Deschner2008-10-311-5/+12
| | | | Guenther
* Remove include/local.h and move defines to more appropriate places.Jelmer Vernooij2008-10-241-0/+6
|
* Eliminate another instance of global_loadparm.Jelmer Vernooij2008-10-241-6/+11
|
* Remove unused constants from local.h.Jelmer Vernooij2008-10-231-1/+1
|
* Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij2008-10-121-1/+1
|
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-1/+1
|
* Cope with API changes.Jelmer Vernooij2008-09-301-3/+6
|
* Use a custom init function for samba4 that sets a samba4Simo Sorce2008-06-141-1/+1
| | | | | | | | specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
* use a newer fsinfo level in smbclient, to support larger disksAndrew Tridgell2008-05-151-3/+6
| | | | (This used to be commit 1acc8077fb86c1e78724b010d149db166d98238d)
* Remove unused KANJI and terminal code options.Andrew Bartlett2008-04-241-9/+0
| | | | | | | Someone can re-add this with tests and an actual implementation. Andrew Bartlett (This used to be commit 62136febe7bb1122a57737ca43d1ed0800453d77)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-211-11/+35
| | | | | | | | the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
* Remove event context tracking from the credentials struct.Jelmer Vernooij2008-04-171-1/+2
| | | | (This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-0/+1
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij2008-01-031-6/+13
| | | | | | options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
* r26651: libsmb: Allow specifying signing policy from higher up.Jelmer Vernooij2008-01-031-3/+3
| | | | | | | | The number of arguments is getting a bit excessive now, so it probably makes sense to pass in the smbcli_options struct rather than all members individually and add a convenience function for obtaining a smbcli_options struct from a loadparm context. (This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)
* r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij2008-01-021-6/+7
| | | | | | functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
* r26458: Janitorial: also free() var on continue.Kai Blin2007-12-211-0/+1
| | | | | Spotted by metze. (This used to be commit adbf61dca50591f705023a18c00efe379676198a)
* r26453: Janitorial: Don't use a static char[] in smb_readline_replacement.Kai Blin2007-12-211-3/+5
| | | | | | Fix up callers to free the memory returned, as that is needed if we use the original readline function as well. (This used to be commit c81ead1c38f417d442157b21d0d389f6a540c6f9)
* r26409: Pass smb ports along.Jelmer Vernooij2007-12-211-6/+6
| | | | (This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
* r26376: Add context for libcli_resolve.Jelmer Vernooij2007-12-211-3/+3
| | | | (This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
* r26360: Add some const.Jelmer Vernooij2007-12-211-14/+9
| | | | (This used to be commit 3616ced29ed2385300f7268a742a9090840b626f)
* r26355: Eliminate global_loadparm in more places.Jelmer Vernooij2007-12-211-3/+3
| | | | (This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
* r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij2007-12-211-5/+6
| | | | (This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
* r26271: Remove some more uses of global_loadparm.Jelmer Vernooij2007-12-211-3/+3
| | | | (This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)