summaryrefslogtreecommitdiffstats
path: root/source3/client/client.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison2011-05-041-2/+2
|
* Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵Jeremy Allison2011-05-041-1/+1
| | | | as the original macro auto-added the -1.
* s3-client Add TALLOC_CTX argument to attrib_string().Andrew Bartlett2011-04-291-2/+2
| | | | | | This ensures the caller knows where the memory was allocated. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett2011-04-291-3/+3
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2011-04-291-14/+14
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2011-04-291-7/+7
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2011-04-291-7/+7
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3: Use cli_ntcreate to when listing snapshotsVolker Lendecke2011-03-301-1/+5
| | | | | | | This works for directories as well Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 30 14:37:02 CEST 2011 on sn-devel-104
* s3-libsmb: put namequery headers to nmblib.hGünther Deschner2011-03-301-0/+1
| | | | | | | We might find a better name for it and merge other namequery related things as well here... Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-trans2: only include trans2.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: Remove two calls to cli_errstrVolker Lendecke2011-03-271-4/+8
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 27 13:17:47 CEST 2011 on sn-devel-104
* s3-libsmb: only include rap client when needed.Günther Deschner2011-03-151-0/+1
| | | | Guenther
* s3: Print all flags in "smbclient allinfo"Volker Lendecke2011-03-021-1/+25
|
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3: Eliminiate sys_select_intr from client.cVolker Lendecke2011-02-281-10/+6
|
* s3-smbclient: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-01-251-7/+9
| | | | | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 25 11:41:53 CET 2011 on sn-devel-104
* s3-smbclient: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-01-251-5/+7
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-smbclient: prefer dcerpc_srvsvc_X functions.Günther Deschner2011-01-131-2/+5
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: AllowDebugChange is goneVolker Lendecke2010-12-281-1/+0
|
* s3: Add shadow copy info to smbclient allinfoVolker Lendecke2010-11-301-0/+46
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 30 12:23:50 CET 2010 on sn-devel-104
* s3: Make cli_set_ea_path return NTSTATUSVolker Lendecke2010-11-111-3/+5
|
* s3-debug Move 'load_case_tables()' before lp_set_cmdline() and popt callsAndrew Bartlett2010-11-021-2/+2
| | | | | | | | | | The problem here is that we cannot run lp_set_cmdline() (directly or indirectly via the popt helpers) until load_case_tables() has been run. However, load_case_tables does not have auto-initialisation, so we must init it once, and once only. Andrew Bartlett
* s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() insteadAndrew Bartlett2010-11-021-7/+1
| | | | | | | | | By removing this global variable, the API between the two different debug systems is made more similar. Both s3 and s4 now have lp_set_cmdline() which ensures that the smb.conf cannot overwrite these the user-specified log level. Andrew Bartlett
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-021-9/+3
| | | | | | | | 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
* Fix bug #7700 - Improvement of return code of smbclientJeremy Allison2010-10-291-51/+97
| | | | | | | | | | Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>. Convert cli_list and associated functions to take calls that return NTSTATUS. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
* s3: Add "setea" to smbclientVolker Lendecke2010-10-241-0/+47
|
* s3: Add "geteas" to smbclientVolker Lendecke2010-10-241-0/+59
|
* s3: Convert cli_qfileinfo_basic to cli_qfileinfoVolker Lendecke2010-10-241-5/+7
|
* s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke2010-10-241-3/+5
|
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-011-0/+2
| | | | Guenther
* s3-readline: move cmd_history to smbclient, the only user.Günther Deschner2010-10-011-0/+20
| | | | Guenther
* samba: share select wrappers.Günther Deschner2010-10-011-0/+1
| | | | Guenther
* s3: fix order of arguments in nsec_time_diff callBjörn Jacke2010-09-171-2/+2
|
* s3: use nsec_time_diff instead of TspecDiffBjörn Jacke2010-09-161-2/+2
|
* s3: use monotonic clock for time deltas in smbclientBjörn Jacke2010-08-311-15/+13
|
* Fix bug 7627 - smbclient ignores "-I" when used with "-L", fails name ↵Jeremy Allison2010-08-201-2/+3
| | | | | | | | | resolution. Still needs some more work to fix missing netbios name issues, but fixes underlying issue of IP address being ignored. Jeremy.
* Fix bug 7563 - Creation of symlink using smbclient is buggy.Jeremy Allison2010-08-181-13/+9
| | | | | | | Fix semantics of symlink. "oldpath" should be an untouched blob, "newpath" should fit the share path semantics. Jeremy.
* s3: Replace some cli_errstr calls by nt_errstrVolker Lendecke2010-08-131-23/+44
|
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-051-0/+1
|
* s3: Convert cli_list() to return NTSTATUSVolker Lendecke2010-08-041-5/+10
| | | | If needed, the callback functions can count themselves
* s3: Remove "cli" from "struct finfo"Volker Lendecke2010-07-301-16/+25
|
* s3: Remove a typedef (struct file_info)Volker Lendecke2010-07-271-9/+10
|
* s3: Convert cli_qpathinfo_streams to cli_qpathinfo_sendVolker Lendecke2010-07-261-4/+5
|
* s3: Convert cli_qpathinfo2 to cli_qpathinfo_sendVolker Lendecke2010-07-261-4/+5
|
* s3: Use error status instead of cli_errstrVolker Lendecke2010-07-261-3/+5
|
* Fix bug - 7551 smbclient does not return proper exit code.Jeremy Allison2010-07-151-0/+1
| | | | | | Catch error in cli_push. Jeremy.
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-181-1/+1
| | | | Guenther