summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
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
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: Eliminate sys_select from do_smb_resolve() -- untestedVolker Lendecke1-14/+3
2011-02-28s3: Eliminate sys_select from do_smb_browse() -- untestedVolker Lendecke1-14/+4
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-17s3: Avoid a few calls to cli_errstrVolker Lendecke1-6/+10
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 17 08:47:25 CET 2011 on sn-devel-104
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-12-20s3: Remove unused "retry" from cli_start_connectionVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Dec 20 17:58:33 CET 2010 on sn-devel-104
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 Bartlett3-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
2010-10-29Fix bug #7700 - Improvement of return code of smbclientJeremy Allison3-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
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