summaryrefslogtreecommitdiffstats
path: root/source3/client
Commit message (Collapse)AuthorAgeFilesLines
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-061-0/+2
| | | | Guenther
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-063-0/+3
| | | | Guenther
* More const fixes... getting near the end now.Jeremy Allison2011-05-061-5/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
* More simple const fixups.Jeremy Allison2011-05-051-1/+1
|
* Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison2011-05-041-2/+2
|
* Tidy up some missing checks for NULL in strlcpy.Jeremy Allison2011-05-041-1/+1
|
* Convert safe_strXX to strlXXX. Clean up off-by-ones.Jeremy Allison2011-05-041-31/+17
|
* 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-292-6/+6
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2011-04-292-17/+17
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2011-04-292-10/+10
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2011-04-292-10/+10
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3: Use cli_writeall instead of cli_writeVolker Lendecke2011-04-262-8/+17
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* 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-303-0/+3
| | | | Guenther
* s3-includes: only include system/passwd.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: Fix Coverity ID 83: RESOURCE_LEAKVolker Lendecke2011-03-271-0/+3
|
* 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: Eliminate sys_select from do_smb_resolve() -- untestedVolker Lendecke2011-02-281-14/+3
|
* s3: Eliminate sys_select from do_smb_browse() -- untestedVolker Lendecke2011-02-281-14/+4
|
* 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: Avoid a few calls to cli_errstrVolker Lendecke2011-01-171-6/+10
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 17 08:47:25 CET 2011 on sn-devel-104
* 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: Remove unused "retry" from cli_start_connectionVolker Lendecke2010-12-201-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Dec 20 17:58:33 CET 2010 on sn-devel-104
* 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-023-11/+5
| | | | | | | | 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-293-69/+128
| | | | | | | | | | 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
|