summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
2011-07-21s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵Stefan Metzmacher1-3/+4
cli_state_[g|s]et_uid() metze
2011-07-20s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach1-1/+1
Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-19First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systemsJeremy Allison1-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.
2011-07-11s3:client: simplify readline_callback() to only use cli_echo()Stefan Metzmacher1-54/+9
cli_echo() already swallows NBT keepalive messages, so there's no need to filter them in the 'smbclient' layer. metze
2011-07-08s3:client: use an inbuf on the stack in readline_callback()Stefan Metzmacher1-2/+3
metze
2011-07-08s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher1-16/+1
metze
2011-07-08s3:client: close the socket if receive_smb_raw() failsStefan Metzmacher1-0/+5
metze
2011-07-08s3:client: use cli_nt_error() in order to avoid cli_errstr()Stefan Metzmacher1-3/+8
metze
2011-07-08s3:client: avoid cli_errstr() where we already have an NTSTATUSStefan Metzmacher1-39/+67
metze
2011-07-08s3:clitar: avoid usage of cli_errstr()Stefan Metzmacher1-1/+2
metze
2011-07-07s3-client: Remove use of cli_errstr()Björn Baumbach1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info()Stefan Metzmacher1-3/+4
metze
2011-07-06s3: Remove cli_errstr from cmd_posix_openVolker Lendecke1-5/+12
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 09:45:11 CEST 2011 on sn-devel-104
2011-07-06s3: Fix error logic in posix_openVolker Lendecke1-2/+2
2011-07-06s3: Remove a few uses of cli_errstrVolker Lendecke1-26/+27
2011-07-06s3: make cli_resolve_path return NTSTATUSVolker Lendecke1-36/+106
This looks larger than it is. No parameters needed changing.
2011-07-03s3: Make cli_cm_open return NTSTATUSVolker Lendecke1-24/+38
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 3 23:57:53 CEST 2011 on sn-devel-104
2011-07-03s3: Read symlink information in smbclient "allinfo"Volker Lendecke1-0/+17
2011-06-24s3: Fix an error message in smbclient symlinkVolker Lendecke1-1/+1
2011-06-24s3: Use reparse point style symlinksVolker Lendecke1-18/+18
2011-06-24s3: Remove a call to cli_errstrVolker Lendecke1-2/+4
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-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
2011-06-09s3-param Remove special case for lp_workgroup()Andrew Bartlett1-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
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-01Change sys_getcd() to take no arguments and always return malloc'ed memory ↵Jeremy Allison1-2/+3
(or NULL). Part of the efforts to remove PATH_MAX on modern systems.
2011-05-29s3: Use cli_connect_nb in do_message_opVolker Lendecke1-33/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 10:11:54 CEST 2011 on sn-devel-104
2011-05-18s3-client/clitar.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-9/+14
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-06s3-includes: finally only include client.h when libsmb is used.Günther Deschner1-0/+2
Guenther
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner3-0/+3
Guenther
2011-05-06More const fixes... getting near the end now.Jeremy Allison1-5/+5
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
2011-05-05More simple const fixups.Jeremy Allison1-1/+1
2011-05-04Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison1-2/+2
2011-05-04Tidy up some missing checks for NULL in strlcpy.Jeremy Allison1-1/+1
2011-05-04Convert safe_strXX to strlXXX. Clean up off-by-ones.Jeremy Allison1-31/+17
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 Bartlett2-6/+6
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2-17/+17
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2-10/+10
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2-10/+10
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-26s3: Use cli_writeall instead of cli_writeVolker Lendecke2-8/+17
Signed-off-by: Jeremy Allison <jra@samba.org>
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 Deschner3-0/+3
Guenther
2011-03-30s3-includes: only include system/passwd.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: Fix Coverity ID 83: RESOURCE_LEAKVolker Lendecke1-0/+3
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