summaryrefslogtreecommitdiffstats
path: root/source4/client
Commit message (Collapse)AuthorAgeFilesLines
* s4:client: fix some compiler warningsStefan Metzmacher2014-02-131-7/+10
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* Make sure to set umask() before calling mkstemp().Andreas Schneider2013-03-061-0/+3
| | | | | | | Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Wed Mar 6 01:16:34 CET 2013 on sn-devel-104
* s4-client: Make sure entry is a valid string.Andreas Schneider2013-03-051-2/+8
| | | | Reviewed-by: David Disseldorp <ddiss@samba.org>
* s4-cifsdd: Don't leak memory.Andreas Schneider2013-02-221-0/+6
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-client: Don't leak memory.Andreas Schneider2013-02-221-0/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-client: Don't leak file descriptor.Andreas Schneider2013-02-221-0/+7
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-client: Don't leak resource handle.Andreas Schneider2013-02-221-0/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-client: Check return codes in do_connect().Andreas Schneider2012-12-211-2/+18
| | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* s4-client: Make sure we have a valid count if we goto cleanup.Andreas Schneider2012-12-121-1/+2
| | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* s4:selftest: change the blackbox.smbclient test to use binary mapping for ↵Michael Adam2012-05-311-5/+3
| | | | smbclient
* selftest: Remove unused support for --exeextAndrew Bartlett2012-02-012-2/+2
|
* 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
* waf: restore libsmbclient handling.Günther Deschner2011-09-151-13/+0
| | | | | | | | | | | | This is a temporary solution to get libsmbclient installed properly as a library (including symlinks and proper symbols). I was not able to make the old internal library name 'libsmb/smbclient' work together with "realname" and/or "link_name". Maybe one of the waf gurus has more ideas here. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Sep 15 15:31:59 CEST 2011 on sn-devel-104
* cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij2011-08-181-1/+1
|
* cli_raw: Make name lowercase.Jelmer Vernooij2011-07-231-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jul 23 23:20:51 CEST 2011 on sn-devel-104
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-062-2/+2
| | | | | | | | 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
* lib/util Rename conv_str_size() -> conv_str_size_error()Andrew Bartlett2011-04-301-1/+1
|
* selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2011-04-162-2/+2
| | | | | | Just have BINDIR, and have it default to ./bin Andrew Bartlett
* s4-tests Workaround new default of 'client ntlmv2 auth = yes' in testsAndrew Bartlett2010-12-091-2/+2
| | | | | | The new default breaks some tests that were assuming LM or NTLM auth Andrew Bartlett
* s4:client/client.c - fix Solaris warning by a type castMatthias Dieter Wallnöfer2010-12-061-1/+1
|
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-36/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-2/+2
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-2/+2
|
* 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:client/cifsdd.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer2010-09-091-11/+10
| | | | "static const struct"s need to be global in order to work with Solaris cc.
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-162-21/+21
| | | | | | | 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-184-18/+2
|
* s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell2010-04-181-2/+0
| | | | | This was left over from the automatic conversion of the config.mk files
* s4-waf: cleanup use of LIBPOPT vs popt dependencyAndrew Tridgell2010-04-061-2/+2
|
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* build: waf quicktest nearly worksAndrew Tridgell2010-04-061-4/+0
| | | | | Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+17
|
* s4:client: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-121-1/+1
| | | | metze
* samba: remove cifs-utils tools from build systemsJeff Layton2010-03-082-29/+0
| | | | | | | | | | | | | | | | | | | | | Now that cifs-utils are their own project, we need to go ahead and pull them out of the samba tree. This patch represents the first step toward that end. Remove the cifs-utilities from the source3 and source4 builds. Please pay particular attention to the source4 piece. I'm not at all familiar with the build system there, and would appreciate someone sanity checking my changes. It also adds a small README.cifs-utils file in the topdir. This is optional, but I think it's a good idea to carry this for a release or two. Once this patch looks ok, I'll plan to do another patch to actually remove the client dir and the relevant docs-xml files from the tree altogether. Signed-off-by: Jeff Layton <jlayton@redhat.com>
* 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-202-5/+0
|
* Fix typo.Karolin Seeger2009-10-191-1/+1
| | | | | | privilage -> privilege Karolin
* 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>
* Use smbclient binary for the test file in smbclient testAndrew Bartlett2009-08-041-7/+2
| | | | | | | In the vein hope that a larger file might show problems better than a small file. Andrew Bartlett
* 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.
* Fix S3 "make install". Don't build cifs.upcall.c in S4 as there are noJeremy Allison2009-06-031-4/+3
| | | | | checks to see if the required include file is available. Jeremy.