summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2008-12-13s3: libsmb/namequery: fallback to returning all dcs, when none is available ↵Stefan Metzmacher1-0/+9
in the requested site It could happen that all dcs in a site are unavailable (some sites have only one dc) and then we need to fallback to get all dcs. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c127367b1dd622eeceb1f47de0a047c297dda222)
2008-12-13For read&x replies, check the offsetVolker Lendecke1-0/+19
2008-12-08Fix bug #5953 - smbclient crashes: cli_list_new segmentation fault.Jeremy Allison1-1/+1
Jeremy.
2008-12-08Simplify async programming a bit with helper routinesVolker Lendecke4-21/+14
Introduce async_req_is_error() and async_req_simple_recv()
2008-12-08Add a "bytes_padding" parameter to smb_splice_chainVolker Lendecke1-12/+28
For example open&x and write&x needs the bytes to be aligned relative to the SMB header. In particular for write&x we should not have to move stuff around.
2008-12-08Factor out smb_splice_chain(), to be used by chain_reply() in smbdVolker Lendecke1-46/+98
2008-12-07Slightly simplify cli_session_setup_ntlmsspVolker Lendecke1-10/+2
Remove three pointless variables
2008-12-05Fix for crash bug freeing a non-malloc'ed buffer if the client sends a ↵Volker Lendecke1-0/+7
non-encrypted packet with the crypto state set.
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty5-13/+13
Also eliminates name conflicts with OneFS system libraries
2008-11-30remove the explicit mem_ctx from ntlmssp_state, use the state itselfVolker Lendecke1-46/+41
2008-11-30fix nonempty blank linesVolker Lendecke1-27/+27
2008-11-30Do not build the session request if it si not used anywayVolker Lendecke1-4/+4
2008-11-30fix nonempty blank linesVolker Lendecke1-19/+19
2008-11-28Move cli_trans_oob to lib/util.cVolker Lendecke1-17/+4
Rename it to trans_oob, it will be used in the server routines.
2008-11-18libsmb: Fix up pointer passed to cli_send_trans in cli_link_internalKai Blin1-1/+1
2008-11-10nterrors: add NT_STATUS_DS_BUSY.Günther Deschner1-0/+1
Guenther
2008-11-06s3-dsgetdcname: fix reply generation (forgot to map nt1 to nt5ex).Günther Deschner1-0/+2
Guenther
2008-11-01Make use of smb_bufrem()Volker Lendecke1-1/+1
2008-11-01ntlm_check.c: Sync some changes from Samba 4.Jelmer Vernooij1-16/+23
2008-11-01Use standardized types in ntlm_check.c.Jelmer Vernooij1-13/+13
2008-11-01Use shared doserr.c.Jelmer Vernooij1-196/+0
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-18/+12
2008-10-31errors: share dcerpc error function.Günther Deschner1-55/+0
Guenther
2008-10-24Error return is False, not -1Derrell Lipman1-3/+3
- There were a few places in SMBC_getatr() that returned -1 instead of a boolean. -1 was intended to mean error, but that's what False is for, and the usages of this function assume that it returns a boolean with False as the error condition. Derrell
2008-10-23Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij4-21/+21
otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
2008-10-23Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij1-1/+1
previously present in Samba 3.
2008-10-23Use common error definitions.Jelmer Vernooij2-3/+3
2008-10-23s3-build: fix another build warning with the new ASN1 code.Günther Deschner1-2/+5
Guenther
2008-10-23s3-build: fix some const build warnings.Günther Deschner1-2/+2
Guenther
2008-10-22s3-build: fix the build.Günther Deschner1-2/+2
Guenther
2008-10-22s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.Günther Deschner3-291/+354
Guenther
2008-10-22s3: use shared asn1 code.Günther Deschner5-643/+41
Guenther
2008-10-20s3-build: no need to duplicate generated ndr_ prototypes.Günther Deschner1-0/+1
Guenther
2008-10-19Add TALLOC_CTX pointer to generate_random_str(), for consistency withJelmer Vernooij1-3/+2
Samba 4.
2008-10-14Fixed "argument differ in signedness" warning on linuxTim Prouty1-2/+2
2008-10-14Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij3-31/+27
2008-10-13Import changes from upstream libndr.Jelmer Vernooij1-1/+1
2008-10-12Use common byteorder.h.Jelmer Vernooij1-1/+1
2008-10-12Fix "warning: initialization discards qualifiers from pointer target type"Volker Lendecke1-1/+1
2008-10-11Cope with changed signature of http_timestring().Jelmer Vernooij1-2/+2
2008-10-11Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4Jelmer Vernooij6-340/+68
2008-10-09Ensure we handle signals correctly during the async calls.Jeremy Allison1-2/+2
Jeremy.
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison1-1/+1
Jeremy.
2008-10-07Make map_errno_from_nt_status() a generic call, not just a cli specific one.Jeremy Allison1-138/+2
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy.
2008-10-05Fix some nonempty blank linesVolker Lendecke1-25/+25
2008-10-05Fix an uninitialized variable warningVolker Lendecke1-0/+2
Not sure if we can ever not get domain and dns_domain, but gcc complained
2008-10-02The IRIX compiler does not like embedded unnamed unionsVolker Lendecke2-12/+12
2008-10-02Attempt to fix the build on IRIXVolker Lendecke1-1/+1
Under irix, "sa_family" is a #define to sa_union.sa_generic.sa_family2
2008-09-25s3-nbt: further cleanup of dsgetdcname().Günther Deschner1-163/+25
Guenther
2008-09-24Fix build with arc4.Jelmer Vernooij2-20/+29