summaryrefslogtreecommitdiffstats
path: root/source3/client
Commit message (Collapse)AuthorAgeFilesLines
* s3:client: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:smbspool: use lp_load_client()Michael Adam2011-07-281-3/+1
|
* s3:smbclient: use lp_load_client()Michael Adam2011-07-281-3/+1
|
* s3-client/client.c: replace cli_query_secdesc_old()Björn Baumbach2011-07-231-5/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach2011-07-231-1/+1
| | | | | | Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-client/clitar.c: replace cli_read_old() with cli_read()Björn Baumbach2011-07-231-5/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:client: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-1/+1
| | | | metze
* s3:smbclient: print nt status code when smb echo failsMichael Adam2011-07-221-2/+2
|
* s3:smbclient: add a "tdis" command to view and change the tree id (tid).Michael Adam2011-07-221-0/+25
| | | | | This low level command can be used to switch between tree connects in one session.
* s3:smbclient: add a "tdis" command to do a tree disconnect (close a ↵Michael Adam2011-07-221-0/+19
| | | | connection to a share)
* s3:smbclient: add a "tcon" command to do a tree connect (connect to a share)Michael Adam2011-07-221-0/+34
|
* s3:smbclient: add "logoff" command to close the sessionMichael Adam2011-07-221-0/+19
|
* s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵Stefan Metzmacher2011-07-211-3/+4
| | | | | | cli_state_[g|s]et_uid() metze
* s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach2011-07-201-1/+1
| | | | | | Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systemsJeremy Allison2011-07-191-1/+1
| | | | | | | | | | Remove int toupper_ascii(int c); int tolower_ascii(int c); int isupper_ascii(int c); int islower_ascii(int c); and replace with their _m equivalents, as they are identical.
* s3:client: simplify readline_callback() to only use cli_echo()Stefan Metzmacher2011-07-111-54/+9
| | | | | | | cli_echo() already swallows NBT keepalive messages, so there's no need to filter them in the 'smbclient' layer. metze
* s3:client: use an inbuf on the stack in readline_callback()Stefan Metzmacher2011-07-081-2/+3
| | | | metze
* s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher2011-07-081-16/+1
| | | | metze
* s3:client: close the socket if receive_smb_raw() failsStefan Metzmacher2011-07-081-0/+5
| | | | metze
* s3:client: use cli_nt_error() in order to avoid cli_errstr()Stefan Metzmacher2011-07-081-3/+8
| | | | metze
* s3:client: avoid cli_errstr() where we already have an NTSTATUSStefan Metzmacher2011-07-081-39/+67
| | | | metze
* s3:clitar: avoid usage of cli_errstr()Stefan Metzmacher2011-07-081-1/+2
| | | | metze
* s3-client: Remove use of cli_errstr()Björn Baumbach2011-07-071-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info()Stefan Metzmacher2011-07-061-3/+4
| | | | metze
* s3: Remove cli_errstr from cmd_posix_openVolker Lendecke2011-07-061-5/+12
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 09:45:11 CEST 2011 on sn-devel-104
* s3: Fix error logic in posix_openVolker Lendecke2011-07-061-2/+2
|
* s3: Remove a few uses of cli_errstrVolker Lendecke2011-07-061-26/+27
|
* s3: make cli_resolve_path return NTSTATUSVolker Lendecke2011-07-061-36/+106
| | | | This looks larger than it is. No parameters needed changing.
* s3: Make cli_cm_open return NTSTATUSVolker Lendecke2011-07-031-24/+38
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 3 23:57:53 CEST 2011 on sn-devel-104
* s3: Read symlink information in smbclient "allinfo"Volker Lendecke2011-07-031-0/+17
|
* s3: Fix an error message in smbclient symlinkVolker Lendecke2011-06-241-1/+1
|
* s3: Use reparse point style symlinksVolker Lendecke2011-06-241-18/+18
|
* s3: Remove a call to cli_errstrVolker Lendecke2011-06-241-2/+4
|
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-19/+1
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-param Remove special case for lp_workgroup()Andrew Bartlett2011-06-091-14/+1
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* Change sys_getcd() to take no arguments and always return malloc'ed memory ↵Jeremy Allison2011-06-011-2/+3
| | | | | | (or NULL). Part of the efforts to remove PATH_MAX on modern systems.
* s3: Use cli_connect_nb in do_message_opVolker Lendecke2011-05-291-33/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 10:11:54 CEST 2011 on sn-devel-104
* s3-client/clitar.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-9/+14
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* 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