summaryrefslogtreecommitdiff
path: root/source3/client/client.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-04Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison1-2/+2
2011-05-04Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵Jeremy Allison1-1/+1
as the original macro auto-added the -1.
2011-04-29s3-client Add TALLOC_CTX argument to attrib_string().Andrew Bartlett1-2/+2
This ensures the caller knows where the memory was allocated. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett1-3/+3
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett1-14/+14
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett1-7/+7
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett1-7/+7
This means we use just one constant for this file attribute. Andrew Bartlett
2011-03-30s3: Use cli_ntcreate to when listing snapshotsVolker Lendecke1-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
2011-03-30s3-libsmb: put namequery headers to nmblib.hGünther Deschner1-0/+1
We might find a better name for it and merge other namequery related things as well here... Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-trans2: only include trans2.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-27s3: Remove two calls to cli_errstrVolker Lendecke1-4/+8
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 27 13:17:47 CEST 2011 on sn-devel-104
2011-03-15s3-libsmb: only include rap client when needed.Günther Deschner1-0/+1
Guenther
2011-03-02s3: Print all flags in "smbclient allinfo"Volker Lendecke1-1/+25
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-28s3: Eliminiate sys_select_intr from client.cVolker Lendecke1-10/+6
2011-01-25s3-smbclient: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-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
2011-01-25s3-smbclient: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-5/+7
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-13s3-smbclient: prefer dcerpc_srvsvc_X functions.Günther Deschner1-2/+5
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2010-12-28s3: AllowDebugChange is goneVolker Lendecke1-1/+0
2010-11-30s3: Add shadow copy info to smbclient allinfoVolker Lendecke1-0/+46
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 30 12:23:50 CET 2010 on sn-devel-104
2010-11-11s3: Make cli_set_ea_path return NTSTATUSVolker Lendecke1-3/+5
2010-11-02s3-debug Move 'load_case_tables()' before lp_set_cmdline() and popt callsAndrew Bartlett1-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
2010-11-02s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() insteadAndrew Bartlett1-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
2010-11-02s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett1-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
2010-10-29Fix bug #7700 - Improvement of return code of smbclientJeremy Allison1-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
2010-10-24s3: Add "setea" to smbclientVolker Lendecke1-0/+47
2010-10-24s3: Add "geteas" to smbclientVolker Lendecke1-0/+59
2010-10-24s3: Convert cli_qfileinfo_basic to cli_qfileinfoVolker Lendecke1-5/+7
2010-10-24s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke1-3/+5
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-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
2010-10-01samba: share readline wrappers among all buildsystems.Günther Deschner1-0/+2
Guenther
2010-10-01s3-readline: move cmd_history to smbclient, the only user.Günther Deschner1-0/+20
Guenther
2010-10-01samba: share select wrappers.Günther Deschner1-0/+1
Guenther
2010-09-17s3: fix order of arguments in nsec_time_diff callBjörn Jacke1-2/+2
2010-09-16s3: use nsec_time_diff instead of TspecDiffBjörn Jacke1-2/+2
2010-08-31s3: use monotonic clock for time deltas in smbclientBjörn Jacke1-15/+13
2010-08-20Fix bug 7627 - smbclient ignores "-I" when used with "-L", fails name ↵Jeremy Allison1-2/+3
resolution. Still needs some more work to fix missing netbios name issues, but fixes underlying issue of IP address being ignored. Jeremy.
2010-08-18Fix bug 7563 - Creation of symlink using smbclient is buggy.Jeremy Allison1-13/+9
Fix semantics of symlink. "oldpath" should be an untouched blob, "newpath" should fit the share path semantics. Jeremy.
2010-08-13s3: Replace some cli_errstr calls by nt_errstrVolker Lendecke1-23/+44
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
2010-08-04s3: Convert cli_list() to return NTSTATUSVolker Lendecke1-5/+10
If needed, the callback functions can count themselves
2010-07-30s3: Remove "cli" from "struct finfo"Volker Lendecke1-16/+25
2010-07-27s3: Remove a typedef (struct file_info)Volker Lendecke1-9/+10
2010-07-26s3: Convert cli_qpathinfo_streams to cli_qpathinfo_sendVolker Lendecke1-4/+5
2010-07-26s3: Convert cli_qpathinfo2 to cli_qpathinfo_sendVolker Lendecke1-4/+5
2010-07-26s3: Use error status instead of cli_errstrVolker Lendecke1-3/+5
2010-07-15Fix bug - 7551 smbclient does not return proper exit code.Jeremy Allison1-0/+1
Catch error in cli_push. Jeremy.
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-1/+1
Guenther
2010-04-13Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison1-1/+1
those the client asked for. This fixes a bug when using encrypted transport and DFS links. Found by my basic DFS torture test, which I'll check in next. Testing *rocks* :-). Jeremy.